I simply am trying to update systems at remote sites with a new powerpoint program. The .pps simply needs to go in the startup folder and the old .pps needs to be deleted and then reboot the system.
I would like to do it with an autorun cd-rom.
Got the auto run down cold, just don't know where to start.
Willing to compensate for any help that achieves a reliable delivery method.
New and trying to learn
Moderators: Dorian (MJT support), JRL
Something like that should work.Let>Dest=C:\Documents and Settings\All Users\Start Menu\Programs\StartUp
Let>SourceFile=MyNew.pps
Let>DestFile=MyOld.pps
Let>CF_OVERWRITE=1
CopyFile>%SourceFile%,%Dest%\%DestFile%
If>OS_VER=WINDOWS, W9x
Label>WINNT
Let>COMSPEC=CMD
Goto>SwitchOffFileAttribute
Label>W9x
Let>COMSPEC=Command
Label>SwitchOffFileAttribute
Let>RP_WAIT=1
Run Program>%COMSPEC% attrib -r %Dest%\%DestFile%
ShutDownWindows>4
- Bob Hansen
- Automation Wizard
- Posts: 2475
- Joined: Tue Sep 24, 2002 3:47 am
- Location: Salem, New Hampshire, US
- Contact:
Lumumba has provided you a good starting point and an idea of how to structure the commands. Some things that come to mind for me right away are the following.
Note that the script that is provided keeps the name of the old file. If you want to update and use the new file name, then make the necessary modifications.
And the DEST for many Win9x systems should be changed to
C:\WINDOWS\Start Menu\Programs\StartUp. This could be defined in the OS blocks, WINNT, W9x, vs. at the top.
Since this is being done at remote sites, you will probably want to include verification checks and feedback to installer re failure or success.
You will also need this to be a compiled script, or include licensed version of Macro Scheduler to execute the file. Need to do adequate testing of script to cover multiple types of OS and file structure setups. I am aware of StartUp folders that have also been moved or had the folder attributes ReadOnly. There may also be some user security in a network/multi-user environment. Would suggest that you do this testing before compiling the script.
Curious about what you are using for Auto Run design tools.?
Note that the script that is provided keeps the name of the old file. If you want to update and use the new file name, then make the necessary modifications.
And the DEST for many Win9x systems should be changed to
C:\WINDOWS\Start Menu\Programs\StartUp. This could be defined in the OS blocks, WINNT, W9x, vs. at the top.
Since this is being done at remote sites, you will probably want to include verification checks and feedback to installer re failure or success.
You will also need this to be a compiled script, or include licensed version of Macro Scheduler to execute the file. Need to do adequate testing of script to cover multiple types of OS and file structure setups. I am aware of StartUp folders that have also been moved or had the folder attributes ReadOnly. There may also be some user security in a network/multi-user environment. Would suggest that you do this testing before compiling the script.
Curious about what you are using for Auto Run design tools.?
Hope this was helpful..................good luck,
Bob
A humble man and PROUD of it!
Bob
A humble man and PROUD of it!