Blair, thank you so much for this.

I was about to go down the dark road of invoking a custom action to harvest
this info from the registry and parse the directory from a component's path.
I did not know about ComponentSearch, it is exactly what I needed. My major
upgrades are now working just as the patches and repairs do.

Thanks for the simple solution, if you are in the Seattle area, or ever
visiting, I owe you a beer (or the beverage of your choice)!

-Aaron

On Mon, May 9, 2011 at 9:11 PM, Blair <os...@live.com> wrote:

> Look at ComponentSearch.
>
> Blair
>
> -----Original Message-----
> From: Aaron DeMarre [mailto:adema...@gmail.com]
> Sent: Friday, May 06, 2011 1:38 PM
> To: wix-users@lists.sourceforge.net
> Subject: [WiX-users] Property Behavior in Repair vs. Upgrade
>
> I am wondering if there is a way to get my major upgrade to behave like
> repair - where properties are restored.
>
> I have three properties that determine the install location of various
> components. I was short sighted and only saved the INSTALLOCATION property
> to the registry. Now when doing a major upgrade the reinstall uses the
> default paths instead of the paths selected in the previous version of the
> product. No shocking news there.
>
> However a repair of the original install will use the paths the user
> originally selected. I am wondering where this data is stored, and if it
> can
> be accessed and used by a major upgrade? I was under the assumption this
> data was not persisted, but now I am wondering how this is persisted for a
> repair operation?
>
> Thanks for any insight with this, I have painted myself into a corner
> pretty
> good this time!
>
> -Aaron
>
> ----------------------------------------------------------------------------
> --
> WhatsUp Gold - Download Free Network Management Software
> The most intuitive, comprehensive, and cost-effective network
> management toolset available today.  Delivers lowest initial
> acquisition cost and overall TCO of any competing solution.
> http://p.sf.net/sfu/whatsupgold-sd
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
>
>
> ------------------------------------------------------------------------------
> Achieve unprecedented app performance and reliability
> What every C/C++ and Fortran developer should know.
> Learn how Intel has extended the reach of its next-generation tools
> to help boost performance applications - inlcuding clusters.
> http://p.sf.net/sfu/intel-dev2devmay
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
------------------------------------------------------------------------------
Achieve unprecedented app performance and reliability
What every C/C++ and Fortran developer should know.
Learn how Intel has extended the reach of its next-generation tools
to help boost performance applications - inlcuding clusters.
http://p.sf.net/sfu/intel-dev2devmay
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to