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]http://inside.here.travp.net/OperationsSystems/iwcm/IT/Portf
olios/Architecture/Components/index.aspx>,

Enterprise Components and Frameworks

Office: 020-6641-6142

Email: [3]akark...@travelers.com<[4]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]http://p.sf.net/sfu/ExoPlatform

_______________________________________________

WiX-users mailing list

[6]WiX-users@lists.sourceforge.net

[7]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. http://www.instedit.com/
2. 
http://inside.here.travp.net/OperationsSystems/iwcm/IT/Portfolios/Architecture/Components/index.aspx
3. mailto:akark...@travelers.com
4. mailto:akark...@travelers.com
5. http://p.sf.net/sfu/ExoPlatform
6. mailto:WiX-users@lists.sourceforge.net
7. 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

Reply via email to