> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:wix-users-
> [EMAIL PROTECTED] On Behalf Of Carl Daniel
> Sent: Tuesday, February 12, 2008 6:13 PM
> To: wix-users@lists.sourceforge.net
> Subject: [WiX-users] Setting Uninstall/.../InstallLocation in registry
> 
> I'm sure this has been asked before, but as there doesn't seem to be a
> workable search mechanism for the archives (that I could find!), I'll
> ask at the risk of being redundant...
> 
> I have a WIX project, originally created by running dark.exe against
an
> MSI produced by a VS deployment project.  One of the many things I'm
> trying to accomplish in the conversion to WIX is to address several
> points that were raised during Vista logo compliance testing.
> 
> One of those compliance issues is that the MSI created by the
> deployment
> projects fails to set the InstallLocation value in the
> HKLM/Software/Microsoft/Windows/CurrentVersion/Uninstall/{productID}
> registry key.  Unsurprisingly, the MSI generated from the dark-created
> WIX file also fails to set that value.
> 
> So what's the recommended way of getting this key set?  This is
> something that I would have expected to be completely automatic, but
> apparently my expectations are out of whack with reality.
> 
> All pointers appreciated!
> 

Here's what we did to solve this problem:

        <CustomAction
            Id="SAVETARGETDIR"
            Property="ARPINSTALLLOCATION"
            Value="[TARGETDIR]" />

and then sequence it after InstallValidate



-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to