launcher.wxs 1.27 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11
<?xml version="1.0"?>
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi">
    <Fragment>
        <PackageGroup Id="launcher">
            <!-- The All Users launcher is always the 32-bit version -->
            <MsiPackage Id="launcher_AllUsers"
                        SourceFile="launcher.msi"
                        Compressed="$(var.CompressMSI)"
                        DownloadUrl="$(var.DownloadUrl)"
                        ForcePerMachine="yes"
                        EnableFeatureSelection="yes"
12 13
                        Permanent="yes"
                        Visible="yes"
14
                        InstallCondition="(InstallAllUsers or InstallLauncherAllUsers) and Include_launcher and not DetectedLauncher" />
15 16 17 18 19 20 21

            <MsiPackage Id="launcher_JustForMe"
                        SourceFile="launcher.msi"
                        Compressed="$(var.CompressMSI)"
                        DownloadUrl="$(var.DownloadUrl)"
                        ForcePerMachine="no"
                        EnableFeatureSelection="yes"
22 23
                        Permanent="yes"
                        Visible="yes"
24
                        InstallCondition="not (InstallAllUsers or InstallLauncherAllUsers) and Include_launcher and not DetectedLauncher" />
25 26 27
        </PackageGroup>
    </Fragment>
</Wix>