The2ndOmen
MIS
I wrote a very simple program using sms installer. It basically checks for an excel file and deletes it. It then writes a new file to the users start up directory. Problem is it will not install the new file when I advertise the file to a collection but it will do it if they just manually run the exe. Doesn't really nake sense to me. It does delete the initial excel file though. Not really important as I only created this so I could start using it more. Any idea why this wouldn't work when advertised but does work when you manually run the same exe file that is advertised.
item: Get Environment Variable
Variable=SYS32
Environment=SYS32
end
item: Install File
Source=\\*****\******\Apps\SMSdp\prg32a.dll
Destination=%SYS32%\prg32a.dll
Description English=Installing Progress Bar
Flags=0000000000000010
end
item: Search for File
Variable=OPENORDERS
Pathname List=Open Orders.xls
Description English=Checking for Previous versions of Open Orders
end
item: Delete File
Pathname=%OPENORDERS%
end
item: Get Environment Variable
Variable=USERPROFILE
Environment=USERPROFILE
end
item: Delete File
Pathname=%USERPROFILE%\Start Menu\Programs\Startup\Open Orders.xls
end
item: Install File
Source=\\******\*******\Apps\SMSdp\Open Orders\Operations Master.xls
Destination=%USERPROFILE%\Start Menu\Programs\Startup\OPerations Master.xls
Description English=Damion is now Copying Operations Master to Startup.
Flags=0000000000000010
end
item: Delete File
Pathname=%SYS32%\prg32a.dll
end
item: Get Environment Variable
Variable=SYS32
Environment=SYS32
end
item: Install File
Source=\\*****\******\Apps\SMSdp\prg32a.dll
Destination=%SYS32%\prg32a.dll
Description English=Installing Progress Bar
Flags=0000000000000010
end
item: Search for File
Variable=OPENORDERS
Pathname List=Open Orders.xls
Description English=Checking for Previous versions of Open Orders
end
item: Delete File
Pathname=%OPENORDERS%
end
item: Get Environment Variable
Variable=USERPROFILE
Environment=USERPROFILE
end
item: Delete File
Pathname=%USERPROFILE%\Start Menu\Programs\Startup\Open Orders.xls
end
item: Install File
Source=\\******\*******\Apps\SMSdp\Open Orders\Operations Master.xls
Destination=%USERPROFILE%\Start Menu\Programs\Startup\OPerations Master.xls
Description English=Damion is now Copying Operations Master to Startup.
Flags=0000000000000010
end
item: Delete File
Pathname=%SYS32%\prg32a.dll
end