If it were me, I'd put the registry key with the main exe for the product and
increment the build number of the exe's version resource in each build. That
way the registry key and the file key path would be rewritten during an
update.

This is assuming you can't read the version number from the msi using
msigetproductinfo() for some reason.

-----Original Message-----
From: Michael Tissington [mailto:michael_tissing...@ciqual.com] 
Sent: 22 September 2011 14:46
To: 'General discussion for Windows Installer XML toolset.'
Subject: [WiX-users] Update Registry with Patch

In my Wix file I have a component with a file as the key path and then
various registry keys, one write the version number.

When I create a patch, the file may not have changed but I still need to
update the version number in the registry.

How can I do this - I know if my install package is correct, then this
should happen. So I'm guessing that I need to redesign how the component is
organized.

Basically I have a number of exe files and each are in their own component.

Since the version number is for the entire project, do I need to put the
version number registry key in its own component?
If not, how do I do this?

Thanks.




-----------------------------------------------------------------------------
-
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2dcopy1
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users
SDL PLC confidential, all rights reserved.
If you are not the intended recipient of this mail SDL requests and requires 
that you delete it without acting upon or copying any of its contents, and we 
further request that you advise us.
SDL PLC is a public limited company registered in England and Wales.  
Registered number: 02675207.
Registered address: Globe House, Clivemont Road, Maidenhead, Berkshire SL6 7DY, 
UK.


------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2dcopy1
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to