Annotation of OpenXM_contrib2/windows/asir.wxs, Revision 1.9
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.5 ohara 34: <Component Id="mpir.dll" Guid="69B254E7-E98A-465A-8D8A-22593C4820B8">
35: <File Id="MPIR.DLL" Name="mpir.dll" Source="asir\bin\mpir.dll" />
36: </Component>
37: <Component Id="curl.exe" Guid="CC7085F4-0142-4CFD-90A5-AACB606BE2B1">
38: <File Id="CURL.EXE" Name="curl.exe" Source="asir\bin\curl.exe" />
39: </Component>
40: <Component Id="unzip.exe" Guid="B08F4E49-9395-424D-B4C2-109538229540">
41: <File Id="UNZIP.EXE" Name="unzip.exe" Source="asir\bin\unzip.exe" />
42: </Component>
1.3 ohara 43: </Directory>
1.8 ohara 44: <Directory Id="HELP" Name="help" />
1.9 ! ohara 45: <Directory Name="lib" Id="LIB">
! 46: <Directory Id="LIB_ASIR" Name="asir" />
! 47: <Directory Id="LIB_ASIR_CONTRIB" Name="asir-contrib" />
! 48: </Directory>
1.8 ohara 49: <Directory Id="SHARE" Name="share" />
50: <Directory Id="DOC" Name="doc" />
1.3 ohara 51: <Component Id="LICENSE" Guid="02A83B99-8E61-499B-BCDB-C25B931EEC36">
52: <File Id="LICENSE" Name="LICENSE" Source="asir\LICENSE" />
53: </Component>
54: </Directory>
55: </Directory>
56: <Directory Id="ProgramMenuFolder" Name="RootMenu">
57: <Directory Id="ProgramMenuDir" Name="Asir">
58: <Component Id="ProgramMenuDir" Guid="2840B02D-DF63-425A-B1CD-A5254BD44C83">
59: <RemoveFolder Id="ProgramMenuDir" On="uninstall" />
60: <RegistryValue Type="string" Root="HKCU" Key="Software\[Manufacturer]\[ProductName]" KeyPath="yes" Value="" />
61: </Component>
62: </Directory>
63: </Directory>
64: <Directory Id="DesktopFolder" Name="Desktop" />
65: </Directory>
66: <Feature Id="DefaultFeature" Title="Main Feature" Level="1">
67: <ComponentGroupRef Id="LibGrp" />
68: <ComponentGroupRef Id="HelpGrp" />
69: <ComponentGroupRef Id="ContribGrp" />
70: <ComponentGroupRef Id="ShareGrp" />
1.7 ohara 71: <ComponentGroupRef Id="DocGrp" />
1.3 ohara 72: <ComponentRef Id="asirgui.exe" />
73: <ComponentRef Id="engine.exe" />
74: <ComponentRef Id="asir.exe" />
75: <ComponentRef Id="cpp.exe" />
76: <ComponentRef Id="cmdasir.exe" />
77: <ComponentRef Id="ja.dll" />
1.5 ohara 78: <ComponentRef Id="mpir.dll" />
79: <ComponentRef Id="curl.exe" />
80: <ComponentRef Id="unzip.exe" />
1.3 ohara 81: <ComponentRef Id="LICENSE" />
82: <ComponentRef Id="ProgramMenuDir" />
83: </Feature>
84: <UI />
85: <UIRef Id="WixUI_InstallDir" />
86: <Property Id="WIXUI_INSTALLDIR" Value="ASIR" />
1.5 ohara 87: <Property Id="ALLUSERS" Value="1" />
1.3 ohara 88: <WixVariable Id="WixUILicenseRtf" Value="LICENSE.rtf" />
89: <Icon Id="asirgui.exe" SourceFile="asir\bin\asirgui.exe" />
1.4 ohara 90: <Upgrade Id="$(var.upgradeID)">
91: <UpgradeVersion Property="PREVIOUSFOUND" OnlyDetect="no" Minimum="1.0.0" IncludeMinimum="yes" Maximum="$(var.productVer)" IncludeMaximum="no" />
92: <UpgradeVersion Property="NEWERFOUND" IncludeMinimum="no" Minimum="$(var.productVer)" OnlyDetect="yes" />
93: </Upgrade>
94: <CustomAction Error="Newer version is already installed." Id="PreventDowngrading" />
95: <InstallExecuteSequence>
96: <Custom Action="PreventDowngrading" After="FindRelatedProducts">NEWERFOUND</Custom>
97: <RemoveExistingProducts After="InstallInitialize">PREVIOUSFOUND</RemoveExistingProducts>
98: </InstallExecuteSequence>
1.3 ohara 99: </Product>
1.8 ohara 100: </Wix>
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>