This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- Properties populated in OnFirstUIBefore are not available OnInstallFilesActionAfter
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Jun 02, 2014
02:14 PM
Properties populated in OnFirstUIBefore are not available OnInstallFilesActionAfter
I have an installscript where I am populating values of IS_SQLSERVER_SERVER, IS_SQLSERVER_DATABASE from the SQL dialog SQLServerSelectLogin2.
When I read the properties right afterwards, they reflect the values I entered in the SQL dialog.
However, when I try to read them at a different stage, like MoveData\OnInstallFilesActionAfter, or AfterMoveData\OnFirstUIAfter, the properties are blank.
What do I need to do to retain them throughout the installation?
Thanks!
When I read the properties right afterwards, they reflect the values I entered in the SQL dialog.
However, when I try to read them at a different stage, like MoveData\OnInstallFilesActionAfter, or AfterMoveData\OnFirstUIAfter, the properties are blank.
What do I need to do to retain them throughout the installation?
Thanks!
(1) Reply
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Jun 04, 2014
10:15 AM
I have run into a similar issue myself. The solution we're using is to create a global STRING variable to save the information so that it is available during the "AfterMoveData" sections. This is for InstallScript Only, but it may work for both 'InstallScript Only' and 'InstallScript MSI'. I don't know what project type you are using.
HTH
HTH
![](/skins/images/CC38E504FC9E1309DC48ACFEB4925670/responsive_peak/images/icon_anonymous_message.png)