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 write the CustomAction for it. >> >> I already tried to do so but failed to figure out how to >> write a registry key from a custom action. > >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 > >Hope it wil help you. Ok, done that and it sort-of-works (or not). The problem right now is that the uninstall custom action is not called because 'the condition is false'. At least that's what the log file says. So my current workaround is to call the uninstall ca unconditionally and the install ca during install (this one _is_ called), un-doing the effect of the first ca. This will, of course, horribly break if the user is modifying the installation. Do you (or anybody else for that matter) where (i.e. in what sequence) and when (i.e. what sequence number or after which standard item) the uninstall ca should be called such that !Feature and &Feature contain 'proper' values? Regards (and of course thanks for the help) Andre' -- View this message in context: http://www.nabble.com/conditional-components-tf2635711.html#a7360841 Sent from the wix-users mailing list archive at Nabble.com. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users