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

Comments

Please log in to comment

Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.

Answers

0
Easiest way is probably to use a Wisescript in Wise Packaging studios. If you install is an msi you can insert your wisescript in a custom action, if its an exe, you can repackage it in Wise and add your script in with the install.
Answered 03/14/2005 by: Bladerun
Green Belt

Please log in to comment
0
I don't have Wise Packaging Studios. All I have is Visual Studio .NET and Orca.
Answered 03/14/2005 by: Galen
Senior Yellow Belt

Please log in to comment
0
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
Answered 03/15/2005 by: nmi
Orange Belt

Please log in to comment
Answer this question or Comment on this question for clarity