From: Jonathan P. <jp...@se...> - 2005-05-10 10:58:58
|
Rob Mensching wrote: > i) I always recommend looking at the Office2003 UI flow. Office is a > complicated piece of software but I think the setup experience is very > smooth because of the way they use both checkmarks for simple stuff and the > feature tree for complicated stuff. I highly suggest checking it out. Background-> I would like to add something similar to my installer. The product I am installing can optionally handle a lot of file extensions. I have put the registry values for each extension into a feature. I want to offer the user check boxes to enable support for each extension (we have found that if we put support for file extensions in the standard feature tree, some users select everything and then complain that we have stolen all their extensions). The interesting* bit-> I think I have worked out how to use checkboxes to enable or disable features in my UI but I can't work out how to set the default values of the checkboxes when the user re-runs the installer and selects modify. I add a checkbox like this-> <Control Id="ext1" Type="CheckBox" X="20" Y="65" Width="158" Height="17" Property='INSTALLASSOCIATIONEXT1' CheckBoxValue='1' Text="Support file ext 1" /> Then on the dialog I have a next button like this-> <Control Id="Next" Type="PushButton" X="236" Y="243" Width="56" Height="17" Default="yes" Text="Next"> <Publish Event="AddLocal" Value="FileAssociationExt1"> INSTALLASSOCIATIONEXT1= 1</Publish> <Publish Event="Remove" Value="FileAssociationGIF">Not INSTALLASSOCIATIONEXT1</Publish> </Control> I think this is similar to how the Office 2003 installer works (the bit where the user decides what main apps to install) but somehow, when I re-run the Office installer, the "INSTWRD" property is set iff I opted to install Word. How does that work? I can't work it out from the verbose log. Thanks, Jonathan * maybe |