Annotation of OpenXM_contrib2/windows/asir.wxs, Revision 1.11
1.3 ohara 1: <?xml version="1.0" encoding="utf-8"?>
2: <Wix xmlns="http://schemas.microsoft.com/wix/2006/wi">
3: <Product Id="$(var.productID)" Name="Asir for Windows" Language="1033" Version="$(var.productVer)" Manufacturer="OpenXM committers" UpgradeCode="$(var.upgradeID)">
4: <Package Description="Asir installer for Windows" Comments="Asir installer for Windows" InstallerVersion="200" Compressed="yes" />
5: <Media Id="1" Cabinet="simple.cab" EmbedCab="yes" />
6: <Directory Id="TARGETDIR" Name="SourceDir">
7: <Directory Id="$(var.programfilesDir)" Name="PFiles">
1.8 ohara 8: <Directory Id="ASIR" Name="asir">
9: <Directory Id="BIN" Name="bin">
1.3 ohara 10: <Component Id="asirgui.exe" Guid="AEB0BF56-E0E8-4BD3-B768-D0E9DC87C503">
11: <File Id="ASIRGUI.EXE" Name="asirgui.exe" Source="asir\bin\asirgui.exe" KeyPath="yes">
1.8 ohara 12: <Shortcut Id="desktop_ASIRGUI" Name="asirgui" Description="Asir for Windows" Directory="DesktopFolder" Advertise="yes" Icon="asirgui.exe" />
1.3 ohara 13: <Shortcut Id="menu_ASIRGUI" Name="asirgui" Description="Asir for Windows" Directory="ProgramMenuDir" Advertise="yes" Icon="asirgui.exe" />
14: </File>
15: <RemoveFile Id="asirgui.hnd" Name="asirgui.hnd" On="uninstall" />
16: <RemoveFile Id="history" Name="history" On="uninstall" />
1.5 ohara 17: <Environment Id="ASIR_ROOTDIR" Name="ASIR_ROOTDIR" Value="[ASIR]" Permanent="no" System="yes" Action="set" />
1.3 ohara 18: </Component>
19: <Component Id="engine.exe" Guid="1B6281B2-4D9D-47D0-88AE-6977EFEDB6E7">
20: <File Id="ENGINE.EXE" Name="engine.exe" Source="asir\bin\engine.exe" />
21: </Component>
22: <Component Id="asir.exe" Guid="F3F1FE91-656E-4420-8135-52342D01F052">
23: <File Id="ASIR.EXE" Name="asir.exe" Source="asir\bin\asir.exe" />
24: </Component>
25: <Component Id="cpp.exe" Guid="99C2B6A6-E252-4BE7-8D5A-75D0AD85437F">
26: <File Id="CPP.EXE" Name="cpp.exe" Source="asir\bin\cpp.exe" />
27: </Component>
28: <Component Id="cmdasir.exe" Guid="2D5C53A0-42A1-4DA3-AF6D-25FEDCC345EB">
29: <File Id="CMDASIR.EXE" Name="cmdasir.exe" Source="asir\bin\cmdasir.exe" />
30: </Component>
31: <Component Id="ja.dll" Guid="AC9CAD69-E31C-47A3-AE8B-F11F5F18C327">
32: <File Id="JA.DLL" Name="ja.dll" Source="asir\bin\ja.dll" />
33: </Component>
1.10 ohara 34: <Component Id="mpc.dll" Guid="141B4A38-9ED9-4E2C-94F6-D13D30BF6F47">
35: <File Id="MPC.DLL" Name="mpc.dll" Source="asir\bin\mpc.dll" />
36: </Component>
37: <Component Id="mpfr.dll" Guid="6675DB09-D36B-4ED7-8ACC-BDF02D3055E3">
38: <File Id="MPFR.DLL" Name="mpfr.dll" Source="asir\bin\mpfr.dll" />
39: </Component>
1.5 ohara 40: <Component Id="mpir.dll" Guid="69B254E7-E98A-465A-8D8A-22593C4820B8">
41: <File Id="MPIR.DLL" Name="mpir.dll" Source="asir\bin\mpir.dll" />
42: </Component>
43: <Component Id="curl.exe" Guid="CC7085F4-0142-4CFD-90A5-AACB606BE2B1">
44: <File Id="CURL.EXE" Name="curl.exe" Source="asir\bin\curl.exe" />
45: </Component>
46: <Component Id="unzip.exe" Guid="B08F4E49-9395-424D-B4C2-109538229540">
47: <File Id="UNZIP.EXE" Name="unzip.exe" Source="asir\bin\unzip.exe" />
48: </Component>
1.3 ohara 49: </Directory>
1.11 ! ohara 50: <Directory Id="LIB" Name="lib">
1.9 ohara 51: <Directory Id="LIB_ASIR" Name="asir" />
52: <Directory Id="LIB_ASIR_CONTRIB" Name="asir-contrib" />
53: </Directory>
1.8 ohara 54: <Directory Id="SHARE" Name="share" />
1.3 ohara 55: <Component Id="LICENSE" Guid="02A83B99-8E61-499B-BCDB-C25B931EEC36">
56: <File Id="LICENSE" Name="LICENSE" Source="asir\LICENSE" />
57: </Component>
1.10 ohara 58: <Component Id="COPYING.LIB" Guid="8C807242-9E31-4E4E-A6C8-45F01B4EEADA">
59: <File Id="COPYING.LIB" Name="COPYING.LIB" Source="asir\COPYING.LIB" />
60: </Component>
1.3 ohara 61: </Directory>
62: </Directory>
63: <Directory Id="ProgramMenuFolder" Name="RootMenu">
64: <Directory Id="ProgramMenuDir" Name="Asir">
65: <Component Id="ProgramMenuDir" Guid="2840B02D-DF63-425A-B1CD-A5254BD44C83">
66: <RemoveFolder Id="ProgramMenuDir" On="uninstall" />
67: <RegistryValue Type="string" Root="HKCU" Key="Software\[Manufacturer]\[ProductName]" KeyPath="yes" Value="" />
68: </Component>
69: </Directory>
70: </Directory>
71: <Directory Id="DesktopFolder" Name="Desktop" />
72: </Directory>
73: <Feature Id="DefaultFeature" Title="Main Feature" Level="1">
74: <ComponentGroupRef Id="LibGrp" />
75: <ComponentGroupRef Id="ContribGrp" />
76: <ComponentGroupRef Id="ShareGrp" />
77: <ComponentRef Id="asirgui.exe" />
78: <ComponentRef Id="engine.exe" />
79: <ComponentRef Id="asir.exe" />
80: <ComponentRef Id="cpp.exe" />
81: <ComponentRef Id="cmdasir.exe" />
82: <ComponentRef Id="ja.dll" />
1.10 ohara 83: <ComponentRef Id="mpc.dll" />
84: <ComponentRef Id="mpfr.dll" />
1.5 ohara 85: <ComponentRef Id="mpir.dll" />
86: <ComponentRef Id="curl.exe" />
87: <ComponentRef Id="unzip.exe" />
1.3 ohara 88: <ComponentRef Id="LICENSE" />
1.10 ohara 89: <ComponentRef Id="COPYING.LIB" />
1.3 ohara 90: <ComponentRef Id="ProgramMenuDir" />
91: </Feature>
92: <UI />
93: <UIRef Id="WixUI_InstallDir" />
94: <Property Id="WIXUI_INSTALLDIR" Value="ASIR" />
1.5 ohara 95: <Property Id="ALLUSERS" Value="1" />
1.3 ohara 96: <WixVariable Id="WixUILicenseRtf" Value="LICENSE.rtf" />
97: <Icon Id="asirgui.exe" SourceFile="asir\bin\asirgui.exe" />
1.4 ohara 98: <Upgrade Id="$(var.upgradeID)">
99: <UpgradeVersion Property="PREVIOUSFOUND" OnlyDetect="no" Minimum="1.0.0" IncludeMinimum="yes" Maximum="$(var.productVer)" IncludeMaximum="no" />
100: <UpgradeVersion Property="NEWERFOUND" IncludeMinimum="no" Minimum="$(var.productVer)" OnlyDetect="yes" />
101: </Upgrade>
102: <CustomAction Error="Newer version is already installed." Id="PreventDowngrading" />
103: <InstallExecuteSequence>
104: <Custom Action="PreventDowngrading" After="FindRelatedProducts">NEWERFOUND</Custom>
105: <RemoveExistingProducts After="InstallInitialize">PREVIOUSFOUND</RemoveExistingProducts>
106: </InstallExecuteSequence>
1.3 ohara 107: </Product>
1.8 ohara 108: </Wix>
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>