You shouldn't ever need to change the UpgradeCode as long as it's all the
same product. Windows Installer needs the UpgradeCode to stay the same so
that it can detect older versions of itself during an upgrade, should you
ever set it up to do one. For example, the Upgrade element needs that same
code in its Id attribute. 

You are correct to change the ProductCode (and version) for each major
update. You should not change all of your component Ids for each update. See
Rob Mensching's blog for info about components:

http://robmensching.com/blog/posts/2003/10/4/Windows-Installer-Components-Introduction
http://robmensching.com/blog/posts/2003/10/4/Windows-Installer-Components-Introduction
 

Anyway, the component GUID identifies that component. Changing it would mean
that you're referring to a different component. So, if the file is the same,
or even if it's just a newer version of itself that would be backward
compatible with other parts of the system, you shouldn't change it. 

More info:  http://msdn.microsoft.com/en-us/library/aa367849
http://msdn.microsoft.com/en-us/library/aa367849 

I'm not sure what you mean when you refer to DirectoryRefs and GUIDs. Are
you putting one file per component? Or more than one per component? How have
you got your directories being installed? Which version of WiX are you
using?



-----
Learn WiX with the book: 
https://www.packtpub.com/wix-a-developers-guide-to-windows-installer-xml/book
WiX: A Developer's Guide to Windows Installer XML 
-- 
View this message in context: 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/General-Information-Question-about-New-Releases-and-GUIDs-tp5686308p5686397.html
Sent from the wix-users mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to