I don't think you can do it without custom action. However, it should be
pretty simple:
   1. Use the standard RegistrySearch functionality to get the value you
need into a property
   2. [CA here] Modify the property the way you need (increment, for
instance)
   3. Use the standard RegistryKey/RegistryValue functionality to write
the modified value back

Hope this helps,

-- Yan


-----Original Message-----
From: Sam Strasser [mailto:sam.stras...@microsoft.com] 
Sent: Wednesday, February 17, 2010 20:29
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] increment the value of a reg key

Hello WiXers,

As part of both install and uninstall of my msi, I need to increment a
registry value.  I'm hoping that I won't need to write a custom action,
or that such a custom action already exists in the WiX code.

Is there any way for me to increment a reg key just with WiX?

Thanks
Sam
------------------------------------------------------------------------
------
SOLARIS 10 is the OS for Data Centers - provides features such as
DTrace,
Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW
http://p.sf.net/sfu/solaris-dev2dev
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs 
proactively, and fine-tune applications for parallel performance. 
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to