Unfortunatelly this does not work if you select the advance buttom and change 
the default installation directory to a custom directory because the CA will 
reset it to the default installation directory
 

Since all that SetDirectory is it's a CA type 51, I have implemented that 
instead, so i can condition it to not run if the user pass a custom directory 
in both sequence tables, like:
 
<Custom Action="SetAPPLICATIONFOLDER" After="CostInitialize" 
><![CDATA[APPLICATIONFOLDER=""]]></Custom>
 

 
> Date: Sat, 10 Jul 2010 11:05:28 -0400
> From: b...@joyofsetup.com
> To: wix-users@lists.sourceforge.net
> Subject: Re: [WiX-users] 64 bit app installing in Program Files (x86) folder
> 
> On 7/7/2010 10:58 AM, Gernot Kerger wrote:
> > <SetDirectory Id="APPLICATIONFOLDER" Value="[ProgramFiles64Folder]" />
> > 
> 
> Set it to your preferred directory under ProgramFiles64Folder. WixUI 
> won't overwrite it if it's already set.
> 
> -- 
> sig://boB
> http://joyofsetup.com/
> 
> 
> ------------------------------------------------------------------------------
> This SF.net email is sponsored by Sprint
> What will you do first with EVO, the first 4G phone?
> Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
                                          
------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to