Setting ARPINSTALLLOCATION allows retrieval of the location using 
MsiGetProductInfo(...INSTALLPROPERTY_INSTALLLOCATION...) so I guess the "other 
than storing registry keys" requirement would be met, but storing/retrieving 
the install location from the registry is trivial anyway with built-in MSI 
functionality. Sanjay doesn't say why the registry method is ruled out. 

Alternatively, if you know of a component that is in that primary install 
folder, then do a component search for it via AppSearch to set the path. 

Phil Wilson 


-----Original Message-----
From: Neil Sleightholm [mailto:n...@x2systems.com] 
Sent: Wednesday, February 02, 2011 12:25 PM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] install location not preserved while upgradation

I believe the registry is the only way:
http://robmensching.com/blog/posts/2010/5/2/The-WiX-toolsets-Remember-Pr
operty-pattern

You could set the ARPINSTALLLOCATION
http://robmensching.com/blog/posts/2011/1/14/ARPINSTALLLOCATION-and-how-
to-set-it-with-the-WiX-toolset but I don't know how you would recall
that.

Neil

-----Original Message-----
From: Sanjay Rao [mailto:s...@noida.interrasystems.com] 
Sent: 02 February 2011 19:01
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] install location not preserved while upgradation

Hi,

Every time when I upgrade my software, install location dialog shows the
default install location, It does not picks the previously installed
location automatically. Is there any way to do this other than
storing/searching registry keys. Pointer to a article is also welcome.

Thanks in advance.

Regards,
Sanjay Rao

------------------------------------------------------------------------
------
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better
price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires February
28th, so secure your free ArcSight Logger TODAY! 
http://p.sf.net/sfu/arcsight-sfd2d
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

------------------------------------------------------------------------------
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires 
February 28th, so secure your free ArcSight Logger TODAY! 
http://p.sf.net/sfu/arcsight-sfd2d
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


*** Confidentiality Notice: This e-mail, including any associated or attached 
files, is intended solely for the individual or entity to which it is 
addressed. This e-mail is confidential and may well also be legally privileged. 
If you have received it in error, you are on notice of its status. Please 
notify the sender immediately by reply e-mail and then delete this message from 
your system. Please do not copy it or use it for any purposes, or disclose its 
contents to any other person. This email comes from a division of the Invensys 
Group, owned by Invensys plc, which is a company registered in England and 
Wales with its registered office at 3rd Floor, 40 Grosvenor Place, London, SW1X 
7AW (Registered number 166023). For a list of European legal entities within 
the Invensys Group, please go to 
http://www.invensys.com/legal/default.asp?top_nav_id=77&nav_id=80&prev_id=77.

You may contact Invensys plc on +44 (0)20 3155 1200 or e-mail 
recept...@invensys.com. This e-mail and any attachments thereto may be subject 
to the terms of any agreements between Invensys (and/or its subsidiaries and 
affiliates) and the recipient (and/or its subsidiaries and affiliates).



------------------------------------------------------------------------------
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires 
February 28th, so secure your free ArcSight Logger TODAY! 
http://p.sf.net/sfu/arcsight-sfd2d
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to