ardupilot/Tools/ArdupilotMegaPlanner/Msi/installer.wxs

341 lines
17 KiB
Plaintext
Raw Normal View History

<?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">
2012-05-23 20:52:07 -03:00
<Product Id="*" Name="APM Planner" Language="1033" Version="1.1.87" 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" />
<Upgrade Id="{625389D7-EB3C-4d77-A5F6-A285CF99437D}">
2012-05-23 20:52:07 -03:00
<UpgradeVersion OnlyDetect="yes" Minimum="1.1.87" Property="NEWERVERSIONDETECTED" IncludeMinimum="no" />
<UpgradeVersion OnlyDetect="no" Maximum="1.1.87" Property="OLDERVERSIONBEINGUPGRADED" IncludeMaximum="no" />
</Upgrade>
<InstallExecuteSequence>
<RemoveExistingProducts After="InstallInitialize" />
</InstallExecuteSequence>
<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-05-23 20:52:07 -03:00
<Component Id="_comp1" Guid="54739335-bce5-4628-aefc-8831aed4d310">
<File Id="_2" Source="..\bin\release\.gdbinit" />
<File Id="_3" Source="..\bin\release\.gitignore" />
<File Id="_4" Source="..\bin\release\aerosim3.91.txt" />
<File Id="_5" Source="..\bin\release\alglibnet2.dll" />
<File Id="_6" Source="..\bin\release\ArduCopterConfig.xml" />
<File Id="_7" Source="..\bin\release\ArduinoCPP.exe" />
<File Id="_8" Source="..\bin\release\ArduinoCPP.exe.config" />
<File Id="_9" Source="..\bin\release\ArduinoCPP.pdb" />
2012-05-23 20:52:07 -03:00
<File Id="_10" Source="..\bin\release\ArdupilotMegaPlanner.application" />
<File Id="_11" Source="..\bin\release\ArdupilotMegaPlanner.exe" ><netfx:NativeImage Id="ngen_ArdupilotMegaPlannerexe"/> </File>
<File Id="_12" Source="..\bin\release\ArdupilotMegaPlanner.exe.config" />
<File Id="_13" Source="..\bin\release\ArdupilotMegaPlanner.exe.manifest" />
<File Id="_14" Source="..\bin\release\ArdupilotMegaPlanner.pdb" />
<File Id="_15" Source="..\bin\release\block_plane_0.dae" />
<File Id="_16" Source="..\bin\release\BSE.Windows.Forms.dll" />
<File Id="_17" Source="..\bin\release\BSE.Windows.Forms.pdb" />
<File Id="_18" Source="..\bin\release\BSE.Windows.Forms.xml" />
<File Id="_19" Source="..\bin\release\Core.dll" />
<File Id="_20" Source="..\bin\release\dataflashlog.xml" />
<File Id="_21" Source="..\bin\release\DirectShowLib-2005.dll" />
<File Id="_22" Source="..\bin\release\eeprom.bin" />
<File Id="_23" Source="..\bin\release\GMap.NET.Core.dll" />
<File Id="_24" Source="..\bin\release\GMap.NET.Core.pdb" />
<File Id="_25" Source="..\bin\release\GMap.NET.WindowsForms.dll" />
<File Id="_26" Source="..\bin\release\GMap.NET.WindowsForms.pdb" />
<File Id="_27" Source="..\bin\release\hud.html" />
<File Id="_28" Source="..\bin\release\ICSharpCode.SharpZipLib.dll" />
<File Id="_29" Source="..\bin\release\Ionic.Zip.Reduced.dll" />
<File Id="_30" Source="..\bin\release\IronPython.dll" />
<File Id="_31" Source="..\bin\release\IronPython.Modules.dll" />
<File Id="_32" Source="..\bin\release\KMLib.dll" />
<File Id="_33" Source="..\bin\release\log4net.dll" />
<File Id="_34" Source="..\bin\release\mavcmd.xml" />
<File Id="_35" Source="..\bin\release\MAVLink.xml" />
<File Id="_36" Source="..\bin\release\MetaDataExtractor.dll" />
<File Id="_37" Source="..\bin\release\Microsoft.DirectX.DirectInput.dll" />
<File Id="_38" Source="..\bin\release\Microsoft.DirectX.dll" />
<File Id="_39" Source="..\bin\release\Microsoft.Dynamic.dll" />
<File Id="_40" Source="..\bin\release\Microsoft.Scripting.Core.dll" />
<File Id="_41" Source="..\bin\release\Microsoft.Scripting.Debugging.dll" />
<File Id="_42" Source="..\bin\release\Microsoft.Scripting.dll" />
<File Id="_43" Source="..\bin\release\Microsoft.Scripting.ExtensionAttribute.dll" />
<File Id="_44" Source="..\bin\release\netDxf.dll" />
<File Id="_45" Source="..\bin\release\OpenTK.dll" />
<File Id="_46" Source="..\bin\release\OpenTK.GLControl.dll" />
<File Id="_47" Source="..\bin\release\ParameterMetaData.xml" />
<File Id="_48" Source="..\bin\release\quadhil.xml" />
<File Id="_49" Source="..\bin\release\SharpKml.dll" />
<File Id="_50" Source="..\bin\release\SharpKml.pdb" />
<File Id="_51" Source="..\bin\release\SharpKml.xml" />
<File Id="_52" Source="..\bin\release\System.Data.SQLite.dll" />
<File Id="_53" Source="..\bin\release\System.Reactive.dll" />
<File Id="_54" Source="..\bin\release\System.Reactive.xml" />
<File Id="_55" Source="..\bin\release\System.Speech.dll" />
<File Id="_56" Source="..\bin\release\Updater.exe" />
<File Id="_57" Source="..\bin\release\Updater.exe.config" />
<File Id="_58" Source="..\bin\release\Updater.pdb" />
<File Id="_59" Source="..\bin\release\version.exe" />
<File Id="_60" Source="..\bin\release\version.txt" />
<File Id="_61" Source="..\bin\release\ZedGraph.dll" />
</Component>
2012-05-23 20:52:07 -03:00
<Directory Id="aircraft61" Name="aircraft">
<Component Id="_comp62" Guid="f7525abd-d2db-433b-adf1-1e6305d81ea3">
<File Id="_63" Source="..\bin\release\aircraft\placeholder.txt" />
</Component>
2012-05-23 20:52:07 -03:00
<Directory Id="arducopter63" Name="arducopter">
<Component Id="_comp64" Guid="d6fc0ba4-748b-4e08-bd72-6d0fe313d156">
<File Id="_65" Source="..\bin\release\aircraft\arducopter\arducopter-set.xml" />
<File Id="_66" Source="..\bin\release\aircraft\arducopter\arducopter.jpg" />
<File Id="_67" Source="..\bin\release\aircraft\arducopter\arducopter.xml" />
<File Id="_68" Source="..\bin\release\aircraft\arducopter\initfile.xml" />
<File Id="_69" Source="..\bin\release\aircraft\arducopter\plus_quad2-set.xml" />
<File Id="_70" Source="..\bin\release\aircraft\arducopter\plus_quad2.xml" />
<File Id="_71" Source="..\bin\release\aircraft\arducopter\quad.nas" />
<File Id="_72" Source="..\bin\release\aircraft\arducopter\README" />
</Component>
2012-05-23 20:52:07 -03:00
<Directory Id="data72" Name="data">
<Component Id="_comp73" Guid="1ab11d5c-b079-4d8c-aea5-4534eee90d2a">
<File Id="_74" Source="..\bin\release\aircraft\arducopter\data\arducopter_half_step.txt" />
<File Id="_75" Source="..\bin\release\aircraft\arducopter\data\arducopter_step.txt" />
<File Id="_76" Source="..\bin\release\aircraft\arducopter\data\rw_generic_pylon.ac" />
</Component>
</Directory>
2012-05-23 20:52:07 -03:00
<Directory Id="Engines76" Name="Engines">
<Component Id="_comp77" Guid="bb4e68be-5a52-4357-b06f-4cdc92445914">
<File Id="_78" Source="..\bin\release\aircraft\arducopter\Engines\a2830-12.xml" />
<File Id="_79" Source="..\bin\release\aircraft\arducopter\Engines\prop10x4.5.xml" />
</Component>
</Directory>
2012-05-23 20:52:07 -03:00
<Directory Id="Models79" Name="Models">
<Component Id="_comp80" Guid="db5a72b7-cd8d-401d-8495-d00ed8714363">
<File Id="_81" Source="..\bin\release\aircraft\arducopter\Models\arducopter.ac" />
<File Id="_82" Source="..\bin\release\aircraft\arducopter\Models\arducopter.xml" />
<File Id="_83" Source="..\bin\release\aircraft\arducopter\Models\plus_quad.ac" />
<File Id="_84" Source="..\bin\release\aircraft\arducopter\Models\plus_quad2.ac" />
<File Id="_85" Source="..\bin\release\aircraft\arducopter\Models\plus_quad2.xml" />
<File Id="_86" Source="..\bin\release\aircraft\arducopter\Models\quad.3ds" />
<File Id="_87" Source="..\bin\release\aircraft\arducopter\Models\shareware_output.3ds" />
<File Id="_88" Source="..\bin\release\aircraft\arducopter\Models\Untitled.ac" />
<File Id="_89" Source="..\bin\release\aircraft\arducopter\Models\Y6_test.ac" />
</Component>
</Directory>
</Directory>
2012-05-23 20:52:07 -03:00
<Directory Id="Rascal89" Name="Rascal">
<Component Id="_comp90" Guid="3cc519f7-7e37-4f8f-bf80-553595f7e535">
<File Id="_91" Source="..\bin\release\aircraft\Rascal\Rascal-keyboard.xml" />
<File Id="_92" Source="..\bin\release\aircraft\Rascal\Rascal-submodels.xml" />
<File Id="_93" Source="..\bin\release\aircraft\Rascal\Rascal.xml" />
<File Id="_94" Source="..\bin\release\aircraft\Rascal\Rascal110-JSBSim-set.xml" />
<File Id="_95" Source="..\bin\release\aircraft\Rascal\Rascal110-JSBSim.xml" />
<File Id="_96" Source="..\bin\release\aircraft\Rascal\Rascal110-splash.rgb" />
<File Id="_97" Source="..\bin\release\aircraft\Rascal\README.Rascal" />
<File Id="_98" Source="..\bin\release\aircraft\Rascal\reset_CMAC.xml" />
<File Id="_99" Source="..\bin\release\aircraft\Rascal\thumbnail.jpg" />
</Component>
2012-05-23 20:52:07 -03:00
<Directory Id="Engines99" Name="Engines">
<Component Id="_comp100" Guid="68422b49-6acd-4c3f-ad68-5f96509e4d11">
<File Id="_101" Source="..\bin\release\aircraft\Rascal\Engines\18x8.xml" />
<File Id="_102" Source="..\bin\release\aircraft\Rascal\Engines\18x8.xml.new" />
<File Id="_103" Source="..\bin\release\aircraft\Rascal\Engines\Zenoah_G-26A.xml" />
<File Id="_104" Source="..\bin\release\aircraft\Rascal\Engines\Zenoah_G-26A.xml.new" />
</Component>
</Directory>
2012-05-23 20:52:07 -03:00
<Directory Id="Models104" Name="Models">
<Component Id="_comp105" Guid="72953216-a441-415a-9c24-758f92c91964">
<File Id="_106" Source="..\bin\release\aircraft\Rascal\Models\Rascal.rgb" />
<File Id="_107" Source="..\bin\release\aircraft\Rascal\Models\Rascal.rgb.new" />
<File Id="_108" Source="..\bin\release\aircraft\Rascal\Models\Rascal110-000-013.ac" />
<File Id="_109" Source="..\bin\release\aircraft\Rascal\Models\Rascal110-000-013.ac.new" />
<File Id="_110" Source="..\bin\release\aircraft\Rascal\Models\Rascal110.xml" />
<File Id="_111" Source="..\bin\release\aircraft\Rascal\Models\Rascal110.xml.new" />
<File Id="_112" Source="..\bin\release\aircraft\Rascal\Models\smoke.png" />
<File Id="_113" Source="..\bin\release\aircraft\Rascal\Models\smoke.png.new" />
<File Id="_114" Source="..\bin\release\aircraft\Rascal\Models\smokeW.xml" />
<File Id="_115" Source="..\bin\release\aircraft\Rascal\Models\smokeW.xml.new" />
<File Id="_116" Source="..\bin\release\aircraft\Rascal\Models\Trajectory-Marker.ac" />
<File Id="_117" Source="..\bin\release\aircraft\Rascal\Models\Trajectory-Marker.ac.new" />
<File Id="_118" Source="..\bin\release\aircraft\Rascal\Models\Trajectory-Marker.xml" />
<File Id="_119" Source="..\bin\release\aircraft\Rascal\Models\Trajectory-Marker.xml.new" />
</Component>
</Directory>
2012-05-23 20:52:07 -03:00
<Directory Id="Systems119" Name="Systems">
<Component Id="_comp120" Guid="2d036768-07c2-4ce1-87d9-44edd2e3c114">
<File Id="_121" Source="..\bin\release\aircraft\Rascal\Systems\110-autopilot.xml" />
<File Id="_122" Source="..\bin\release\aircraft\Rascal\Systems\110-autopilot.xml.new" />
<File Id="_123" Source="..\bin\release\aircraft\Rascal\Systems\airdata.nas" />
<File Id="_124" Source="..\bin\release\aircraft\Rascal\Systems\airdata.nas.new" />
<File Id="_125" Source="..\bin\release\aircraft\Rascal\Systems\electrical.xml" />
<File Id="_126" Source="..\bin\release\aircraft\Rascal\Systems\electrical.xml.new" />
<File Id="_127" Source="..\bin\release\aircraft\Rascal\Systems\main.nas" />
<File Id="_128" Source="..\bin\release\aircraft\Rascal\Systems\main.nas.new" />
<File Id="_129" Source="..\bin\release\aircraft\Rascal\Systems\ugear.nas" />
</Component>
</Directory>
</Directory>
</Directory>
2012-05-23 20:52:07 -03:00
<Directory Id="Driver129" Name="Driver">
<Component Id="_comp130" Guid="0ae56231-a5c0-49f4-905c-2ebf06bbe5ad">
<File Id="_131" Source="..\bin\release\Driver\Arduino MEGA 2560.inf" />
</Component>
</Directory>
2012-05-23 20:52:07 -03:00
<Directory Id="es_ES131" Name="es-ES">
<Component Id="_comp132" Guid="67976d65-2739-47cf-9f0e-cf380e4b278d">
<File Id="_133" Source="..\bin\release\es-ES\ArdupilotMegaPlanner.resources.dll" />
</Component>
</Directory>
2012-05-23 20:52:07 -03:00
<Directory Id="fr133" Name="fr">
<Component Id="_comp134" Guid="ba33c729-1329-4947-8ff5-7fc42b4a3ace">
<File Id="_135" Source="..\bin\release\fr\ArdupilotMegaPlanner.resources.dll" />
</Component>
</Directory>
2012-05-23 20:52:07 -03:00
<Directory Id="it_IT135" Name="it-IT">
<Component Id="_comp136" Guid="e6482519-26dd-43ca-9992-7032db26f87b">
<File Id="_137" Source="..\bin\release\it-IT\ArdupilotMegaPlanner.resources.dll" />
</Component>
</Directory>
2012-05-23 20:52:07 -03:00
<Directory Id="jsbsim137" Name="jsbsim">
<Component Id="_comp138" Guid="c858856a-bc4a-4b44-a0dc-b66365e25c89">
<File Id="_139" Source="..\bin\release\jsbsim\fgout.xml" />
<File Id="_140" Source="..\bin\release\jsbsim\rascal_test.xml" />
</Component>
</Directory>
2012-05-23 20:52:07 -03:00
<Directory Id="m3u140" Name="m3u">
<Component Id="_comp141" Guid="9ebee932-c523-4f73-a5fe-abf49c827119">
<File Id="_142" Source="..\bin\release\m3u\both.m3u" />
<File Id="_143" Source="..\bin\release\m3u\GeoRefnetworklink.kml" />
<File Id="_144" Source="..\bin\release\m3u\hud.m3u" />
<File Id="_145" Source="..\bin\release\m3u\map.m3u" />
<File Id="_146" Source="..\bin\release\m3u\networklink.kml" />
</Component>
</Directory>
2012-05-23 20:52:07 -03:00
<Directory Id="pl146" Name="pl">
<Component Id="_comp147" Guid="72d9f63a-7412-4990-9d39-6d26abf12ffc">
<File Id="_148" Source="..\bin\release\pl\ArdupilotMegaPlanner.resources.dll" />
</Component>
</Directory>
2012-05-23 20:52:07 -03:00
<Directory Id="Resources148" Name="Resources">
<Component Id="_comp149" Guid="1d7ccef3-a373-411c-b7bd-51dcd07f0a5f">
<File Id="_150" Source="..\bin\release\Resources\MAVCmd.txt" />
<File Id="_151" Source="..\bin\release\Resources\MAVCmd.txt.new" />
<File Id="_152" Source="..\bin\release\Resources\Welcome_to_Michael_Oborne.rtf" />
<File Id="_153" Source="..\bin\release\Resources\Welcome_to_Michael_Oborne.rtf.new" />
</Component>
</Directory>
2012-05-23 20:52:07 -03:00
<Directory Id="ru_RU153" Name="ru-RU">
<Component Id="_comp154" Guid="42e78cdc-0546-4b3e-81b9-b8bd31528620">
<File Id="_155" Source="..\bin\release\ru-RU\ArdupilotMegaPlanner.resources.dll" />
</Component>
</Directory>
2012-05-23 20:52:07 -03:00
<Directory Id="zh_Hans155" Name="zh-Hans">
<Component Id="_comp156" Guid="7c16c3c0-d296-4f96-8fd5-aa8a07846a70">
<File Id="_157" Source="..\bin\release\zh-Hans\ArdupilotMegaPlanner.resources.dll" />
</Component>
</Directory>
2012-05-23 20:52:07 -03:00
<Directory Id="zh_TW157" Name="zh-TW">
<Component Id="_comp158" Guid="02102bbe-5a96-4ddf-987c-17cc52d6f661">
<File Id="_159" Source="..\bin\release\zh-TW\ArdupilotMegaPlanner.resources.dll" />
</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" />
<ComponentRef Id="_comp1" />
2012-05-23 20:52:07 -03:00
<ComponentRef Id="_comp62" />
<ComponentRef Id="_comp64" />
<ComponentRef Id="_comp73" />
<ComponentRef Id="_comp77" />
<ComponentRef Id="_comp80" />
<ComponentRef Id="_comp90" />
<ComponentRef Id="_comp100" />
<ComponentRef Id="_comp105" />
<ComponentRef Id="_comp120" />
<ComponentRef Id="_comp130" />
<ComponentRef Id="_comp132" />
<ComponentRef Id="_comp134" />
<ComponentRef Id="_comp136" />
2012-05-23 20:52:07 -03:00
<ComponentRef Id="_comp138" />
<ComponentRef Id="_comp141" />
<ComponentRef Id="_comp147" />
<ComponentRef Id="_comp149" />
<ComponentRef Id="_comp154" />
<ComponentRef Id="_comp156" />
<ComponentRef Id="_comp158" />
<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-05-23 20:52:07 -03:00
<Property Id="WixShellExecTarget" Value="[#_11]" />
<CustomAction Id="LaunchApplication"
BinaryKey="WixCA"
DllEntry="WixShellExec"
Impersonate="yes" />
</Product>
</Wix>