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

2011-12-08 Thread Chad Petersen
http://msdn.microsoft.com/en-us/library/windows/desktop/aa370556(v=vs.85 ).aspx Would probably look about like this. You don't have to use CDATA blocks, but my example used the > symbol so I just went with it. -Original Message- From: Michael Tiss

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