[BACK]Return to asir.wxs CVS log [TXT][DIR] Up to [local] / OpenXM_contrib2 / windows

File: [local] / OpenXM_contrib2 / windows / asir.wxs (download)

Revision 1.11, Thu Mar 28 18:10:10 2019 UTC (5 years, 1 month ago) by ohara
Branch: MAIN
CVS Tags: HEAD
Changes since 1.10: +1 -5 lines

The build system is up to date.

<?xml version="1.0" encoding="utf-8"?>
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi">
    <Product Id="$(var.productID)" Name="Asir for Windows" Language="1033" Version="$(var.productVer)" Manufacturer="OpenXM committers" UpgradeCode="$(var.upgradeID)">
        <Package Description="Asir installer for Windows" Comments="Asir installer for Windows" InstallerVersion="200" Compressed="yes" />
        <Media Id="1" Cabinet="simple.cab" EmbedCab="yes" />
        <Directory Id="TARGETDIR" Name="SourceDir">
            <Directory Id="$(var.programfilesDir)" Name="PFiles">
                <Directory Id="ASIR" Name="asir">
                    <Directory Id="BIN" Name="bin">
                        <Component Id="asirgui.exe" Guid="AEB0BF56-E0E8-4BD3-B768-D0E9DC87C503">
                            <File Id="ASIRGUI.EXE" Name="asirgui.exe" Source="asir\bin\asirgui.exe" KeyPath="yes">
                                <Shortcut Id="desktop_ASIRGUI" Name="asirgui" Description="Asir for Windows" Directory="DesktopFolder" Advertise="yes" Icon="asirgui.exe" />
                                <Shortcut Id="menu_ASIRGUI" Name="asirgui" Description="Asir for Windows" Directory="ProgramMenuDir" Advertise="yes" Icon="asirgui.exe" />
                            </File>
                            <RemoveFile Id="asirgui.hnd" Name="asirgui.hnd" On="uninstall" />
                            <RemoveFile Id="history" Name="history" On="uninstall" />
                            <Environment Id="ASIR_ROOTDIR" Name="ASIR_ROOTDIR" Value="[ASIR]" Permanent="no" System="yes" Action="set" />
                        </Component>
                        <Component Id="engine.exe" Guid="1B6281B2-4D9D-47D0-88AE-6977EFEDB6E7">
                            <File Id="ENGINE.EXE" Name="engine.exe" Source="asir\bin\engine.exe" />
                        </Component>
                        <Component Id="asir.exe" Guid="F3F1FE91-656E-4420-8135-52342D01F052">
                            <File Id="ASIR.EXE" Name="asir.exe" Source="asir\bin\asir.exe" />
                        </Component>
                        <Component Id="cpp.exe" Guid="99C2B6A6-E252-4BE7-8D5A-75D0AD85437F">
                            <File Id="CPP.EXE" Name="cpp.exe" Source="asir\bin\cpp.exe" />
                        </Component>
                        <Component Id="cmdasir.exe" Guid="2D5C53A0-42A1-4DA3-AF6D-25FEDCC345EB">
                            <File Id="CMDASIR.EXE" Name="cmdasir.exe" Source="asir\bin\cmdasir.exe" />
                        </Component>
                        <Component Id="ja.dll" Guid="AC9CAD69-E31C-47A3-AE8B-F11F5F18C327">
                            <File Id="JA.DLL" Name="ja.dll" Source="asir\bin\ja.dll" />
                        </Component>
                        <Component Id="mpc.dll" Guid="141B4A38-9ED9-4E2C-94F6-D13D30BF6F47">
                            <File Id="MPC.DLL" Name="mpc.dll" Source="asir\bin\mpc.dll" />
                        </Component>
                        <Component Id="mpfr.dll" Guid="6675DB09-D36B-4ED7-8ACC-BDF02D3055E3">
                            <File Id="MPFR.DLL" Name="mpfr.dll" Source="asir\bin\mpfr.dll" />
                        </Component>
                        <Component Id="mpir.dll" Guid="69B254E7-E98A-465A-8D8A-22593C4820B8">
                            <File Id="MPIR.DLL" Name="mpir.dll" Source="asir\bin\mpir.dll" />
                        </Component>
                        <Component Id="curl.exe" Guid="CC7085F4-0142-4CFD-90A5-AACB606BE2B1">
                            <File Id="CURL.EXE" Name="curl.exe" Source="asir\bin\curl.exe" />
                        </Component>
                        <Component Id="unzip.exe" Guid="B08F4E49-9395-424D-B4C2-109538229540">
                            <File Id="UNZIP.EXE" Name="unzip.exe" Source="asir\bin\unzip.exe" />
                        </Component>
                    </Directory>
                    <Directory Id="LIB" Name="lib">
                        <Directory Id="LIB_ASIR" Name="asir" />
                        <Directory Id="LIB_ASIR_CONTRIB" Name="asir-contrib" />
                    </Directory>
                    <Directory Id="SHARE" Name="share" />
                    <Component Id="LICENSE" Guid="02A83B99-8E61-499B-BCDB-C25B931EEC36">
                        <File Id="LICENSE" Name="LICENSE" Source="asir\LICENSE" />
                    </Component>
                    <Component Id="COPYING.LIB" Guid="8C807242-9E31-4E4E-A6C8-45F01B4EEADA">
                        <File Id="COPYING.LIB" Name="COPYING.LIB" Source="asir\COPYING.LIB" />
                    </Component>
                </Directory>
            </Directory>
            <Directory Id="ProgramMenuFolder" Name="RootMenu">
                <Directory Id="ProgramMenuDir" Name="Asir">
                    <Component Id="ProgramMenuDir" Guid="2840B02D-DF63-425A-B1CD-A5254BD44C83">
                        <RemoveFolder Id="ProgramMenuDir" On="uninstall" />
                        <RegistryValue Type="string" Root="HKCU" Key="Software\[Manufacturer]\[ProductName]" KeyPath="yes" Value="" />
                    </Component>
                </Directory>
            </Directory>
            <Directory Id="DesktopFolder" Name="Desktop" />
        </Directory>
        <Feature Id="DefaultFeature" Title="Main Feature" Level="1">
            <ComponentGroupRef Id="LibGrp" />
            <ComponentGroupRef Id="ContribGrp" />
            <ComponentGroupRef Id="ShareGrp" />
            <ComponentRef Id="asirgui.exe" />
            <ComponentRef Id="engine.exe" />
            <ComponentRef Id="asir.exe" />
            <ComponentRef Id="cpp.exe" />
            <ComponentRef Id="cmdasir.exe" />
            <ComponentRef Id="ja.dll" />
            <ComponentRef Id="mpc.dll" />
            <ComponentRef Id="mpfr.dll" />
            <ComponentRef Id="mpir.dll" />
            <ComponentRef Id="curl.exe" />
            <ComponentRef Id="unzip.exe" />
            <ComponentRef Id="LICENSE" />
            <ComponentRef Id="COPYING.LIB" />
            <ComponentRef Id="ProgramMenuDir" />
        </Feature>
        <UI />
        <UIRef Id="WixUI_InstallDir" />
        <Property Id="WIXUI_INSTALLDIR" Value="ASIR" />
        <Property Id="ALLUSERS" Value="1" />
        <WixVariable Id="WixUILicenseRtf" Value="LICENSE.rtf" />
        <Icon Id="asirgui.exe" SourceFile="asir\bin\asirgui.exe" />
        <Upgrade Id="$(var.upgradeID)">
            <UpgradeVersion Property="PREVIOUSFOUND" OnlyDetect="no" Minimum="1.0.0" IncludeMinimum="yes" Maximum="$(var.productVer)" IncludeMaximum="no" />
            <UpgradeVersion Property="NEWERFOUND" IncludeMinimum="no" Minimum="$(var.productVer)" OnlyDetect="yes" />
        </Upgrade>
        <CustomAction Error="Newer version is already installed." Id="PreventDowngrading" />
        <InstallExecuteSequence>
            <Custom Action="PreventDowngrading" After="FindRelatedProducts">NEWERFOUND</Custom>
            <RemoveExistingProducts After="InstallInitialize">PREVIOUSFOUND</RemoveExistingProducts>
        </InstallExecuteSequence>
    </Product>
</Wix>