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/library/default.asp?url=/library/en-us/msi/setup/registry_table.asp

>> 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.

Stefan
-- 
Stefan Pavlik | [EMAIL PROTECTED]
Whitestein Technologies | www.whitestein.com
Panenska 28 | SK-81103 Bratislava | Slovak Republic
Tel +421(2)5930-0735 | Fax +421(2)5443-5512

-------------------------------------------------------------------------
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

Reply via email to