version 1.1, 2013/11/16 08:31:31 |
version 1.6, 2014/05/09 18:32:13 |
|
|
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?> |
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi">
|
<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)">
|
<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" />
|
<Package Description="Asir installer for Windows" Comments="Asir installer for Windows" InstallerVersion="200" Compressed="yes" /> |
<Media Id="1" Cabinet="simple.cab" EmbedCab="yes" />
|
<Media Id="1" Cabinet="simple.cab" EmbedCab="yes" /> |
<Directory Id="TARGETDIR" Name="SourceDir">
|
<Directory Id="TARGETDIR" Name="SourceDir"> |
<Directory Id="$(var.programfilesDir)" Name="PFiles">
|
<Directory Id="$(var.programfilesDir)" Name="PFiles"> |
<Directory Name="asir" Id="ASIR">
|
<Directory Name="asir" Id="ASIR"> |
<Directory Name="bin" Id="BIN">
|
<Directory Name="bin" Id="BIN"> |
<Component Id="asirgui.exe" Guid="AEB0BF56-E0E8-4BD3-B768-D0E9DC87C503">
|
<Component Id="asirgui.exe" Guid="AEB0BF56-E0E8-4BD3-B768-D0E9DC87C503"> |
<File Id="ASIRGUI.EXE" Name="asirgui.exe" Source="asir\bin\asirgui.exe" KeyPath="yes">
|
<File Id="ASIRGUI.EXE" Name="asirgui.exe" Source="asir\bin\asirgui.exe" KeyPath="yes"> |
<Shortcut Id="desktop_ASIRGUI" Name="asirgui.exe" Description="Asir for Windows" Directory="DesktopFolder" Advertise="yes" Icon="asirgui.exe">
|
<Shortcut Id="desktop_ASIRGUI" Name="asirgui" Description="Asir for Windows" Directory="DesktopFolder" Advertise="yes" Icon="asirgui.exe"> |
</Shortcut>
|
</Shortcut> |
<Shortcut Id="menu_ASIRGUI" Name="asirgui.exe" Description="Asir for Windows" Directory="ProgramMenuDir" Advertise="yes" Icon="asirgui.exe" />
|
<Shortcut Id="menu_ASIRGUI" Name="asirgui" Description="Asir for Windows" Directory="ProgramMenuDir" Advertise="yes" Icon="asirgui.exe" /> |
</File>
|
</File> |
<RemoveFile Id="asirgui.hnd" Name="asirgui.hnd" On="uninstall" />
|
<RemoveFile Id="asirgui.hnd" Name="asirgui.hnd" On="uninstall" /> |
<RemoveFile Id="history" Name="history" On="uninstall" />
|
<RemoveFile Id="history" Name="history" On="uninstall" /> |
<Environment Id="ASIR_ROOTDIR" Name="ASIR_ROOTDIR" Value="[ASIR]" Permanent="no" System="no" Action="set" />
|
<Environment Id="ASIR_ROOTDIR" Name="ASIR_ROOTDIR" Value="[ASIR]" Permanent="no" System="yes" Action="set" /> |
</Component>
|
</Component> |
<Component Id="engine.exe" Guid="1B6281B2-4D9D-47D0-88AE-6977EFEDB6E7">
|
<Component Id="engine.exe" Guid="1B6281B2-4D9D-47D0-88AE-6977EFEDB6E7"> |
<File Id="ENGINE.EXE" Name="engine.exe" Source="asir\bin\engine.exe" />
|
<File Id="ENGINE.EXE" Name="engine.exe" Source="asir\bin\engine.exe" /> |
</Component>
|
</Component> |
<Component Id="asir.exe" Guid="F3F1FE91-656E-4420-8135-52342D01F052">
|
<Component Id="asir.exe" Guid="F3F1FE91-656E-4420-8135-52342D01F052"> |
<File Id="ASIR.EXE" Name="asir.exe" Source="asir\bin\asir.exe" />
|
<File Id="ASIR.EXE" Name="asir.exe" Source="asir\bin\asir.exe" /> |
</Component>
|
</Component> |
<Component Id="cpp.exe" Guid="99C2B6A6-E252-4BE7-8D5A-75D0AD85437F">
|
<Component Id="cpp.exe" Guid="99C2B6A6-E252-4BE7-8D5A-75D0AD85437F"> |
<File Id="CPP.EXE" Name="cpp.exe" Source="asir\bin\cpp.exe" />
|
<File Id="CPP.EXE" Name="cpp.exe" Source="asir\bin\cpp.exe" /> |
</Component>
|
</Component> |
<Component Id="cmdasir.exe" Guid="2D5C53A0-42A1-4DA3-AF6D-25FEDCC345EB">
|
<Component Id="cmdasir.exe" Guid="2D5C53A0-42A1-4DA3-AF6D-25FEDCC345EB"> |
<File Id="CMDASIR.EXE" Name="cmdasir.exe" Source="asir\bin\cmdasir.exe" />
|
<File Id="CMDASIR.EXE" Name="cmdasir.exe" Source="asir\bin\cmdasir.exe" /> |
</Component>
|
</Component> |
<Component Id="ja.dll" Guid="AC9CAD69-E31C-47A3-AE8B-F11F5F18C327">
|
<Component Id="ja.dll" Guid="AC9CAD69-E31C-47A3-AE8B-F11F5F18C327"> |
<File Id="JA.DLL" Name="ja.dll" Source="asir\bin\ja.dll" />
|
<File Id="JA.DLL" Name="ja.dll" Source="asir\bin\ja.dll" /> |
</Component>
|
</Component> |
</Directory>
|
<Component Id="mpir.dll" Guid="69B254E7-E98A-465A-8D8A-22593C4820B8"> |
<Directory Name="help" Id="HELP">
|
<File Id="MPIR.DLL" Name="mpir.dll" Source="asir\bin\mpir.dll" /> |
<Directory Id="HELP_JA" Name="ja" />
|
</Component> |
</Directory>
|
<Component Id="curl.exe" Guid="CC7085F4-0142-4CFD-90A5-AACB606BE2B1"> |
<Directory Name="lib" Id="LIB" />
|
<File Id="CURL.EXE" Name="curl.exe" Source="asir\bin\curl.exe" /> |
<Directory Name="lib-asir-contrib" Id="LIB_ASIR_CONTRIB" />
|
</Component> |
<Directory Name="share" Id="SHARE">
|
<Component Id="unzip.exe" Guid="B08F4E49-9395-424D-B4C2-109538229540"> |
<Directory Id="EDITOR" Name="editor" />
|
<File Id="UNZIP.EXE" Name="unzip.exe" Source="asir\bin\unzip.exe" /> |
</Directory>
|
</Component> |
<Component Id="LICENSE" Guid="02A83B99-8E61-499B-BCDB-C25B931EEC36">
|
</Directory> |
<File Id="LICENSE" Name="LICENSE" Source="asir\LICENSE" />
|
<Directory Name="help" Id="HELP"> |
</Component>
|
<Directory Id="HELP_JA" Name="ja" /> |
</Directory>
|
</Directory> |
</Directory>
|
<Directory Name="lib" Id="LIB"> |
<Directory Id="ProgramMenuFolder" Name="RootMenu">
|
<Directory Id="LIB_ASIR" Name="asir" /> |
<Directory Id="ProgramMenuDir" Name="Asir">
|
<Directory Id="LIB_ASIR_CONTRIB" Name="asir-contrib" /> |
<Component Id="ProgramMenuDir" Guid="2840B02D-DF63-425A-B1CD-A5254BD44C83">
|
</Directory> |
<RemoveFolder Id="ProgramMenuDir" On="uninstall" />
|
<Directory Name="share" Id="SHARE"> |
<RegistryValue Type="string" Root="HKCU" Key="Software\[Manufacturer]\[ProductName]" KeyPath="yes" Value="" />
|
<Directory Id="EDITOR" Name="editor" /> |
</Component>
|
</Directory> |
</Directory>
|
<Directory Id="DOC" Name="doc"> |
</Directory>
|
<Directory Id="DOC_ASIR2000" Name="asir2000" /> |
<Directory Id="DesktopFolder" Name="Desktop" />
|
<Directory Id="DOC_ASIR_CONTRIB" Name="asir-contrib" /> |
</Directory>
|
</Directory> |
<Feature Id="DefaultFeature" Title="Main Feature" Level="1">
|
<Component Id="LICENSE" Guid="02A83B99-8E61-499B-BCDB-C25B931EEC36"> |
<ComponentGroupRef Id="LibGrp" />
|
<File Id="LICENSE" Name="LICENSE" Source="asir\LICENSE" /> |
<ComponentGroupRef Id="HelpGrp" />
|
</Component> |
<ComponentGroupRef Id="ContribGrp" />
|
</Directory> |
<ComponentGroupRef Id="ShareGrp" />
|
</Directory> |
<ComponentRef Id="asirgui.exe" />
|
<Directory Id="ProgramMenuFolder" Name="RootMenu"> |
<ComponentRef Id="engine.exe" />
|
<Directory Id="ProgramMenuDir" Name="Asir"> |
<ComponentRef Id="asir.exe" />
|
<Component Id="ProgramMenuDir" Guid="2840B02D-DF63-425A-B1CD-A5254BD44C83"> |
<ComponentRef Id="cpp.exe" />
|
<RemoveFolder Id="ProgramMenuDir" On="uninstall" /> |
<ComponentRef Id="cmdasir.exe" />
|
<RegistryValue Type="string" Root="HKCU" Key="Software\[Manufacturer]\[ProductName]" KeyPath="yes" Value="" /> |
<ComponentRef Id="ja.dll" />
|
</Component> |
<ComponentRef Id="LICENSE" />
|
</Directory> |
<ComponentRef Id="ProgramMenuDir" />
|
</Directory> |
</Feature>
|
<Directory Id="DesktopFolder" Name="Desktop" /> |
<UI />
|
</Directory> |
<UIRef Id="WixUI_InstallDir" />
|
<Feature Id="DefaultFeature" Title="Main Feature" Level="1"> |
<Property Id="WIXUI_INSTALLDIR" Value="ASIR" />
|
<ComponentGroupRef Id="LibGrp" /> |
<WixVariable Id="WixUILicenseRtf" Value="LICENSE.rtf" />
|
<ComponentGroupRef Id="HelpGrp" /> |
<Icon Id="asirgui.exe" SourceFile="asir\bin\asirgui.exe" />
|
<ComponentGroupRef Id="ContribGrp" /> |
</Product>
|
<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="mpir.dll" /> |
|
<ComponentRef Id="curl.exe" /> |
|
<ComponentRef Id="unzip.exe" /> |
|
<ComponentRef Id="LICENSE" /> |
|
<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> |
</Wix> |
|
|