Włodzimierz O. Kubera
Włodzimierz O. Kubera

Reputation: 183

A few deployments, but max one reboot, would it work?

Hi!

Could someone answer a question, please? I have a scenario:

  1. DirectSetup (DX)
  2. VC 2015 Runtime
  3. My product via Windows Installer (WIX)

Theoretically each element could need a reboot. Is it possible to defer the reboot after point 3.? For example VC 2015 Redistributable may return result that it need the restart, but I want only one reboot. I do know know if point 3. will fail after point 2.

Thank you very much

Upvotes: 0

Views: 46

Answers (1)

jbudreau
jbudreau

Reputation: 1307

MSI gives you the ability to pass the property REBOOT on the command-line - https://msdn.microsoft.com/en-us/library/aa371101(v=vs.85).aspx

You could pass REBOOT=ReallySuppress to your first two installers, and then let the third reboot if necessary.

Upvotes: 1

Related Questions