Changes

Talk:PDFCreator

3,472 bytes added, 12:53, 30 April 2010
MSI Package: new section
For any reason, uninstall of pdfcreator leaves unins000.exe and new installation creates unins001.exe and unins001.dat. So you may check for dat-File rather than exe and delete whole pdfcreator directory before installing. You get strange screens from uninstall without acompaying dat-File.
 
== MSI Package ==
 
Hi, for those who want to have it as an MSI-Package, here is the WIX source I created for my office.
 
<source lang="xml">
<?xml version="1.0" encoding="UTF-8"?>
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi">
<Product Id="{6B2C9F5D-24EF-4557-BC2E-9C9DF182A8D7}" Name="PDFCreator Installation" Language="1031" Version="0.9.7.0" Manufacturer="Justus Bisser" UpgradeCode="{CCC0309B-5D5E-49cf-BA82-C53674AA15E4}" Codepage="1252">
<Package InstallerVersion="200" Compressed="yes" />
 
<Media Id="1" Cabinet="media1.cab" EmbedCab="yes" />
 
<Directory Id="TARGETDIR" Name="SourceDir">
<Directory Id="ProgramFilesFolder">
<Directory Id="INSTALLLOCATION" Name="PDFCreator">
<Component Id="cmpPDFCreatorSetup" Guid="{4DCC16FC-9522-4dcf-8A89-1F5C6FBBDBD6}">
<File Id="filePDFCreatorSetup" KeyPath="yes" Source="PDFCreator\PDFCreator-0_9_7_setup.exe" />
<RegistryKey Root="HKLM"
Key="SOFTWARE\PDFCreator\Program"
Action="createAndRemoveOnUninstall">
<RegistryValue Type="string" Name="UpdateInterval" Value="0" />
</RegistryKey>
</Component>
</Directory>
</Directory>
</Directory>
 
<Property Id="UNINS000DAT">
<DirectorySearch Id="CheckFileDir" Path="[ProgramFilesFolder]\PDFCreator" Depth="0">
<FileSearch Id="CheckFile" Name="unins000.dat" />
</DirectorySearch>
</Property>
<Property Id="UNINS001DAT">
<DirectorySearch Id="CheckFileDir1" Path="[ProgramFilesFolder]\PDFCreator" Depth="0">
<FileSearch Id="CheckFile1" Name="unins001.dat" />
</DirectorySearch>
</Property>
 
<Feature Id="ProductFeature" Title="PDFCreator" Level="1">
<!-- TODO: Remove the comments around this ComponentRef element and the Component above in order to add resources to this installer. -->
<!-- <ComponentRef Id="ProductComponent" /> -->
<ComponentRef Id="cmpPDFCreatorSetup"/>
</Feature>
<InstallExecuteSequence>
<Custom Action="InstallPDFCreator" After='UpgradePDFCreator' />
<Custom Action="UpgradePDFCreator" After="InstallFinalize"/>
<Custom Action="UpgradePDFCreator1" After="InstallFinalize"/>
<Custom Action="UninstallPDFCreator" Before="UnpublishFeatures"/>
<Custom Action="UninstallPDFCreator1" Before="UnpublishFeatures"/>
</InstallExecuteSequence>
 
<CustomAction Id="InstallPDFCreator"
FileKey="filePDFCreatorSetup"
ExeCommand=' /silent /norestart /components=\"!toolbar\" /tasks=\"!desktop_icon\"" /f"'
Return='ignore'
>NOT Installed</CustomAction>
<CustomAction Id="UpgradePDFCreator"
Directory="INSTALLLOCATION"
ExeCommand='[ProgramFilesFolder]\PDFCreator\unins000.exe /VERYSILENT /SUPPRESSMSGBOXES'
Return='ignore'
>UNINS000DAT</CustomAction>
<CustomAction Id="UninstallPDFCreator"
Directory="INSTALLLOCATION"
ExeCommand='[ProgramFilesFolder]\PDFCreator\unins000.exe /VERYSILENT /SUPPRESSMSGBOXES'
Return='ignore'
>UNINS000DAT</CustomAction>
<CustomAction Id="UpgradePDFCreator1"
Directory="INSTALLLOCATION"
ExeCommand='[ProgramFilesFolder]\PDFCreator\unins001.exe /VERYSILENT /SUPPRESSMSGBOXES'
Return='ignore'
>UNINS001DAT</CustomAction>
<CustomAction Id="UninstallPDFCreator1"
Directory="INSTALLLOCATION"
ExeCommand='[ProgramFilesFolder]\PDFCreator\unins001.exe /VERYSILENT /SUPPRESSMSGBOXES'
Return='ignore'
>UNINS001DAT</CustomAction>
</Product>
</Wix>
</source>
Anonymous user