Re: [WiX-users] Set a registry value to a conditional value

2010-02-02 Thread Rob Mensching
The Windows Installer does not let you conditionally install Resources (files, registry keys, shortcuts, etc). Instead, you must add a Condition to the Component itself. See the Component/Condition element. On Tue, Feb 2, 2010 at 8:07 AM, David Battey wrote: > I want to set a registry value to a

Re: [WiX-users] Set a registry value to a conditional value

2010-02-02 Thread David Battey
Please disregard; I found a way to do what I need to do. - David David Battey 02/02/2010 11:09 AM Please respond to "General discussion for Windows Installer XML toolset." To wix-users@lists.sourceforge.net cc Subject [WiX-users] Set a registry value to a conditional value

[WiX-users] Set a registry value to a conditional value

2010-02-02 Thread David Battey
I want to set a registry value to a DWORD of 1, unless a optional parameter of BAR=1 is specified when the installer runs. I've tried variations on what's listed below, but can't get it to work (the listing below doesn't work because I'm trying to use an expression in the SetProperty element).