A type 51 doesn't require any code in a Dll or anything. It would be a
type 51 with Source of ARPINSTALLLOCATION and the Target is (say)
[TARGETDIR].  (I hate that it's that way around and not the reverse.)
There are some sequencing restrictions (before CostFinalize) and it
would be after TARGETDIR is set, and I'd condition it on Not Installed. 

Phil Wilson 


-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Alexander
Gnauck
Sent: Friday, September 22, 2006 2:33 AM
To: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] properties form previous versions

Wilson, Phil wrote:
> The standard way to persist that ("the main application directory") is

> to use a type 51 custom action and set the ARPINSTALLLOCATION 
> property, then it will get persisted in the MSI way (meaning that 
> MsiGetProductInfo with INSTALLPROPERTY_INSTALLLOCATION and other 
> standard APIs can get it).

thank you Phil, this is what i was looking for.
Is there a way to do this with "standard" Wix commands, or only with a
custom action and a native dll.

Alex


------------------------------------------------------------------------
-
Take Surveys. Earn Cash. Influence the Future of IT Join
SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDE
V
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users



-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to