/[openpgpmdrv]/trunk/makemsi/openpgpmdrv32release.wxs
ViewVC logotype

Annotation of /trunk/makemsi/openpgpmdrv32release.wxs

Parent Directory Parent Directory | Revision Log Revision Log


Revision 13 - (hide annotations)
Sat Dec 18 11:04:13 2010 UTC (14 years, 4 months ago) by vletoux
File size: 2873 byte(s)
fix uninstall issue if the process is launched from the msi file
1 vletoux 12 <?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 vletoux 13 <Product UpgradeCode="$(var.UpgradeCode)" Name="OpenPGP Smartcard minidriver (x86)" Id="*" Version="$(var.Version)" Manufacturer="MySmartLogon" Language="1033">
6     <Package Id="*" Manufacturer="MySmartLogon" InstallerVersion="200" Platform="x86" Languages="1033" Compressed="yes" SummaryCodepage="1252" />
7 vletoux 12
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 vletoux 13 Minimum='0.0.0.0' IncludeMinimum='yes'
14 vletoux 12 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="openpgpmdrv32.cat" Name="openpgpmdrv32.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     <difx:Driver ForceInstall="no" PlugAndPlayPrompt="no" DeleteFiles="yes" />
38     </Component>
39     </Directory>
40     </Directory>
41     </Directory>
42     <Feature Id="DefaultFeature" Level="1">
43     <ComponentRef Id="openpgpmdrv" />
44     </Feature>
45     <Media Id="1" EmbedCab="yes" Cabinet="_6F571DCE799A4EBF99CB3F31745F03E2" />
46     </Product>
47     </Wix>

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26