What you describe about the control becoming visible when you hover the
mouse over it may indicate that you have an overlap of controls. I.e.,
there may be another control whose position and size conflicts with the
check box's position and size.
 
One way of seeing these problems is to look at the dialog box with a
graphic editor, like in sharpDevelop.
 
You might find some tips in my (unfinished) beginners tutorial for WiX:
http://www.merlinia.com/mdt/WiXTutorial.msl
 
Rennie
 


________________________________

        From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Abubakar
        Sent: 15. maj 2007 09:08
        To: wix-users@lists.sourceforge.net
        Subject: [WiX-users] want to add a check box ...
        
        
        Hi,
        I'm creating an installer in wix. The basic *.wxs file I created
by decompiling (using dark) from the msi setup I made in visual studio
2k5's setup and deployment project. So now I use only wix. Now I want to
add this feature on the last screen when installation is done that there
should be a checkbox that if clicked should run the installed
application after the close button is pressed on the last screem
(FinishedForm). I've done the launching part by adding: 
        <CustomAction Id="Launch" Return="asyncNoWait"
FileKey="_BAC91B52626C4FC89B3665F29A8D644E" ExeCommand="" />
        
        and the following line inside the CloseButton
        <Publish Event="DoAction" Value="Launch"><![CDATA[NOT
Installed]]></Publish> 
        
        But now I want to add a checkbox to the last screen that if
checked should allow the Launch to happen. Now to do that, I again made
a new setup using vs and added a screeen with checkboxes, compiled it
using vs and decompiled using dark to see what the code is than copied
the checkbox code to my FinishedForm in my wix project: 
        
               <Control Id="Checkbox1" Type="CheckBox" X="18" Y="110"
Width="348" Height="12" Property="CHECKBOXA1">
                 <Text><![CDATA[{\VSI_MS_Shell_Dlg13.0_0_0}Lanuch
app]]></Text> 
                 <Property Id="CHECKBOXA1"><![CDATA[0]]></Property>
               </Control>
        
        and added a:
        <CustomAction Id="CustomCheckA_SetProperty_CHECKBOX1"
Return="check" Execute="firstSequence" Property="CHECKBOXA1" Value="" />

        
        But what it does is very strange. I run the installer, when the
installation is finished on the last screen i see no checkbox but when I
move mouse around the finished form the check box suddenly appears with
the text I wrote. But it doest not get checked (and even if it can get
checked/unchecked how can I use it to control the launch of application?
I believe something to do with *conditions*?). How can I properly use
this feature and fix it? 
        
        Regards,
        
        ..ab
        

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to