Mailinglist wrote:
> The directory causing the error is the TARGETDIR. The root path of the 
> installation and yes, the main component has a CreateFolder tag for it.
> Stop, I've just seen that I turned facts. The one MergeModule with the 
> IisExtension gets its folders createt in the right path, all files and files 
> and folders of the other mergemodules and the main setup get installed in the 
> wrong path.
>

Bob wrote:
>Are you using WixUI_InstallDir as the UI? If not, what does your
>directory-selection dialog authoring look like?

We use a complete custom UI, here is the InstallDirDlg:

        <Dialog Id="CustomUI_InstallDirDlg" 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)">
                        <Publish Event="NewDialog" 
Value="CustomUI_EwsPropertiesDlg"/>
                </Control>
                <Control Id="Back" Type="PushButton" X="180" Y="243" Width="56" 
Height="17" Text="!(loc.WixUIBack)">
                        <Publish Event="NewDialog" 
Value="[WixUI_InstallDirDlg_Back]">1</Publish>
                </Control>
                <Control Id="Cancel" Type="PushButton" X="304" Y="243" 
Width="56" Height="17" Cancel="yes" Text="!(loc.WixUICancel)">
                        <Publish Event="SpawnDialog" 
Value="CustomUI_CancelDlg">1</Publish>
                </Control>

                <Control Id="Title" Type="Text" X="15" Y="6" Width="200" 
Height="15" Transparent="yes" NoPrefix="yes" Text="!(loc.InstallDirDlgTitle)" />
                <Control Id="Description" Type="Text" X="25" Y="20" Width="200" 
Height="30" Transparent="yes" NoPrefix="yes" 
Text="!(loc.InstallDirDlgDescription)" />

                <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="15" Text="!(loc.InstallDirDlgFolderLabel)" />
                <Control Id="Folder" Type="Text" X="20" Y="80" Width="240" 
Height="15" Property="_BrowseProperty" Text="[[WIXUI_INSTALLDIR]]" />
                <Control Id="ChangeFolder" Type="PushButton" X="20" Y="100" 
Width="56" Height="17" Text="!(loc.InstallDirDlgChange)">
                        <Publish Property="_BrowseProperty" 
Value="[WIXUI_INSTALLDIR]">1</Publish>
                        <Publish Event="SpawnDialog" 
Value="[WixUI_InstallDirDlg_Change]">1</Publish>
                </Control>
        </Dialog>

And here follows the BrowseDlg:

        <Dialog Id="CustomUI_BrowseDlg" Width="370" Height="270" 
Title="!(loc.BrowseDlg_Title)">
                <Control Id="PathEdit" Type="PathEdit" X="25" Y="202" 
Width="320" Height="18" Property="_BrowseProperty" Indirect="yes" />
                <Control Id="OK" Type="PushButton" X="304" Y="243" Width="56" 
Height="17" Default="yes" Text="!(loc.WixUIOK)">
                        <Publish Event="SetTargetPath" 
Value="[_BrowseProperty]">1</Publish>
                        <Publish Event="EndDialog" Value="Return">1</Publish>
                </Control>
                <Control Id="Cancel" Type="PushButton" X="240" Y="243" 
Width="56" Height="17" Cancel="yes" Text="!(loc.WixUICancel)">
                        <Publish Event="Reset" Value="0">1</Publish>
                        <Publish Event="EndDialog" Value="Return">1</Publish>
                </Control>
                <Control Id="ComboLabel" Type="Text" X="25" Y="58" Width="44" 
Height="10" TabSkip="no" Text="!(loc.BrowseDlgComboLabel)" />
                <Control Id="DirectoryCombo" Type="DirectoryCombo" X="70" 
Y="55" Width="220" Height="80" Property="_BrowseProperty" Indirect="yes" 
Fixed="yes" Remote="yes">
                        <Subscribe Event="IgnoreChange" 
Attribute="IgnoreChange" />
                </Control>
                <Control Id="WixUI_Bmp_Up" Type="PushButton" X="298" Y="55" 
Width="19" Height="19" ToolTip="!(loc.BrowseDlgWixUI_Bmp_UpTooltip)" Icon="yes" 
FixedSize="yes" IconSize="16"                       
Text="!(loc.BrowseDlgWixUI_Bmp_Up)">
                        <Publish Event="DirectoryListUp" Value="0">1</Publish>
                </Control>
                <Control Id="NewFolder" Type="PushButton" X="325" Y="55" 
Width="19" Height="19" ToolTip="!(loc.BrowseDlgNewFolderTooltip)" Icon="yes" 
FixedSize="yes" IconSize="16" Text="!(loc.BrowseDlgNewFolder)">
                        <Publish Event="DirectoryListNew" Value="0">1</Publish>
                </Control>
                <Control Id="DirectoryList" Type="DirectoryList" X="25" Y="83" 
Width="320" Height="98" Property="_BrowseProperty" Sunken="yes" Indirect="yes" 
TabSkip="no" />
                <Control Id="PathLabel" Type="Text" X="25" Y="190" Width="320" 
Height="10" TabSkip="no" Text="!(loc.BrowseDlgPathLabel)" />
                <Control Id="BannerBitmap" Type="Bitmap" X="0" Y="0" 
Width="370" Height="44" TabSkip="no" Text="!(loc.BrowseDlgBannerBitmap)" />
                <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="Description" Type="Text" X="25" Y="23" Width="200" 
Height="15" Transparent="yes" NoPrefix="yes" Text="!(loc.BrowseDlgDescription)" 
/>
                <Control Id="Title" Type="Text" X="15" Y="6" Width="200" 
Height="15" Transparent="yes" NoPrefix="yes" Text="!(loc.BrowseDlgTitle)" />
        </Dialog>

Oliver

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to