Hi,
I would like to display a checkbox at the end of installation
ask user whether he want to associate file extension (e.g. SQL file) to my
application. I modified my WIX scripts
and add the following lines. It won’t
take effect unless I pass in SQL_EXTENSION ="TRUE" with silent
install. Can someone tell me what is
wrong with my scripts? I also want to know how can I change the background
color of the checkbox. Currently the
background color of my main window is white but the checkbox background color
is gray. It doesn’t look good when I add
a checkbox at the final page.
<Component Id='ExtensionComponent'
Guid='05E6BDFD-82B0-4B75-937A-AC157DEB6887' KeyPath="yes">
<Condition>( SQL_EXTENSION ="TRUE")</Condition>
<ProgId Id='MyApplication' Description='MyApplication
extension file'>
<Extension Id='sql' ContentType='application/sql'>
<Verb Id='open' Command='Open' TargetProperty='EXE_PATH' Argument='"%1"' />
</Extension>
</ProgId>
<UI>
<UIRef Id="WixUI_Minimal"
/>
<Publish Dialog="ExitDialog"
Control="Finish" Event="DoAction"
Value="SetSQLExtension">WIXUI_EXITDIALOGOPTIONALCHECKBOX
= 1 and NOT Installed</Publish>
</UI>
<CustomAction
Id="SetSQLExtension" Property="SQL_EXTENSION"
Value="TRUE" />
Any help is much appreciated.
Jeff
Need a Holiday? Win a $10,000 Holiday of your choice. Enter
now.http://us.lrd.yahoo.com/_ylc=X3oDMTJxN2x2ZmNpBF9zAzIwMjM2MTY2MTMEdG1fZG1lY2gDVGV4dCBMaW5rBHRtX2xuawNVMTEwMzk3NwR0bV9uZXQDWWFob28hBHRtX3BvcwN0YWdsaW5lBHRtX3BwdHkDYXVueg--/SIG=14600t3ni/**http%3A//au.rd.yahoo.com/mail/tagline/creativeholidays/*http%3A//au.docs.yahoo.com/homepageset/%3Fp1=other%26p2=au%26p3=mailtagline
------------------------------------------------------------------------------
OpenSolaris 2009.06 is a cutting edge operating system for enterprises
looking to deploy the next generation of Solaris that includes the latest
innovations from Sun and the OpenSource community. Download a copy and
enjoy capabilities such as Networking, Storage and Virtualization.
Go to: http://p.sf.net/sfu/opensolaris-get
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users