summaryrefslogtreecommitdiffstats
path: root/Utilities/Release/WiX/cmake_nsis_overwrite_dialog.wxs
blob: 88335f871f94127ed2df6241a9de5caa19ada469 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi">
    <Fragment>
        <UI>
                <Dialog Id="CMakeNsisOverwriteDialog" Width="310" Height="120" Title="NSIS Installation Conflict">
            <Control Id="OK" Type="PushButton" X="122" Y="90" Width="56" Height="17" Default="yes" Cancel="yes" Text="!(loc.WixUIOK)">
                        <Publish Event="EndDialog" Value="Return">1</Publish>
                    </Control>
                    <Control Id="Text" Type="Text" X="48" Y="22" Width="260" Height="60">
                <Text>
                    Uninstall.exe was detected in your chosen installation prefix.
                    This indicates a conflicting NSIS based installation of CMake.

                    Please uninstall your old CMake installation or choose a different
                    installation directory.
                </Text>
            </Control>
                    <Control Id="Icon" Type="Icon" X="15" Y="15" Width="24" Height="24" ToolTip="!(loc.InvalidDirDlgIconTooltip)" FixedSize="yes" IconSize="32" Text="!(loc.InvalidDirDlgIcon)" />
                </Dialog>
        </UI>
    </Fragment>
</Wix>