cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
epotter
Level 5

Passing information to OnReboot

In my InstallScript project, I've got a global variable that gets used through out the script. My problem is that this value is not persisted when I get to OnReboot. What is the best way to store state information until the machine has rebooted?
Labels (1)
0 Kudos
(1) Reply
RobertDickau
Flexera Alumni

I haven't tried it, but perhaps see the help topic "Reboot Object"; you can apparently set Reboot.CommandLine to a switch passed to the installer after the reboot, so populate a custom switch there with your value?
0 Kudos