Haicon
Haicon

Reputation: 1

Wix toolset: continue installation after reboot system

I need to develop an installer that would copy files to the system that are already used by the system and can only be replaced after a reboot. Therefore, I first save the files to a temporary folder. I am performing a registry cheat and asking you to reboot the system. And when a reboot occurs, files must be moved from the temporary folder. How to continue installation after system reboot?

I couldn't find a way to implement it the Wix documentation.

Upvotes: 0

Views: 88

Answers (1)

Rob Mensching
Rob Mensching

Reputation: 36006

Stop. You're trying too hard. Just install the files normally. If they are in use, the Windows Installer will do all the work to schedule their replacement during the restart. Trying to do it yourself is more fragile and way more complex.

Upvotes: 0

Related Questions