Hi, The scenario is that the installation path has to be decided dynamically. Our application is deployed under IIS. There are two virtual directories deployed under the website. There is a dialog that allows user to select a website under which the application is deployed. So, Home Directory of this website decides the installation directory. I am setting the INSTALLDIR property to this home directory of the website on the button click event of the website selection dialog.
The problem is that I have created 2 websites in my IIS. One is the default website and other one I have created whose home directory is "C:\" (say custom website). The installation goes fine when the application is installed under this custom website. But in case of default website one of the virtual directory is installed under "C:\inetpub\wwroot" and the other one is deployed under "C:\". Following is sample code that I have used to create directory structure. <DirectoryRef Id="TARGETDIR"> <Directory Id="INSTALLDIR" Name="." > <Directory Id='Dir1' Name='Dir1' LongName='VirtualDir1' ></Directory> <Directory Id='Dir2' Name='Dir2' LongName='VirtualDir2'></Directory> </Directory> </DirectoryRef> My guess is that the TARGETDIR is having the value "C:\" and thats why one of the directory is getting deployed under "C:\". But what about the other directory that is getting installed under "C:\inetpub\wwwroot" Any pointers? Thanks in Advance, Sneha -- View this message in context: http://www.nabble.com/Changing-INSTALLDIR-tp16248479p16248479.html Sent from the wix-users mailing list archive at Nabble.com. ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users