psulek
05-13-2008, 02:27 AM
I have global static property named CurrentOS defined in Project->Settings->Properties.
Now i have custom action->run lua script and the script body is:
CurrentOS = System.GetOSName();
Dialog.Message("Lua script", CurrentOS);
When i run builded setup, it shows me dialog correct os name, thats good, but.
When i try to use global static property CurrentOS in dialog text label as
Current OS: [CurrentOS], this property does not contains any value.
Timing setting of run lua script is:
- InstallUISequence
- Before WelcomeDlg
Simple question, how do update global property within lua script?
Now i have custom action->run lua script and the script body is:
CurrentOS = System.GetOSName();
Dialog.Message("Lua script", CurrentOS);
When i run builded setup, it shows me dialog correct os name, thats good, but.
When i try to use global static property CurrentOS in dialog text label as
Current OS: [CurrentOS], this property does not contains any value.
Timing setting of run lua script is:
- InstallUISequence
- Before WelcomeDlg
Simple question, how do update global property within lua script?