In On Startup I place the following variables
local sReBootPath = SessionVar.Expand("%SourceFolder%")
local sReBootName = SessionVar.Expand("%SourceFilename%")
msPath = String.Concat("srebootpath", "sReBootName");
What I want to get is the full path the setup.exe that is being ran. For example: c:\Program Files\Downloads\setup.exe.
Then in the installation sections of the dependency modules, just before needsreboot (see below) I thought I would tell the system to rerun the exe after it reboots.
Will this work?
File.RunOnReboot(msPath)
_NeedsReboot = true;
local sReBootPath = SessionVar.Expand("%SourceFolder%")
local sReBootName = SessionVar.Expand("%SourceFilename%")
msPath = String.Concat("srebootpath", "sReBootName");
What I want to get is the full path the setup.exe that is being ran. For example: c:\Program Files\Downloads\setup.exe.
Then in the installation sections of the dependency modules, just before needsreboot (see below) I thought I would tell the system to rerun the exe after it reboots.
Will this work?
File.RunOnReboot(msPath)
_NeedsReboot = true;
Comment