105 lines
3.9 KiB
XML
105 lines
3.9 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi" xmlns:util="http://schemas.microsoft.com/wix/UtilExtension">
|
|
<Product Id="*" Name="ZSG Import Service" Language="1031" Codepage="1252" Version="$(var.ProductVersion)" Manufacturer="Digital Data" UpgradeCode="{3AF6A644-CBC5-4671-83C9-F9DFA58376EC}">
|
|
<Package
|
|
Id="*"
|
|
Keywords="Installer"
|
|
Description="[ProductName] Installer"
|
|
Comments="Copyright 2016 [Manufacturer]"
|
|
Manufacturer="[Manufacturer]"
|
|
InstallerVersion="100"
|
|
Languages="1031"
|
|
Compressed="yes"
|
|
SummaryCodepage="1252"
|
|
InstallScope="perMachine"
|
|
/>
|
|
|
|
<Media Id='1' Cabinet='Sample.cab' EmbedCab='yes' DiskPrompt='CD-ROM #1' />
|
|
<Property Id='DiskPrompt' Value="Record Organizer Install" />
|
|
|
|
<MajorUpgrade
|
|
AllowDowngrades="no"
|
|
AllowSameVersionUpgrades="no"
|
|
DowngradeErrorMessage="Eine neuere Version von [ProductName] ist bereits installiert. Das Setup wird beendet."
|
|
/>
|
|
|
|
<Property Id="APPLICATIONFOLDER">
|
|
<RegistrySearch Key="Software\[Manufacturer]\[ProductName]" Root="HKCU" Type="raw" Id="APPLICATIONFOLDER_REGSEARCH" Name="Path" />
|
|
</Property>
|
|
|
|
<Property Id="PREVIOUSVERSIONSINSTALLED" Secure="yes" />
|
|
<Upgrade Id="{3AF6A644-CBC5-4671-83C9-F9DFA58376EC}">
|
|
<UpgradeVersion
|
|
Minimum="1.0.0.0" Maximum="99.0.0.0"
|
|
Property="PREVIOUSVERSIONSINSTALLED"
|
|
IncludeMinimum="yes" IncludeMaximum="no" />
|
|
</Upgrade>
|
|
|
|
<!-- Legt das Icon fest -->
|
|
<Icon Id="AppIcon" SourceFile="ZSG_Import.exe" />
|
|
<!-- Zeige Icon in Systemsteuerung > Programme entfernen -->
|
|
<Property Id="ARPPRODUCTICON" Value="AppIcon" />
|
|
|
|
<Directory Id="TARGETDIR" Name="SourceDir">
|
|
<Directory Id="ProgramFilesFolder">
|
|
<Directory Id="MANUFACTURERDIR" Name="Digital Data">
|
|
<Directory Id="INSTALLDIR" Name="ZSG Import Service" />
|
|
</Directory>
|
|
</Directory>
|
|
</Directory>
|
|
|
|
<DirectoryRef Id="INSTALLDIR">
|
|
<Component Id="ZSG_IMPORT" Guid="{4225A29C-E2AE-4788-B61E-4BC0884B9FE7}">
|
|
<File Id="ZSG_Import.exe" Name="ZSG_Import.exe" KeyPath="yes" Checksum="yes"></File>
|
|
<File Id="ZSG_Import.exe.config" Name="ZSG_Import.exe.config" Checksum="yes"></File>
|
|
<File Id="Interop.WINDREAMLib.dll" Name="Interop.WINDREAMLib.dll" Checksum="yes"></File>
|
|
|
|
<ServiceInstall
|
|
Id="ServiceInstaller"
|
|
Type="ownProcess"
|
|
Name="[ProductName]"
|
|
DisplayName="[ProductName]"
|
|
Description="ZSG Import Service"
|
|
Start="auto"
|
|
ErrorControl="normal" />
|
|
</Component>
|
|
|
|
<Component Id="REGISTRY_KEYS" Guid="{E39F0958-94B8-40FE-A1A6-60F12700EAC2}">
|
|
<RegistryKey Root="HKLM" Key="Software">
|
|
|
|
<RegistryKey Key="[Manufacturer]">
|
|
<RegistryKey Key="[ProductName]" ForceCreateOnInstall="yes" ForceDeleteOnUninstall="yes" Id="REGKEYINSTALLDIR">
|
|
<RegistryValue Type="string" Value="[INSTALLDIR]" Name="Path" />
|
|
</RegistryKey>
|
|
</RegistryKey>
|
|
|
|
</RegistryKey>
|
|
|
|
<util:RemoveFolderEx Id="RemoveApplicationFolder" On="uninstall" Property="APPLICATIONFOLDER" />
|
|
</Component>
|
|
</DirectoryRef>
|
|
|
|
<Feature Id="MainApplication" Title="Main Application" Level="1">
|
|
<ComponentRef Id="ZSG_IMPORT" />
|
|
<ComponentRef Id="REGISTRY_KEYS" />
|
|
</Feature>
|
|
|
|
<!-- Legt das Standard-Installationsverzeichnis fest-->
|
|
<Property Id="WIXUI_INSTALLDIR" Value="INSTALLDIR" />
|
|
|
|
<UI>
|
|
<UIRef Id="WixUI_InstallDir" />
|
|
<UIRef Id="WixUI_ErrorProgressText" />
|
|
<Publish Dialog="WelcomeDlg"
|
|
Control="Next"
|
|
Event="NewDialog"
|
|
Value="InstallDirDlg"
|
|
Order="2">1</Publish>
|
|
<Publish Dialog="InstallDirDlg"
|
|
Control="Back"
|
|
Event="NewDialog"
|
|
Value="WelcomeDlg"
|
|
Order="2">1</Publish>
|
|
</UI>
|
|
</Product>
|
|
</Wix> |