Is this an absolute requirement? By which I mean that if you require this 
behavior then you will be disabling browse choices and forcing TARGETDIR to be 
what you want. 

It depends what C: is intended to be. If it means you want to install it to the 
same drive as Windows then you don't use the ProgramFilesFolder property. 
Instead you use the WindowsVolume property as the basis for the install 
location. If you are forcing the install location then you'd need a custom 
action that sets TARGETDIR to [WindowsVolume]XYZ.  

Phil Wilson 


-----Original Message-----
From: Anu Dev [mailto:queryl...@yahoo.com] 
Sent: Tuesday, November 03, 2009 10:07 AM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] How to change the installation to point to C:\

Sorry for not being clear..
 
I would like to have the installation in my custom folder "XYZ" rather than in 
ProgramFiles folder ie., something like C:\XYZ.
 
I have tried using this
 
 <Directory Id='TARGETDIR' Name='SourceDir'>
<Directory Id='WinVol' Name='WinVol' LongName='WindowsVolume'>

but the installer aborts in between :(.
     
 
Any help would be very appreciated.. Its very urgent :(....

Regards
Anweshi

________________________________
From: "Wilson, Phil" <phil.wil...@wonderware.com>
To: General discussion for Windows Installer XML toolset. 
<wix-users@lists.sourceforge.net>
Sent: Mon, November 2, 2009 10:56:18 PM
Subject: Re: [WiX-users] How to change the installation to point to C:\

What's special about the C: drive? Maybe you need the ROOTDRIVE or 
WindowsVolume property. 

Phil Wilson 

-----Original Message-----
From: Anu Dev [mailto:queryl...@yahoo.com] 
Sent: Monday, November 02, 2009 6:49 AM
To: WIX
Subject: [WiX-users] How to change the installation to point to C:\

Hi
 
How to change the installation to point to C drive, rather than to programfiles 
or any other directory
 
<Directory Id="TARGETDIR" Name="SourceDir">
<Directory Id="ProgramFilesFolder">
 
Is there any easy way to do it.
 
Regards
Anweshi


      
------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
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 Portland House, Bressenden Place, London, 
SW1E 5BF (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 7821 3848 or e-mail
 inet.hqhelpd...@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).



------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users



      
------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
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 Portland House, Bressenden Place, London, 
SW1E 5BF (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 7821 3848 or e-mail 
inet.hqhelpd...@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).



------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to