Variables and reboot

May 3, 2016 at 5:21 PM

I wrote a bootstrapper with Burn + your component. It installs :
  • Visual C++
  • .NET 4.6.1
  • SQL Server 2012 Express
    then my 2 MSIs files.
With your component, I ask 4 variables :
  • a maintenance password
  • a language
  • 2 installation folders
As I do not want to have problem with the .NET Framework, I force the reboot after its installation.
It seems that the 4 variables are reset after the reboot, and I have the default values.

How could these variables persist ?

Best regards,
Loïc Delambre
May 3, 2016 at 6:02 PM
You could add a dummy install before the other installs that persists the values to the registry and then read those values when the bootstrapper starts.
May 4, 2016 at 8:30 AM

Thank you for your answer, I will do an MSI with ARPSYSTEMCOMPONENT set to 1 in order to not have it in add/remove program.

Loïc Delambre