Conditionally displaying a dialog
How do you conditionally display a dialog during installation? I added a dialog with the User Interface editor in Visual Studio .NET. However, I only want to display the dialog if something is something is not installed and there is no "condition" property for dialogs. Any ideas?
0 Comments
[ + ] Show comments
Answers (3)
Please log in to answer
Posted by:
Bladerun
19 years ago
Posted by:
Galen
19 years ago
Posted by:
nmi
19 years ago
ORIGINAL: Galen
I don't have Wise Packaging Studios. All I have is Visual Studio .NET and Orca.
This may be a possible solution to your problem, I've found it works for me anyway.
Using Orca, open the CustomAction table.
Add a row with the following:
Action Type Text
anyname 19 <Text you want to display>
Note the source field is not used.
In the InstallExecuteSequence add a new row with the following:
Action Condition Sequence
anyname NOT Installed 201
In this example it will produce a dialogue if the product is not installed. Remember to keep anyname the same in the InstallExecuteSequence as in the CustomAction table. You can replace "NOT Installed" with whatever condition you need.
The 201 sequence just ensures that it is checked first.
Hope this helps
nmi
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
so that the conversation will remain readable.