mirror of
https://gitlab.freedesktop.org/dabrain34/GstPipelineStudio.git
synced 2024-11-25 18:41:03 +00:00
66 lines
2.3 KiB
XML
66 lines
2.3 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi">
|
|
<Product Id="*"
|
|
Language="1033"
|
|
Manufacturer="dabrain34"
|
|
Name="GstPipelineStudio"
|
|
UpgradeCode="$(var.GPSUpgradeCode)"
|
|
Version="$(var.GPSVersion)">
|
|
|
|
<Package InstallScope="perMachine" Compressed="yes" />
|
|
|
|
<MajorUpgrade DowngradeErrorMessage="A later version of [ProductName] is already installed. Setup will now exit." />
|
|
|
|
<MediaTemplate EmbedCab="yes" />
|
|
|
|
<UIRef Id="WixUI_Mondo" />
|
|
<WixVariable Id="WixUILicenseRtf" Value="LICENSE.rtf" />
|
|
|
|
<Directory Id="TARGETDIR" Name="SourceDir">
|
|
<Directory Id="ProgramMenuFolder">
|
|
<Directory Id="GPSAppShortcuts" Name="GStreamer Pipeline Studio" />
|
|
</Directory>
|
|
<Directory Id="ProgramFilesFolder">
|
|
<Directory Id="INSTALLFOLDER" Name="GstPipelineStudio">
|
|
<Component Id="ProductComponent">
|
|
<File KeyPath="yes" Source="gps.bat">
|
|
<Shortcut Id="GPSAppShortcut"
|
|
Directory="GPSAppShortcuts"
|
|
Name="GPSApp"
|
|
WorkingDirectory="INSTALLFOLDER"
|
|
Advertise="yes"
|
|
Icon="icon.ico"
|
|
IconIndex="0"
|
|
>
|
|
</Shortcut>
|
|
</File>
|
|
<RemoveFolder Id="DeleteTheGPSAppShortcut"
|
|
Directory="GPSAppShortcuts"
|
|
On="uninstall" />
|
|
</Component>
|
|
</Directory>
|
|
</Directory>
|
|
</Directory>
|
|
|
|
<Property Id="WIXUI_INSTALLDIR" Value="INSTALLFOLDER"/>
|
|
<Icon Id="icon.ico" SourceFile="icon.ico"/>
|
|
<Property Id="ARPPRODUCTICON" Value="icon.ico" />
|
|
|
|
<Component Id="UninstallShortcut" Guid="*" Directory="GPSAppShortcuts">
|
|
<Shortcut Id="UninstallGPS"
|
|
Name="Uninstall GPS App"
|
|
Description="Uninstalls GPS App"
|
|
Target="[System64Folder]msiexec.exe"
|
|
Arguments="/x [ProductCode]" />
|
|
<RegistryValue Root="HKCU" Key="Software\GPS\GPSApp" Name="installed" Type="integer" Value="1" KeyPath="yes" />
|
|
</Component>
|
|
|
|
<Feature Id="GPSFeature">
|
|
<ComponentRef Id="ProductComponent" />
|
|
<ComponentGroupRef Id="_gstreamer" />
|
|
<ComponentGroupRef Id="_gstreamer_plugins" />
|
|
<ComponentRef Id="UninstallShortcut" />
|
|
</Feature>
|
|
|
|
</Product>
|
|
</Wix>
|