Groups | Blog | Home
all groups > dotnet setup > april 2004 >

dotnet setup : CheckBox for Launch Condition


Qingdong Z.
4/26/2004 10:21:06 AM
I have a vs.net setup project with predefined IIS launch conditon. I added a checkbox dialog window, so user can choose the installation to do the IIS check or bypass IIS check

I modified the IIS Launch Condition to :
IISVERSION >= "#4" OR (Not CHECKBOXA1

But the installation process does not re-validate the value of checkbox after user changed it

How could I change Launch Condition according to the user selections during installation

Thank
Phil Wilson
4/26/2004 10:39:47 AM
With VS.NET, you can't. A LaunchCondition is really a Launch Condtion - it
gets checked so early in the setup that it's pointless checking a checkbox
that has not been created yet. You can give up your condition and have a
custom action that aborts the setup depending on that IIS condition.
What's the point of the choice if you're willing to let the install proceed
whether the IIS version is right or not? You might be better off putting
some text in the WelcomeText that shows your IISVERSION value.
--
Phil Wilson [MVP Windows Installer]
----
[quoted text, click to view]
a checkbox dialog window, so user can choose the installation to do the IIS
check or bypass IIS check.
[quoted text, click to view]

AddThis Social Bookmark Button