Iqbal wrote: > I would like to set the environment variable using a checkbox. The > checkbox should be checked by default, meaning environment variable > should be set unless the user unchecks it. > > <Component Id="MyENV" Guid="{45669CAC-166D-4569-900A-6EF775EDC8F5}"> > <Environment Id="MYHOME" Name="MY_HOME" Action="set" Part="all" > Value="[INSTALLDIR]" System="yes" Permanent="no" /> > <Condition>EnvironmentSetCheck</Condition> > </Component> >
To pass properties from the UI to the execute sequence, you need to make it a public property (i.e., all uppercase). -- sig://boB http://bobs.org ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users