Hongping Lim wrote:
My installer needs to increment the integer value of an existing
registry key on the system, but it also needs to restore the value
back upon uninstall. Is there any way to achieve this?
Use a RegistrySearch to query the existing value, write it to another
registry key, and a second RegistrySearch to query it when you're
uninstalling. You'll need a custom action to do the increment, however;
MSI doesn't have math operators.
--
sig://boB
http://joyofsetup.com/
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users