PDA

View Full Version : Adding scripting login into Basic MSI project



prash.suresh
04-19-2006, 06:01 AM
Guys,

I am creating a basic MSI project and I am stuck with the following questions. Can anyone help me with this?

1. I want to perform some logic even before my screens come up. Something like OnBegin / Init function sorts. Is it available?

2. Can I interrelate variables between my scripts and those objects(checkbox, radio-buttons etc) in the dialogs?

I have been able to create all the dialogs and suppress a few dialogs based on the options selected in the previous ones. Now I want to insert few lines of code before I pop up another dialog. Million dollar question: Is there a concept of scripting in 'Basic MSI project'?

Please let me know

Thanks
Prashanth

TsungH
04-19-2006, 10:53 PM
Yes, you can use Custom Action. And you will want to use public properties, all CAPS, e.g., MYPROP, to communicate between dialogs and custom action.

TsungH
04-19-2006, 10:55 PM
Just read a more detailed response here (http://community.installshield.com/showthread.php?t=158411).

prash.suresh
04-20-2006, 06:30 AM
Thanks a lot TsungH...

I will start working on this from tomorrow. Please help me if I run into any problems. I will keep them posted.

Thanks
Prashanth