Sorry, the email was accidently sent out when I tried to post the link.

Okay, I searched and found this solution:
http://www.dizzymonkeydesign..com/blog/misc/adding-and-customizing-dlgs-in-wix-3/
In this post, the author proposed to put the checkbox on the bottom the page to 
make it align with other buttons. Then the background color of the checkbox 
will be the same as the background color. But our manager doesn't like it, he 
said "it's not obvious, I still like to put it the middle of the page..". 
Anyways, i modified it a little bit and have this code:
<Control Id="LaunchCheckBox" Type="CheckBox" X="134" Y="126" Width="10" 
Height="10" Property="LAUNCHAPPONEXIT" CheckBoxValue="1" Text=" " >
<Condition Action="show">NOT Installed</Condition>
</Control>
<Control Id="LaunchText" Type="Text" X="149" Y="126" Width="170" Height="17" 
Text="Launch $(var.ProductNameForDisplay)" Transparent="yes" >
<Condition Action="show">NOT Installed</Condition>
</Control>

I thought this checkbox will show up when we do a fresh installation or a 
upgrade but not show up during Repair or Remove. But the problem is, the 
checkbox always shows up - no matter if it's a fresh install, a repair or a 
remove operation.  
Is there a way that I can do this? - 
Show it if it's a fresh install or Repair; Do not show it if it's a Remove.
Thanks in advance.
/Brian


________________________________
From: little.forest <little.for...@ymail.com>
To: wix-users@lists.sourceforge.net
Sent: Friday, May 8, 2009 1:24:36 PM
Subject: [WiX-users] WiX 3.0: Install/Repair/Remove operations and 
"Installed"/"NOT Installed" properties

We're using WiX version 3.0.4805.0.

We have a question:
Which property can we use to identify the Install, Repair or Remove operations?

I tried "Installed" and "NOT Installed". I thought "NOT Installed" means "fresh 
installation" operation; "Installed" means either "Repair" or "Remove" 
operation, am I right?

The reason we ask is because we are trying to implement an option checkbox on 
the final page of the installation. That option checkbox will allow the end 
user to choose to launch the application after the installation or not. There 
is a standard way to do it in WiX 3.0 document. I actually did it according to 
document. But our QA team logged me a bug and said, "there is weird grey color 
background around the checkbox". So I searched and found this solution:


      __________________________________________________________________
Looking for the perfect gift? Give the gift of Flickr! 

http://www.flickr.com/gift/
------------------------------------------------------------------------------
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image 
processing features enabled. http://p.sf.net/sfu/kodak-com
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users



      __________________________________________________________________
Looking for the perfect gift? Give the gift of Flickr! 

http://www.flickr.com/gift/
------------------------------------------------------------------------------
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image 
processing features enabled. http://p.sf.net/sfu/kodak-com
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to