Hi,
I have a custom dialog box that contains checkboxes to allow the user to 
select what shortcuts they want installing.  I then have a component for 
each shortcut with a condition inside it.

<DirectoryRef Id="DesktopFolder">
<Component Id="MyApp.DesktopShortcut.Component" Guid="{removed}">
<Condition>INSTALLDESKTOPSHORTCUT</Condition>
<Shortcut Id="MyApp.DesktopShortcut"
                   Name="MyApp"
                   Description="My app."
                   Target="[APPLICATIONFOLDER]myapp.exe"
                   WorkingDirectory="APPLICATIONFOLDER" />
<RegistryValue Root="HKCU" Key="Software\MyApp\MyApp" 
Name="desktopshortcut" Type="integer" Value="1" KeyPath="yes" />
</Component>
</DirectoryRef>

The problem is if I run the setup again and change these conditions (via 
the checkboxes) the component installation status does not change.  Is 
their a way I can make this work or will I have to have them as 
"features" instead?

Thanks,
Mark.


------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to