cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
coolcasey11
Flexera beginner

Example Setup Script

Hello there I am using the install shield 2019 premier. I am very new to using install shield and I am trying to make an installer that has some customized dialogs that take in text and save it. I created a InstallScriptMSI Project. However, when I go to the Setup.Rul file there is nothing in it. However when I run the project there are several dialogs that come up and I have no idea where they are coded at.  Im just trying to find a reference for a setup script example so that I can learn how to code it. Could anyone please help me or point me to a setup script example for a dialog. 

Labels (1)
Tags (1)
0 Kudos
2 Replies
helgesonc
Flexera beginner

Re: Example Setup Script

Hello,

In the InstallScript window, You should be able to choose "Before Move Data" from the left dropdown (which says "Initialization" by default) and then "OnFirstUIBefore" from the right dropdown.  It will populate your Setup.rul with the code for that sequence.

HTH

0 Kudos
Flexera banna_k
Flexera

Re: Example Setup Script

Hi @coolcasey11,

 

See the below links for how to create and process the custom dialog in Installscript and InstallScript MSI projects:

https://helpnet.flexerasoftware.com/installshield25helplib/helplibrary/Dialogs_CreateStandardDlgEd.h...

https://helpnet.flexerasoftware.com/installshield25helplib/helplibrary/Dialogs_ImplementStandard.htm...

https://helpnet.flexerasoftware.com/installshield25helplib/helplibrary/Dialogs_AddInstallScript.htm

 As well you can get the install scripts for the existing dialogs from the drop down by selecting the Dialog Source, and Before Move Data for calling sequences.

0 Kudos