I just added this Property and it worked.... <Property Id="ROOTDRIVE"><![CDATA[E:\]]></Property> this changed the default rootdrive from C to E.
<Directory Id="TARGETDIR" Name="SourceDir"> <Directory Id="Online" Name="Online"> <Directory Id="Sites" Name="Sites"> <Directory Id="INSTALLLOCATION" Name="Local"> Thanks for helping me out. Cheers. Francis Kam wrote: > > I wouldn't recommend forcing the user to use a specific location > (especially > a certain drive), but if you must, you can set the ROOTDRIVE property ( > http://msdn.microsoft.com/en-us/library/aa371372(VS.85).aspx) to force the > default root drive to E. Obviously you don't need the ProgramFilesFolder > Directory element since you don't want to install there, instead just > create > another of your own: > > <Directory Id="TARGETDIR" Name="SourceDir"> > <Directory Id="Online" Name="Online"> > <Directory Id="Sites" Name="Sites"> > <Directory Id="INSTALLLOCATION" Name="Local"> > > -Francis > > > On Tue, Sep 16, 2008 at 8:26 AM, BOB1981 <[EMAIL PROTECTED]> > wrote: > >> >> Hi All, >> >> I want my Msi Installer to have default install location as >> E:\Online\Sites\Local How can i do that. i know it must be real easy... >> Currently my Product.wxs file is this. >> >> <Directory Id="TARGETDIR" Name="SourceDir"> >> <Directory Id="ProgramFilesFolder"> >> <Directory Id="INSTALLLOCATION" Name="Online"> >> <Directory Id="SITES" Name="Sites"> >> <Directory Id="InCenter" Name="Local"> >> >> I guess i need to make some changes at "ProgramfilesFolder" ID but i dont >> know how can i make it to point to a diffrent drive letter. >> Please i need this to change reall soon. >> Any help? >> >> -- >> View this message in context: >> http://n2.nabble.com/How-to-Change-Default-Install-Location-tp1092961p1092961.html >> Sent from the wix-users mailing list archive at Nabble.com. >> >> >> ------------------------------------------------------------------------- >> This SF.Net email is sponsored by the Moblin Your Move Developer's >> challenge >> Build the coolest Linux based applications with Moblin SDK & win great >> prizes >> Grand prize is a trip for two to an Open Source event anywhere in the >> world >> http://moblin-contest.org/redirect.php?banner_id=100&url=/ >> _______________________________________________ >> WiX-users mailing list >> WiX-users@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/wix-users >> > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's > challenge > Build the coolest Linux based applications with Moblin SDK & win great > prizes > Grand prize is a trip for two to an Open Source event anywhere in the > world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > > -- View this message in context: http://n2.nabble.com/How-to-Change-Default-Install-Location-tp1092961p1093388.html Sent from the wix-users mailing list archive at Nabble.com. ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users