Hi all,

Got a quick question here. Trying to rewrite an Installshield 2012 installation package, and I've hit a dead end.

Here's the situation: At the end of the dialogs, the wizard will show a summary of all the options the customer has chosen, and I have a bunch of text strings that should or shouldn't show up, depending on the options that were chosen.

A few of those strings should only be shown if a specific folder (being the INSTALLDIR) is present on the customer'S computer.

How would I go about creating the control's condition for that ?

0 Comments   [ - ] Hide Comments


Please log in to comment

Answer this question or Comment on this question for clarity


This can be achieved as follows:

Create a System Search that looks for the folder, configure this to store the value in a property. 
Do not define the property in the property table as your condition on the control is decided by whether the property gets set at runtime or not.
In the dialog view -> set the Visible property to false.
In the dialog view -> behaviour -> conditions -> Add a Show action and set the condition to be the name of the property from earlier.

If the folder exists the control is displayed otherwise is hidden.

Answered 03/25/2015 by: deliveryboy
Orange Senior Belt

Please log in to comment
I've never done it but perhaps you could use the 'Installed State' of the component containing the creation of the INSTALLDIR component. See here for details.
Answered 03/03/2015 by: VBScab
Red Belt

  • I've tried that and for some reason it didn't work.
    Oh well, since it took forever for my IT Ninja account to be approved, I found another way. Not the most orthodox way of doing so, but I basically cloned my main summary dialog twice, edited the text strings and everything, and in the previous dialog, created some NewDialog events to send the user to a specific summary dialog, depending on what component was chosen.
    Again, not the most orthodox way, but it works hehe
Please log in to comment