cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
epotter
Level 5

Maintenance and BATCH_INSTALL

I have a InstallScript project. There are some utilities that need to run after the machine is rebooted. I handle this by putting them in the Disk1 folder, setting BATCH_INSTALL to TRUE, and launching the utilities form OnRebooted. This works great for first time installs.

But If the user is installing the feature that needs the utilities from Maintenance mode, when the machine is rebooted, it cannot find the utilities.

Does anyone know why they are not there in Maintenance mode?
Labels (1)
0 Kudos

(2) Replies
epotter
Level 5

Additional Details:

The problem only happens when I build the project as a single large executable. If the project is a build for CDs, there is no problem finding the files after reboot.
0 Kudos
KathyMorey
Level 10

I suspect it has to do with the fact that an executable extracts the files to a temp directory. How are you formatting the path to the files?
0 Kudos