Virtualizing Applications that Require a Reboot During Install
Many applications require at least one reboot during their installation. So, how does one successfully virtualize one of these hell-bent-on-rebooting apps? Brian Mann shares some pointers.
If you're trying to install an application into a virtual layer but your application insists on doing an automatic reboot during the installation process, you're in luck.
Unfortunately SVS doesn't handle this very gracefully yet (stay tuned), but here's what you can do to install these apps today.
- Start your capture as you would any other.
- When prompted, go ahead and reboot. The setup will not continue since the entries that would cause this are in the layer.
- Once the system is back up, re-enter capture mode (SVSAdmin, file, update, ...).
- The easiest way to make sure that all of the correct information is captured by the layer when re-entering capture mode is to re-enter it in a global capture. The only downside is that you may have to do some clean up on the layer to remove unrelated elements that have been captured.
- The other option is to open the layer editor and find out the command that it was going to run, the common places for these entries are:
HKLM\Software\Microsoft\Windows\CurrentVersion\Run HKLM\Software\Microsoft\Windows\CurrentVersion\RunOnce HKCU\Software\Microsoft\Windows\CurrentVersion\Run %SystemDrive%\Documents and Settings\USERPROFILE\Start Menu\Programs\Startup %SystemDrive%\Documents and Settings\ALL USERS\Start Menu\Programs\Startup
Then copy the command, remove it from this location in the layer, and run that command upon re-entering capture mode using a batch or cmd file.