1 |
<?xml version="1.0" encoding="utf-8"?> |
2 |
<?include $(sys.SOURCEFILEDIR)openpgpmdrv-include.wxs ?> |
3 |
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi" |
4 |
xmlns:difx='http://schemas.microsoft.com/wix/DifxAppExtension'> |
5 |
<Product UpgradeCode="$(var.UpgradeCode)" Name="OpenPGP Smartcard minidriver (x64)" Id="*" Version="$(var.Version)" Manufacturer="OpenPGP" Language="1033"> |
6 |
<Package Id="*" Manufacturer="Fedict" InstallerVersion="200" Platform="x64" Languages="1033" Compressed="yes" SummaryCodepage="1252" /> |
7 |
|
8 |
<!-- do not edit the rtf file with word! The installer will be unable to read the license --> |
9 |
<WixVariable Id="WixUILicenseRtf" Value="Resources\gnu-lgpl.rtf" /> |
10 |
|
11 |
<Upgrade Id='$(var.UpgradeCode)'> |
12 |
<UpgradeVersion OnlyDetect='no' Property='OLDERFOUND' |
13 |
Minimum='0.0.0.1' IncludeMinimum='yes' |
14 |
Maximum='$(var.Version)' IncludeMaximum='no' /> |
15 |
<UpgradeVersion OnlyDetect='yes' Property='SELFFOUND' |
16 |
Minimum='$(var.Version)' IncludeMinimum='yes' |
17 |
Maximum='$(var.Version)' IncludeMaximum='yes' /> |
18 |
<UpgradeVersion OnlyDetect='yes' Property='NEWERFOUND' |
19 |
Minimum='$(var.Version)' IncludeMinimum='no' /> |
20 |
</Upgrade> |
21 |
<CustomAction Id='NoDowngrade' Error='A later version of OpenPGP Smartcard minidriver is already installed.' /> |
22 |
<CustomAction Id='AlreadyUpdated' Error='The current version of OpenPGP Smartcard minidriver is already installed.' /> |
23 |
<InstallExecuteSequence> |
24 |
<Custom Action='AlreadyUpdated' After='FindRelatedProducts'>SELFFOUND</Custom> |
25 |
<Custom Action='NoDowngrade' After='FindRelatedProducts'>NEWERFOUND</Custom> |
26 |
<RemoveExistingProducts Before="InstallInitialize" /> |
27 |
</InstallExecuteSequence> |
28 |
<UIRef Id="WixUI_Minimal" /> |
29 |
<UIRef Id="WixUI_ErrorProgressText" /> |
30 |
<Directory Id="TARGETDIR" Name="SourceDir"> |
31 |
<Directory Id="ProgramFilesFolder"> |
32 |
<Directory Id="APPLICATIONROOTDIRECTORY" Name="OpenPGP Smartcard Minidriver"> |
33 |
<Component Id="openpgpmdrv" Guid="CE7DCBB4-8FF3-49af-AC0B-39A16C4DC8F7" > |
34 |
<File Id="openpgpmdrv.inf" Name="openpgpmdrv.inf" Source="$(sys.SOURCEFILEDIR)Release\openpgpmdrv.inf" KeyPath="yes" DiskId="1" /> |
35 |
<File Id="openpgpmdrv64.cat" Name="openpgpmdrv64.cat" Source="$(sys.SOURCEFILEDIR)Release\openpgpmdrv.cat" KeyPath="no" DiskId="1" /> |
36 |
<File Id="openpgpmdrv32.dll" Name="openpgpmdrv32.dll" Source="$(sys.SOURCEFILEDIR)Release\openpgpmdrv32.dll" KeyPath="no" DiskId="1" /> |
37 |
<File Id="openpgpmdrv64.dll" Name="openpgpmdrv64.dll" Source="$(sys.SOURCEFILEDIR)Release\openpgpmdrv64.dll" KeyPath="no" DiskId="1" /> |
38 |
<difx:Driver ForceInstall="no" PlugAndPlayPrompt="no" DeleteFiles="yes" /> |
39 |
</Component> |
40 |
</Directory> |
41 |
</Directory> |
42 |
</Directory> |
43 |
<Feature Id="DefaultFeature" Level="1"> |
44 |
<ComponentRef Id="openpgpmdrv" /> |
45 |
</Feature> |
46 |
<Media Id="1" EmbedCab="yes" Cabinet="_6F571DCE799A4EBF99CB3F31745F03E2" /> |
47 |
</Product> |
48 |
</Wix> |