I had the same problem. I solved it by modifying the standard dialog this way:
<UI Id="ASEWixUI_InstallDir"> <UIRef Id="WixUI_InstallDir" /> <UIRef Id="WixUI_ErrorProgressText" /> <!-- This is the standard InstallDirDlg with some controls added just to manage the NEWLOC1 and NEWLOC2 dirs --> <Dialog Id="ASEInstallDirDlg" Width="370" Height="270" Title="!(loc.InstallDirDlg_Title)"> <Control Id="Next" Type="PushButton" X="236" Y="243" Width="56" Height="17" Default="yes" Text="!(loc.WixUINext)" /> <Control Id="Back" Type="PushButton" X="180" Y="243" Width="56" Height="17" Text="!(loc.WixUIBack)" /> <Control Id="Cancel" Type="PushButton" X="304" Y="243" Width="56" Height="17" Cancel="yes" Text="!(loc.WixUICancel)"> <Publish Event="SpawnDialog" Value="CancelDlg">1</Publish> </Control> <Control Id="Description" Type="Text" X="25" Y="23" Width="280" Height="15" Transparent="yes" NoPrefix="yes" Text="!(loc.InstallDirDlgDescription)" /> <Control Id="Title" Type="Text" X="15" Y="6" Width="200" Height="15" Transparent="yes" NoPrefix="yes" Text="!(loc.InstallDirDlgTitle)" /> <Control Id="BannerBitmap" Type="Bitmap" X="0" Y="0" Width="370" Height="44" TabSkip="no" Text="!(loc.InstallDirDlgBannerBitmap)" /> <Control Id="BannerLine" Type="Line" X="0" Y="44" Width="370" Height="0" /> <Control Id="BottomLine" Type="Line" X="0" Y="234" Width="370" Height="0" /> <Control Id="FolderLabel" Type="Text" X="20" Y="60" Width="290" Height="18" NoPrefix="yes" Text="!(loc.InstallDirDlgFolderLabel)" /> <Control Id="Folder" Type="PathEdit" X="20" Y="80" Width="272" Height="18" Property="WIXUI_INSTALLDIR" Indirect="yes" /> <Control Id="ChangeFolder" Type="PushButton" X="304" Y="80" Width="56" Height="17" Text="!(loc.InstallDirDlgChange)" /> <Control Id="ARPFolderLabel" Type="Text" X="20" Y="100" Width="290" Height="18" NoPrefix="yes" Text="Enter first path" /> <Control Id="ARPFolder" Type="PathEdit" X="20" Y="120" Width="272" Height="18" Property="WIXUI_NEWLOC1" Indirect="yes" /> <Control Id="ARPChangeFolder" Type="PushButton" X="304" Y="120" Width="56" Height="17" Text="!(loc.InstallDirDlgChange)" /> <Control Id="ADCFolderLabel" Type="Text" X="20" Y="140" Width="290" Height="18" NoPrefix="yes" Text="Enter second path" /> <Control Id="ADCFolder" Type="PathEdit" X="20" Y="160" Width="272" Height="18" Property="WIXUI_NEWLOC2" Indirect="yes" /> <Control Id="ADCChangeFolder" Type="PushButton" X="304" Y="160" Width="56" Height="17" Text="!(loc.InstallDirDlgChange)" /> </Dialog> <Publish Dialog="ASEInstallDirDlg" Control="Back" Event="NewDialog" Value="LicenseAgreementDlg">1</Publish> <Publish Dialog="ASEInstallDirDlg" Control="Next" Event="SetTargetPath" Value="[WIXUI_INSTALLDIR]" Order="1">1</Publish> <Publish Dialog="ASEInstallDirDlg" Control="Next" Event="SetTargetPath" Value="[WIXUI_NEWLOC1]" Order="1">1</Publish> <Publish Dialog="ASEInstallDirDlg" Control="Next" Event="SetTargetPath" Value="[WIXUI_NEWLOC2]" Order="1">1</Publish> <Publish Dialog="ASEInstallDirDlg" Control="Next" Event="NewDialog" Value="VerifyReadyDlg" Order="4">1</Publish> <Publish Dialog="ASEInstallDirDlg" Control="ChangeFolder" Property="_BrowseProperty" Value="[WIXUI_INSTALLDIR]" Order="1">1</Publish> <Publish Dialog="ASEInstallDirDlg" Control="ChangeFolder" Event="SpawnDialog" Value="BrowseDlg" Order="2">1</Publish> <Publish Dialog="ASEInstallDirDlg" Control="ARPChangeFolder" Property="_BrowseProperty" Value="[WIXUI_NEWLOC1]" Order="1">1</Publish> <Publish Dialog="ASEInstallDirDlg" Control="ARPChangeFolder" Event="SpawnDialog" Value="BrowseDlg" Order="3">1</Publish> <Publish Dialog="ASEInstallDirDlg" Control="ADCChangeFolder" Property="_BrowseProperty" Value="[WIXUI_NEWLOC2]" Order="1">1</Publish> <Publish Dialog="ASEInstallDirDlg" Control="ADCChangeFolder" Event="SpawnDialog" Value="BrowseDlg" Order="2">1</Publish> <Publish Dialog="LicenseAgreementDlg" Control="Next" Event="NewDialog" Value="ASEInstallDirDlg" Order="2">LicenseAccepted = "1"</Publish> <Publish Dialog="VerifyReadyDlg" Control="Back" Event="NewDialog" Value="ASEInstallDirDlg" Order="2">NOT Installed</Publish> </UI> <Property Id="WIXUI_INSTALLDIR" Value="APPLICATIONROOTDIRECTORY" /> <Property Id="WIXUI_NEWLOC1" Value="NEWLOC1" /> <Property Id="WIXUI_NEWLOC2" Value="NEWLOC2" /> Hope this can help -----Messaggio originale----- Da: Sudripta Nandy [mailto:sudrip...@sarangsoft.co.in] Inviato: mercoledi 27 giugno 2012 14.24 A: wix-users@lists.sourceforge.net Oggetto: [WiX-users] Files to install in a location other than INSTALLDIR Hi, In my setup, I want to install 2 files say 'abc.txt' and 'efg.txt' in a separate location other than the default install location (INSTALLDIR). This separate location is also user-specified and I am storing the path in a property called 'NEWLOC1'. I also need to do a 'FileShare' of this location in read-mode. All other files will be installed in the default install location (INSTALLDIR) which also is user-specified. My main problem is that I don't know how to install these two files in the separate location ([NEWLOC1]) other than INSTALLDIR. Please help me in finding a solution to my problem. Thanks. With Regards, // Sudripta. ---------------------------------------------------------------------------- -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users