Annotation of OpenXM_contrib2/windows/asir.wxs, Revision 1.6
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">
8: <Directory Name="asir" Id="ASIR">
9: <Directory Name="bin" Id="BIN">
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">
12: <Shortcut Id="desktop_ASIRGUI" Name="asirgui" Description="Asir for Windows" Directory="DesktopFolder" Advertise="yes" Icon="asirgui.exe">
13: </Shortcut>
14: <Shortcut Id="menu_ASIRGUI" Name="asirgui" Description="Asir for Windows" Directory="ProgramMenuDir" Advertise="yes" Icon="asirgui.exe" />
15: </File>
16: <RemoveFile Id="asirgui.hnd" Name="asirgui.hnd" On="uninstall" />
17: <RemoveFile Id="history" Name="history" On="uninstall" />
1.5 ohara 18: <Environment Id="ASIR_ROOTDIR" Name="ASIR_ROOTDIR" Value="[ASIR]" Permanent="no" System="yes" Action="set" />
1.3 ohara 19: </Component>
20: <Component Id="engine.exe" Guid="1B6281B2-4D9D-47D0-88AE-6977EFEDB6E7">
21: <File Id="ENGINE.EXE" Name="engine.exe" Source="asir\bin\engine.exe" />
22: </Component>
23: <Component Id="asir.exe" Guid="F3F1FE91-656E-4420-8135-52342D01F052">
24: <File Id="ASIR.EXE" Name="asir.exe" Source="asir\bin\asir.exe" />
25: </Component>
26: <Component Id="cpp.exe" Guid="99C2B6A6-E252-4BE7-8D5A-75D0AD85437F">
27: <File Id="CPP.EXE" Name="cpp.exe" Source="asir\bin\cpp.exe" />
28: </Component>
29: <Component Id="cmdasir.exe" Guid="2D5C53A0-42A1-4DA3-AF6D-25FEDCC345EB">
30: <File Id="CMDASIR.EXE" Name="cmdasir.exe" Source="asir\bin\cmdasir.exe" />
31: </Component>
32: <Component Id="ja.dll" Guid="AC9CAD69-E31C-47A3-AE8B-F11F5F18C327">
33: <File Id="JA.DLL" Name="ja.dll" Source="asir\bin\ja.dll" />
34: </Component>
1.5 ohara 35: <Component Id="mpir.dll" Guid="69B254E7-E98A-465A-8D8A-22593C4820B8">
36: <File Id="MPIR.DLL" Name="mpir.dll" Source="asir\bin\mpir.dll" />
37: </Component>
38: <Component Id="curl.exe" Guid="CC7085F4-0142-4CFD-90A5-AACB606BE2B1">
39: <File Id="CURL.EXE" Name="curl.exe" Source="asir\bin\curl.exe" />
40: </Component>
41: <Component Id="unzip.exe" Guid="B08F4E49-9395-424D-B4C2-109538229540">
42: <File Id="UNZIP.EXE" Name="unzip.exe" Source="asir\bin\unzip.exe" />
43: </Component>
1.3 ohara 44: </Directory>
45: <Directory Name="help" Id="HELP">
46: <Directory Id="HELP_JA" Name="ja" />
47: </Directory>
1.6 ! ohara 48: <Directory Name="lib" Id="LIB">
! 49: <Directory Id="LIB_ASIR" Name="asir" />
! 50: <Directory Id="LIB_ASIR_CONTRIB" Name="asir-contrib" />
! 51: </Directory>
1.3 ohara 52: <Directory Name="share" Id="SHARE">
53: <Directory Id="EDITOR" Name="editor" />
54: </Directory>
1.6 ! ohara 55: <Directory Id="DOC" Name="doc">
! 56: <Directory Id="DOC_ASIR2000" Name="asir2000" />
! 57: <Directory Id="DOC_ASIR_CONTRIB" Name="asir-contrib" />
! 58: </Directory>
1.3 ohara 59: <Component Id="LICENSE" Guid="02A83B99-8E61-499B-BCDB-C25B931EEC36">
60: <File Id="LICENSE" Name="LICENSE" Source="asir\LICENSE" />
61: </Component>
62: </Directory>
63: </Directory>
64: <Directory Id="ProgramMenuFolder" Name="RootMenu">
65: <Directory Id="ProgramMenuDir" Name="Asir">
66: <Component Id="ProgramMenuDir" Guid="2840B02D-DF63-425A-B1CD-A5254BD44C83">
67: <RemoveFolder Id="ProgramMenuDir" On="uninstall" />
68: <RegistryValue Type="string" Root="HKCU" Key="Software\[Manufacturer]\[ProductName]" KeyPath="yes" Value="" />
69: </Component>
70: </Directory>
71: </Directory>
72: <Directory Id="DesktopFolder" Name="Desktop" />
73: </Directory>
74: <Feature Id="DefaultFeature" Title="Main Feature" Level="1">
75: <ComponentGroupRef Id="LibGrp" />
76: <ComponentGroupRef Id="HelpGrp" />
77: <ComponentGroupRef Id="ContribGrp" />
78: <ComponentGroupRef Id="ShareGrp" />
79: <ComponentRef Id="asirgui.exe" />
80: <ComponentRef Id="engine.exe" />
81: <ComponentRef Id="asir.exe" />
82: <ComponentRef Id="cpp.exe" />
83: <ComponentRef Id="cmdasir.exe" />
84: <ComponentRef Id="ja.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" />
89: <ComponentRef Id="ProgramMenuDir" />
90: </Feature>
91: <UI />
92: <UIRef Id="WixUI_InstallDir" />
93: <Property Id="WIXUI_INSTALLDIR" Value="ASIR" />
1.5 ohara 94: <Property Id="ALLUSERS" Value="1" />
1.3 ohara 95: <WixVariable Id="WixUILicenseRtf" Value="LICENSE.rtf" />
96: <Icon Id="asirgui.exe" SourceFile="asir\bin\asirgui.exe" />
1.4 ohara 97: <Upgrade Id="$(var.upgradeID)">
98: <UpgradeVersion Property="PREVIOUSFOUND" OnlyDetect="no" Minimum="1.0.0" IncludeMinimum="yes" Maximum="$(var.productVer)" IncludeMaximum="no" />
99: <UpgradeVersion Property="NEWERFOUND" IncludeMinimum="no" Minimum="$(var.productVer)" OnlyDetect="yes" />
100: </Upgrade>
101: <CustomAction Error="Newer version is already installed." Id="PreventDowngrading" />
102: <InstallExecuteSequence>
103: <Custom Action="PreventDowngrading" After="FindRelatedProducts">NEWERFOUND</Custom>
104: <RemoveExistingProducts After="InstallInitialize">PREVIOUSFOUND</RemoveExistingProducts>
105: </InstallExecuteSequence>
1.3 ohara 106: </Product>
1.5 ohara 107: </Wix>
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>