In addition to that you might want to read up on the ROOTDRIVE property as it appears it is somewhat involved in the symptoms you are describing.
http://msdn.microsoft.com/en-us/library/aa371372(VS.85).aspx Also, don't forget about the well-known properties that identify various Windows folders. You get these for free. [WindowsFolder] [SystemFolder] [System64Folder] [ProgramFilesFolder] [ProgramFiles64Folder] [CommonFilesFolder] [CommonFiles64Folder] [FontsFolder] Etc. There are a lot of predefined folders you can refer to in your WiX code like these. -----Original Message----- From: Pally Sandher [mailto:pally.sand...@iesve.com] Sent: Monday, January 07, 2013 9:17 AM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Changing DirectoryRef The tutorial explains how to use WiXUI_InstallDir -> http://wix.tramontana.co.hu/tutorial/user-interface/ui-wizardry Do you have an INSTALLDIR under your TARGETDIR or are you simply setting WiXUI_INSTALLDIR to TARGETDIR? Palbinder Sandher Software Platform Engineer T: +44 (0) 141 945 8500 F: +44 (0) 141 945 8501 http://www.iesve.com **Design, Simulate + Innovate with the <Virtual Environment>** Integrated Environmental Solutions Limited. Registered in Scotland No. SC151456 Registered Office - Helix Building, West Of Scotland Science Park, Glasgow G20 0SP Email Disclaimer -----Original Message----- From: Chaitanya [mailto:chaita...@pointcross.com] Sent: 07 January 2013 06:39 To: WiX-users@lists.sourceforge.net Subject: [WiX-users] Changing DirectoryRef Hi, I installing msi in my System.iam 2 drives. 1).When iam installing an msi.iam changing drive through WixUI_InstallDir. I can change the location where I want. But my msi is checking which drive is having more free space and it is installing there. I overcome that problem by using the command line Msiexec TARGETDIR="{DRIVENAME} /I {MYAPPLICATION.MSI} I can install my msi where I want. 2).here my problem is I want to install some of my files in c:\inetpub,c:\program files,c:\windows. When I give command line it is going to that drive and creating program files folder in that drive.Its not installing in c:drive How to change my DirectoryRef.to c:\drive Regards, Chaitanya. ------------------------------------------------------------------------------ Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. SALE $99.99 this month only -- learn more at: http://p.sf.net/sfu/learnmore_122412 _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------------ Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. SALE $99.99 this month only -- learn more at: http://p.sf.net/sfu/learnmore_122412 _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------------ Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. SALE $99.99 this month only -- learn more at: http://p.sf.net/sfu/learnmore_122412 _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users