i wish to read a var value in [RUN] section, kets say this is my code -
[Setup]
[Files]
Source: "MyProg.exe"; DestDir: "{app}"; Flags: ignoreversion
[Run]
Filename: "{app}\MyProg.exe"; Description: ""; parameters:"/setid=SessionIDValue"
[code]
var
SessionIDValue: String;
procedure InitializeWizard();
begin
SessionIDValue:= 'test';
end;
Is it possible to pass SessionIDValue
value to parameters:"/setid=SessionIDValue"
10X FOR THE HELP
You can write a scripted
{code:...}
constant getter function to bridge the[Code]
section with scripting sections, e.g.: