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\CurrentVersion\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<http://inside.here.travp.net/OperationsSystems/iwcm/IT/Portfolios/Architecture/Components/index.aspx>, Enterprise Components and Frameworks Office: 020-6641-6142 Email: akark...@travelers.com<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 http://p.sf.net/sfu/ExoPlatform _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users