2012-04-03 19:58:45 -03:00
<?xml version="1.0" encoding="utf-8"?>
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi" xmlns:netfx="http://schemas.microsoft.com/wix/NetFxExtension" xmlns:difx="http://schemas.microsoft.com/wix/DifxAppExtension">
<Product Id="{625389D7-EB3C-4d77-A5F6-A285CF99437D}" Name="APM Planner" Language="1033" Version="1.1.60" Manufacturer="Michael Oborne" UpgradeCode="{625389D7-EB3C-4d77-A5F6-A285CF99437D}">
<Package Description="APM Planner Installer" Comments="Apm Planner Installer" Manufacturer="Michael Oborne" InstallerVersion="200" Compressed="yes" />
<MajorUpgrade DowngradeErrorMessage="A later version of [ProductName] is already installed. Setup will now exit."/>
<PropertyRef Id="NETFRAMEWORK35" />
<Condition Message="This application requires .NET Framework 3.5. Please install the .NET Framework then run this installer again."><![CDATA[Installed OR NETFRAMEWORK35]]></Condition>
<Media Id="1" Cabinet="product.cab" EmbedCab="yes" />
<Directory Id="TARGETDIR" Name="SourceDir">
<Directory Id="ProgramFilesFolder" Name="PFiles">
<Directory Id="APMPlanner" Name="APM Planner">
<Component Id="InstallDirPermissions" Guid="{525389D7-EB3C-4d77-A5F6-A285CF99437D}" KeyPath="yes">
<CreateFolder>
<Permission User="Everyone" GenericAll="yes" />
</CreateFolder>
</Component>
2012-04-05 21:50:04 -03:00
<Component Id="_comp1" Guid="34295c8e-0d23-4735-b56d-d2b6652756e5">
<File Id="_2" Source="..\bin\release\AeroSimRCAPMHil.zip" />
<File Id="_3" Source="..\bin\release\alglibnet2.dll" />
<File Id="_4" Source="..\bin\release\arducopter-xplane.zip" />
<File Id="_5" Source="..\bin\release\ArdupilotMegaPlanner.exe" />
<File Id="_6" Source="..\bin\release\ArdupilotMegaPlanner.exe.config" />
<File Id="_7" Source="..\bin\release\ArdupilotMegaPlanner.pdb" />
<File Id="_8" Source="..\bin\release\block_plane_0.dae" />
<File Id="_9" Source="..\bin\release\BSE.Windows.Forms.dll" />
<File Id="_10" Source="..\bin\release\Core.dll" />
<File Id="_11" Source="..\bin\release\dataflashlog.xml" />
<File Id="_12" Source="..\bin\release\DirectShowLib-2005.dll" />
<File Id="_13" Source="..\bin\release\GMap.NET.Core.dll" />
<File Id="_14" Source="..\bin\release\GMap.NET.WindowsForms.dll" />
<File Id="_15" Source="..\bin\release\hud.html" />
<File Id="_16" Source="..\bin\release\ICSharpCode.SharpZipLib.dll" />
<File Id="_17" Source="..\bin\release\Ionic.Zip.Reduced.dll" />
<File Id="_18" Source="..\bin\release\IronPython.dll" />
<File Id="_19" Source="..\bin\release\IronPython.Modules.dll" />
<File Id="_20" Source="..\bin\release\JSBSim.exe" />
<File Id="_21" Source="..\bin\release\KMLib.dll" />
<File Id="_22" Source="..\bin\release\log4net.dll" />
<File Id="_23" Source="..\bin\release\mavcmd.xml" />
<File Id="_24" Source="..\bin\release\MAVLink.xml" />
<File Id="_25" Source="..\bin\release\MetaDataExtractor.dll" />
<File Id="_26" Source="..\bin\release\Microsoft.Dynamic.dll" />
<File Id="_27" Source="..\bin\release\Microsoft.Scripting.Core.dll" />
<File Id="_28" Source="..\bin\release\Microsoft.Scripting.Debugging.dll" />
<File Id="_29" Source="..\bin\release\Microsoft.Scripting.dll" />
<File Id="_30" Source="..\bin\release\Microsoft.Scripting.ExtensionAttribute.dll" />
<File Id="_31" Source="..\bin\release\netDxf.dll" />
<File Id="_32" Source="..\bin\release\OpenTK.dll" />
<File Id="_33" Source="..\bin\release\OpenTK.GLControl.dll" />
<File Id="_34" Source="..\bin\release\quadhil.xml" />
<File Id="_35" Source="..\bin\release\SharpKml.dll" />
<File Id="_36" Source="..\bin\release\System.Data.SQLite.dll" />
<File Id="_37" Source="..\bin\release\System.Speech.dll" />
<File Id="_38" Source="..\bin\release\Updater.exe" />
<File Id="_39" Source="..\bin\release\Updater.exe.config" />
<File Id="_40" Source="..\bin\release\Updater.pdb" />
<File Id="_41" Source="..\bin\release\ZedGraph.dll" />
2012-04-03 19:58:45 -03:00
</Component>
2012-04-05 21:50:04 -03:00
<Directory Id="Driver41" Name="Driver">
<Component Id="_comp42" Guid="3975a290-2f19-4aa9-97b9-37d45672d063">
<File Id="_43" Source="..\bin\release\Driver\Arduino MEGA 2560.inf" />
2012-04-03 19:58:45 -03:00
</Component>
</Directory>
2012-04-05 21:50:04 -03:00
<Directory Id="es_ES43" Name="es-ES">
<Component Id="_comp44" Guid="02407d9c-9e9f-4e5d-a48d-d7d9fc0846a7">
<File Id="_45" Source="..\bin\release\es-ES\ArdupilotMegaPlanner.resources.dll" />
2012-04-03 19:58:45 -03:00
</Component>
</Directory>
2012-04-05 21:50:04 -03:00
<Directory Id="fr45" Name="fr">
<Component Id="_comp46" Guid="74e19d89-486a-487d-9053-be1c34b8e7d9">
<File Id="_47" Source="..\bin\release\fr\ArdupilotMegaPlanner.resources.dll" />
2012-04-03 19:58:45 -03:00
</Component>
</Directory>
2012-04-05 21:50:04 -03:00
<Directory Id="it_IT47" Name="it-IT">
<Component Id="_comp48" Guid="0003cdb4-191e-4771-a098-4e35e5eea039">
<File Id="_49" Source="..\bin\release\it-IT\ArdupilotMegaPlanner.resources.dll" />
2012-04-03 19:58:45 -03:00
</Component>
</Directory>
2012-04-05 21:50:04 -03:00
<Directory Id="m3u49" Name="m3u">
<Component Id="_comp50" Guid="fc43d9e6-6966-4682-884f-655b48d2cb21">
<File Id="_51" Source="..\bin\release\m3u\both.m3u" />
<File Id="_52" Source="..\bin\release\m3u\hud.m3u" />
<File Id="_53" Source="..\bin\release\m3u\map.m3u" />
<File Id="_54" Source="..\bin\release\m3u\networklink.kml" />
2012-04-03 19:58:45 -03:00
</Component>
</Directory>
2012-04-05 21:50:04 -03:00
<Directory Id="pl54" Name="pl">
<Component Id="_comp55" Guid="f8b404d3-6d8b-459b-81ae-5538993f5f93">
<File Id="_56" Source="..\bin\release\pl\ArdupilotMegaPlanner.resources.dll" />
2012-04-03 19:58:45 -03:00
</Component>
</Directory>
2012-04-05 21:50:04 -03:00
<Directory Id="Resources56" Name="Resources">
<Component Id="_comp57" Guid="455d632e-d45a-4d33-8686-48c2e734c6a2">
<File Id="_58" Source="..\bin\release\Resources\MAVCmd.txt" />
<File Id="_59" Source="..\bin\release\Resources\Welcome_to_Michael_Oborne.rtf" />
2012-04-03 19:58:45 -03:00
</Component>
</Directory>
2012-04-05 21:50:04 -03:00
<Directory Id="ru_RU59" Name="ru-RU">
<Component Id="_comp60" Guid="d8f500bc-350b-4b04-9926-ba6308e4dbb4">
<File Id="_61" Source="..\bin\release\ru-RU\ArdupilotMegaPlanner.resources.dll" />
2012-04-03 19:58:45 -03:00
</Component>
</Directory>
2012-04-05 21:50:04 -03:00
<Directory Id="zh_Hans61" Name="zh-Hans">
<Component Id="_comp62" Guid="698d99e5-250c-435f-b596-dd99d9c68e64">
<File Id="_63" Source="..\bin\release\zh-Hans\ArdupilotMegaPlanner.resources.dll" />
2012-04-03 19:58:45 -03:00
</Component>
</Directory>
2012-04-05 21:50:04 -03:00
<Directory Id="zh_TW63" Name="zh-TW">
<Component Id="_comp64" Guid="d051d520-b580-4990-b1ab-12107aa8571f">
<File Id="_65" Source="..\bin\release\zh-TW\ArdupilotMegaPlanner.resources.dll" />
2012-04-03 19:58:45 -03:00
</Component>
</Directory>
<Directory Id="drivers" Name="Drivers">
<Component Id="MyDriver" Guid="{6AC8226E-A005-437e-A3CD-0FC32D9A346F}">
<File Id="apm2inf" Source="..\Driver\Arduino MEGA 2560.inf" />
<difx:Driver AddRemovePrograms='no' Legacy="yes" PlugAndPlayPrompt="no" />
</Component>
</Directory>
</Directory>
</Directory>
<Directory Id="ProgramMenuFolder">
<Directory Id="ApplicationProgramsFolder" Name="APM Planner" />
</Directory>
</Directory>
<DirectoryRef Id="ApplicationProgramsFolder">
<Component Id="ApplicationShortcut" Guid="{8BC628BA-08A0-43d6-88C8-D4C007AC4607}">
<Shortcut Id="ApplicationStartMenuShortcut" Name="APM Planner" Description="Ardupilot Mega Planner" Target="[APMPlanner]ArdupilotMegaPlanner.exe" WorkingDirectory="APMPlanner" />
<RemoveFolder Id="ApplicationProgramsFolder" On="uninstall" />
<Shortcut Id="UninstallProduct" Name="Uninstall APM Planner" Description="Uninstalls My Application" Target="[System64Folder]msiexec.exe" Arguments="/x [ProductCode]" />
<RegistryValue Root="HKCU" Key="Software\MichaelOborne\APMPlanner" Name="installed" Type="integer" Value="1" KeyPath="yes" />
</Component>
</DirectoryRef>
<Feature Id="MyFeature" Title="My 1st Feature" Level="1">
<ComponentRef Id="InstallDirPermissions" />
2012-04-05 21:50:04 -03:00
<ComponentRef Id="_comp1" />
2012-04-03 19:58:45 -03:00
<ComponentRef Id="_comp42" />
<ComponentRef Id="_comp44" />
2012-04-05 21:50:04 -03:00
<ComponentRef Id="_comp46" />
2012-04-03 19:58:45 -03:00
<ComponentRef Id="_comp48" />
2012-04-05 21:50:04 -03:00
<ComponentRef Id="_comp50" />
<ComponentRef Id="_comp55" />
<ComponentRef Id="_comp57" />
<ComponentRef Id="_comp60" />
<ComponentRef Id="_comp62" />
<ComponentRef Id="_comp64" />
2012-04-03 19:58:45 -03:00
<ComponentRef Id="ApplicationShortcut" />
<ComponentRef Id="MyDriver" />
</Feature>
<!-- Step 2: Add UI to your installer / Step 4: Trigger the custom action -->
<Property Id="WIXUI_INSTALLDIR" Value="APMPlanner" />
<UI>
<UIRef Id="WixUI_InstallDir" />
<Publish Dialog="ExitDialog"
Control="Finish"
Event="DoAction"
Value="LaunchApplication">WIXUI_EXITDIALOGOPTIONALCHECKBOX = 1 and NOT Installed</Publish>
</UI>
<Property Id="WIXUI_EXITDIALOGOPTIONALCHECKBOXTEXT" Value="Launch APM Planner" />
<!-- Step 3: Include the custom action -->
2012-04-05 21:50:04 -03:00
<Property Id="WixShellExecTarget" Value="[#_5]" />
2012-04-03 19:58:45 -03:00
<CustomAction Id="LaunchApplication"
BinaryKey="WixCA"
DllEntry="WixShellExec"
Impersonate="yes" />
</Product>
</Wix>