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
- :
- Re: Hide LaunchProgram
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
‎Aug 05, 2008
03:49 AM
Hide LaunchProgram
I have set the File to execute on the SetupCompleteSuccess Dialog to launch a file that resides in an optional feature. How do I hide the launch text and tick box from the user when this file's component hasn't been deployed to the user's system?
I am using InstallShield 2009 Basic MSI, and the file is a key file of the component.
I am using InstallShield 2009 Basic MSI, and the file is a key file of the component.
(4) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Aug 05, 2008
07:52 AM
Please see the MSI help topic "Conditional Statement Syntax", which describes conditions that tell you if a feature or component has been installed, removed, and so on.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Aug 06, 2008
04:33 AM
I thought that the Launch app would automatically hide itself if the key file that it is meant to run isn't installed onto the user's machine.
Anyways, I have done the following:
The CA works, but the Launch program stuff is still hidden. I have also done the inverse of this as well but came to the same sort of result.
One thing extra that I may need to do is set another property called LAUNCHPROGRAM (1=launch, 0=Dont launch)
Any suggestions will be greatly appreciated 🙂
here's a snippet from the install log:
Anyways, I have done the following:
- set the SHOWLAUNCHPROGRAM property = 0 (-1 apparently shows the launch program stuff)
- Set Property CA: SHOWLAUNCHPROGRAM = -1, Exec Seq, condition: &Feature=3, After CostFinalize
The CA works, but the Launch program stuff is still hidden. I have also done the inverse of this as well but came to the same sort of result.
One thing extra that I may need to do is set another property called LAUNCHPROGRAM (1=launch, 0=Dont launch)
Any suggestions will be greatly appreciated 🙂
here's a snippet from the install log:
Action ended 10:07:41: CostFinalize. Return value 1.
MSI (s) (34:90) [10:07:41:649]: Doing action: SwitchOnSHOWLAUNCHPROGRAM
Action 10:07:41: SwitchOnSHOWLAUNCHPROGRAM.
Action start 10:07:41: SwitchOnSHOWLAUNCHPROGRAM.
MSI (s) (34:90) [10:07:41:649]: PROPERTY CHANGE: Modifying SHOWLAUNCHPROGRAM property. Its current value is '0'. Its new value: '-1'.
Action ended 10:07:41: SwitchOnSHOWLAUNCHPROGRAM. Return value 1.
MSI (s) (34:90) [10:07:41:649]: Doing action: SwitchOnSHOWLAUNCHPROGRAM
Action 10:07:41: SwitchOnSHOWLAUNCHPROGRAM.
Action start 10:07:41: SwitchOnSHOWLAUNCHPROGRAM.
MSI (s) (34:90) [10:07:41:649]: PROPERTY CHANGE: Modifying SHOWLAUNCHPROGRAM property. Its current value is '0'. Its new value: '-1'.
Action ended 10:07:41: SwitchOnSHOWLAUNCHPROGRAM. Return value 1.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Aug 06, 2008
10:08 AM
It's a little unclear to me whether you are describing a custom action which you can't condition just right, or the dialog controls (text, button, etc.) don't hide/show when you want. If the latter, please look into the ControlCondition table (available in the IDE as the Conditions tab in the lower right of the dialog's behavior node).
If the former, my only comment is that one often uses defined/undefined instead of 1 and 0 for condition properties. When using the former, both 1 and 0 are evaluated as defined, which is generally considered to be true.
If the former, my only comment is that one often uses defined/undefined instead of 1 and 0 for condition properties. When using the former, both 1 and 0 are evaluated as defined, which is generally considered to be true.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Aug 06, 2008
10:52 AM
The CA run the way that it should but the dialog ignored the change in the SHOWLAUNCHPROGRAM property.
I shall just completely change the condition for the label and check box to be feature related
I shall just completely change the condition for the label and check box to be feature related