Dave asked, "When I'm doing an installation into an app layer, at the end of the install sequence (.msi, .exe or whatever) I'm prompted to reboot as part of the installation process. What is the best practice on how to handle the reboot?"
Good question Dave. That's one we hear a lot. And the answer is usually simple.
As a rule, you should cancel any request for reboot during the capture process. Let the capture end. The layer will come up active, but we don't execute startup events then. Deactivate it and then re-activate it and SVS will run the startup events (service spin-up/register, run and runonce commands, delete after reboot entries, etc.). This is usually all that's required.
It gets more complex when the setup is designed to resume after reboot. When that's the case, before re-activating the layer you need to delete the runonce key that starts the setup back up; otherwise when you re-activate...