Re: [WiX-users] Conditional Components based on OS ?

2011-12-08 Thread Chad Petersen
Michael Tissington [mailto:michael_tissing...@ciqual.com] Sent: Thursday, December 08, 2011 7:04 AM To: 'General discussion for Windows Installer XML toolset.' Subject: [WiX-users] Conditional Components based on OS ? I have four components XP, XP64, Vista32+ and Vista64+ How can I cre

[WiX-users] Conditional Components based on OS ?

2011-12-08 Thread Michael Tissington
I have four components XP, XP64, Vista32+ and Vista64+ How can I create conditions for these components? -- Cloud Services Checklist: Pricing and Packaging Optimization This white paper is intended to serve as a referenc

Re: [WiX-users] conditional components

2006-11-15 Thread André Pönitz
Stefan Pavlik wrote: > I would prefer to use C++ Custom Action DLL. You should use the > RegSetValueEx() function to write the values to registry. > http://msdn2.microsoft.com/en-us/library/ms724923.aspx Just for the record: I just found out why the uninstall CA was not called: The feature on wh

Re: [WiX-users] conditional components

2006-11-15 Thread André Pönitz
Stefan Pavlik wrote: > The Registry Table of Windows installer does not support such > action. see MSDN: > http://msdn.microsoft.com/library/default.asp?url=/library/en-us/msi/setup/registry_table.asp Too bad... >>> If you need during uninstallation to write something to registry you >>> should

Re: [WiX-users] conditional components

2006-11-15 Thread Stefan Pavlik
Hi again... André Pönitz wrote: >> But I know that you cannot write to the registry during >> uninstallation using standard action WriteRegistryValues. > > Urm, that's bad. Do you know why? The Registry Table of Windows installer does not support such action. see MSDN: http://msdn.microsoft.com/

Re: [WiX-users] conditional components

2006-11-15 Thread André Pönitz
> Hi André, Hi Stefan. > I realy don't know what is wrong. > > Maybe you should try to use the to avoid > conflicts with XML. Well, you did know what was wrong after all. CDATA helps indeed, &Netlm is no valid XML... > But I know that you cannot write to the registry during > uninstallation us

Re: [WiX-users] conditional components

2006-11-15 Thread Stefan Pavlik
Hi André, I realy don't know what is wrong. Maybe you should try to use the to avoid conflicts with XML. But I know that you cannot write to the registry during uninstallation using standard action WriteRegistryValues. If you need during uninstallation to write something to registry you shoul

[WiX-users] conditional components

2006-11-15 Thread André Pönitz
Hi all. I want to write a certain registry key during an installation and the same key with a different value during uninstall. So I thought I could have something like (&Netlm = 3) AND NOT (!Netlm = 3) (&Netlm = 2) AND (!Netlm = 3) under the main ('Ne