I looked into HKUSERS and HKCU as well and Upgrade code GUID is nowhere. Upgrade code is the only common link between multiple versions of a product if Product code is "*" but I can't find Upgrade code in registry anywhere. Can anyone tell me how while upgrade installer finds out existing related product?
Aparna Karkare L&T Infotech OAI-sys, Enterprise Components and Frameworks Office: 020-6641-6142 Email: akark...@travelers.com -----Original Message----- From: Karkare,Aparna [mailto:akark...@travelers.com] Sent: Friday, April 25, 2014 1:44 AM To: General discussion about the WiX toolset. Subject: Re: [WiX-users] Queries on Upgrade Ohh. That is logical. But please tell me in this case when there is an upgrade (which I believe is done based on Upgrade code), installer will look into HKUSERS for Upgrade code (Existing product) and not in HKLM? Aparna Karkare L&T Infotech OAI-sys, Enterprise Components and Frameworks Office: 020-6641-6142 Email: akark...@travelers.com -----Original Message----- From: Gabriel Ivanes [mailto:g...@fastmail.net] Sent: Thursday, April 24, 2014 10:57 AM To: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] Queries on Upgrade That's why you didn't find it in HKLM. It's published in HKUSERS\{SID from user which installed the product}. Le Jeu 24 Avril 2014, à 14:44, Karkare,Aparna a écrit : Hi Gabriel, 1. InstallScope="perUser" 2 and 3 are resolved. I implemented <Upgrade> and <MajorUpgrade> both with AllowSameVersionUpgrades ="yes". Can you please explain about 1st point? Thanks for your reply. Aparna Karkare L&T Infotech OAI-sys, Enterprise Components and Frameworks Office: 020-6641-6142 Email: [1]akark...@travelers.com -----Original Message----- From: Gabriel Ivanes [[2]mailto:g...@fastmail.net] Sent: Thursday, April 24, 2014 8:00 AM To: [3]wix-users@lists.sourceforge.net Subject: Re: [WiX-users] Queries on Upgrade Good day, 1. What's your installation context ? User or Machine ? 2. Your condition seem ok if UPGRADINGPRODUCTCODE is the right property. 3. What's your need ? Check your msi with [1]InstEd. It's always instructive. Le Jeu 24 Avril 2014, à 12:37, Karkare,Aparna a écrit : Hello, I am stuck with Upgrade (remove any previous version) issues with WiX. I am framing my questions below which I feel might help me if answered. Thank you for your replies in advance. 1. Product Id = "*" and there is a GUID in Upgrade Code. Still whenever I install my product, there is no entry for Upgrade Code is found in Registry (HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall OR HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersio n\Uninstall) rather a new Product Id (a new random GUID) is found as a new registry key. I have read many blogs and people say that they find a new registry key corresponding to Upgrade Code in their registry not Product code. If this is the case then how 'Upgrade' is supposed to work? 2. I have many custom actions. I want a set of custom actions only when product is installed for the first time so I have given condition as ((NOT Installed) AND (NOT UPGRADINGPRODUCTCODE)) however when I run next version msi on top of some existing version, these custom actions still get executed. I did verbose logging and saw that 'Related Products' are found and yet 'NOT Installed' property condition doesn't seem to work. 3. Can we have <MajorUpgrade> and <Upgrade> in same file while scheduling <RemoveExistingProducts> explicitly? I am getting compiler error if I do so. I know that <MajorUpgrade> schedules 'RemoveExistingProducts' by default so if I don't schedule 'RemoveExistingProducts' explicitly then will the <Upgrade> work? Any idea anyone? Need help desperately. Aparna Karkare L&T Infotech OAI-sys<[2][4]http://inside.here.travp.net/OperationsSystems/iwcm/IT/Po rtf olios/Architecture/Components/index.aspx>, Enterprise Components and Frameworks Office: 020-6641-6142 Email: [3][5]akark...@travelers.com<[4][6]mailto:akark...@travelers.com> ________________________________ This communication, including attachments, is confidential, may be subject to legal privileges, and is intended for the sole use of the addressee. Any use, duplication, disclosure or dissemination of this communication, other than by the addressee, is prohibited. If you have received this communication in error, please notify the sender immediately and delete or destroy this communication and all copies. TRVDiscDefault::1201 ----------------------------------------------------------------------- ------- Start Your Social Network Today - Download eXo Platform Build your Enterprise Intranet with eXo Platform Software Java Based Open Source Intranet - Social, Extensible, Cloud Ready Get Started Now And Turn Your Intranet Into A Collaboration Platform [5][7]http://p.sf.net/sfu/ExoPlatform _______________________________________________ WiX-users mailing list [6][8]WiX-users@lists.sourceforge.net [7][9]https://lists.sourceforge.net/lists/listinfo/wix-users -- Sincerely, Gabriel "I know no way of judging the future but by the past." Patrick Henry "You can never plan the future by the past." Edmund Burke References 1. [10]http://www.instedit.com/ 2. [11]http://inside.here.travp.net/OperationsSystems/iwcm/IT/Portfolios/A rchitecture/Components/index.aspx 3. [12]mailto:akark...@travelers.com 4. [13]mailto:akark...@travelers.com 5. [14]http://p.sf.net/sfu/ExoPlatform 6. [15]mailto:WiX-users@lists.sourceforge.net 7. [16]https://lists.sourceforge.net/lists/listinfo/wix-users ----------------------------------------------------------------------- ------- Start Your Social Network Today - Download eXo Platform Build your Enterprise Intranet with eXo Platform Software Java Based Open Source Intranet - Social, Extensible, Cloud Ready Get Started Now And Turn Your Intranet Into A Collaboration Platform [17]http://p.sf.net/sfu/ExoPlatform _______________________________________________ WiX-users mailing list [18]WiX-users@lists.sourceforge.net [19]https://lists.sourceforge.net/lists/listinfo/wix-users ----------------------------------------------------------------------- ------- Start Your Social Network Today - Download eXo Platform Build your Enterprise Intranet with eXo Platform Software Java Based Open Source Intranet - Social, Extensible, Cloud Ready Get Started Now And Turn Your Intranet Into A Collaboration Platform [20]http://p.sf.net/sfu/ExoPlatform _______________________________________________ WiX-users mailing list [21]WiX-users@lists.sourceforge.net [22]https://lists.sourceforge.net/lists/listinfo/wix-users -- Sincerely, Gabriel "I know no way of judging the future but by the past." Patrick Henry "You can never plan the future by the past." Edmund Burke References 1. mailto:akark...@travelers.com 2. mailto:g...@fastmail.net 3. mailto:wix-users@lists.sourceforge.net 4. http://inside.here.travp.net/OperationsSystems/iwcm/IT/Portf 5. mailto:akark...@travelers.com 6. mailto:akark...@travelers.com 7. http://p.sf.net/sfu/ExoPlatform 8. mailto:WiX-users@lists.sourceforge.net 9. https://lists.sourceforge.net/lists/listinfo/wix-users 10. http://www.instedit.com/ 11. http://inside.here.travp.net/OperationsSystems/iwcm/IT/Portfolios/Architecture/Components/index.aspx 12. mailto:akark...@travelers.com 13. mailto:akark...@travelers.com 14. http://p.sf.net/sfu/ExoPlatform 15. mailto:WiX-users@lists.sourceforge.net 16. https://lists.sourceforge.net/lists/listinfo/wix-users 17. http://p.sf.net/sfu/ExoPlatform 18. mailto:WiX-users@lists.sourceforge.net 19. https://lists.sourceforge.net/lists/listinfo/wix-users 20. http://p.sf.net/sfu/ExoPlatform 21. mailto:WiX-users@lists.sourceforge.net 22. https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------------ Start Your Social Network Today - Download eXo Platform Build your Enterprise Intranet with eXo Platform Software Java Based Open Source Intranet - Social, Extensible, Cloud Ready Get Started Now And Turn Your Intranet Into A Collaboration Platform http://p.sf.net/sfu/ExoPlatform _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------------ Start Your Social Network Today - Download eXo Platform Build your Enterprise Intranet with eXo Platform Software Java Based Open Source Intranet - Social, Extensible, Cloud Ready Get Started Now And Turn Your Intranet Into A Collaboration Platform http://p.sf.net/sfu/ExoPlatform _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------------ Start Your Social Network Today - Download eXo Platform Build your Enterprise Intranet with eXo Platform Software Java Based Open Source Intranet - Social, Extensible, Cloud Ready Get Started Now And Turn Your Intranet Into A Collaboration Platform http://p.sf.net/sfu/ExoPlatform _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users