Checkboxes User Interface to control custom action

Giganews Newsgroups
Subject: Checkboxes User Interface to control custom action
Posted by:  Alan Moseley (AlanMosel…@discussions.microsoft.com)
Date: Tue, 18 Nov 2008

Hope someone can help, I'm stuck.

I have a deployment project for my application.  I have added a Checkboxes
(A) to my User Interface and set CheckBox1Property to RUNPOSTINSTALL,
CheckBox1Value to Checked, and changed it's label.  I have set
CheckBox2Visible, CheckBox3Visible and CheckBox4Visible to False.

I have also added a Custom Action to the Commit phase.  This runs a
vbscript.  I only want this script to run if the user has ticked the
RUNPOSTINSTALL checkbox.  I have therefore set the condition associated with
this action to RUNPOSTINSTALL=Checked.

Whatever the user chooses the vbscript runs.  What am I doing wrong?  Thanks
in advance.

--
Alan Moseley IT Consultancy
http://www.amitc.co.uk

If I have solved your problem, please click Yes below.  Thanks.

Replies