<Product\r
UpgradeCode="$(var.UpgradeGuid)"\r
Name="$(var.ProductName) $(var.VersionNumberUserVisible) $(var.PlatformUserVisible)"\r
<Product\r
UpgradeCode="$(var.UpgradeGuid)"\r
Name="$(var.ProductName) $(var.VersionNumberUserVisible) $(var.PlatformUserVisible)"\r
Keywords="$(var.PackageKeywords)"\r
Description="$(var.PackageDescription)"\r
Comments="$(var.PackageComments)"\r
Manufacturer="$(var.PackageManufacturer)"\r
InstallerVersion="300"\r
Keywords="$(var.PackageKeywords)"\r
Description="$(var.PackageDescription)"\r
Comments="$(var.PackageComments)"\r
Manufacturer="$(var.PackageManufacturer)"\r
InstallerVersion="300"\r
\r
<!-- flag is set if the install will trigger an upgrade of an existing install -->\r
<UpgradeVersion Property="PREVIOUSVERSIONSINSTALLED" Maximum="$(var.VersionNumberInternal)" IncludeMaximum="no" />\r
\r
<!-- flag is set if the install will trigger an upgrade of an existing install -->\r
<UpgradeVersion Property="PREVIOUSVERSIONSINSTALLED" Maximum="$(var.VersionNumberInternal)" IncludeMaximum="no" />\r
<!-- Launch Condition related properties ................................................................................. -->\r
<Property Id="VERSIONIE">\r
<RegistrySearch Id="RegSearchIeVersion" Root="HKLM" Key="SOFTWARE\Microsoft\Internet Explorer" Name="Version" Type="raw" Win64="$(var.Win64YesNo)"/>\r
</Property>\r
<Condition Message="[ProductName] needs at least Internet Explorer 5">NOT ((VERSIONIE<<"1") OR (VERSIONIE<<"2") OR (VERSIONIE<<"3") OR (VERSIONIE<<"4"))</Condition>\r
\r
<!-- Launch Condition related properties ................................................................................. -->\r
<Property Id="VERSIONIE">\r
<RegistrySearch Id="RegSearchIeVersion" Root="HKLM" Key="SOFTWARE\Microsoft\Internet Explorer" Name="Version" Type="raw" Win64="$(var.Win64YesNo)"/>\r
</Property>\r
<Condition Message="[ProductName] needs at least Internet Explorer 5">NOT ((VERSIONIE<<"1") OR (VERSIONIE<<"2") OR (VERSIONIE<<"3") OR (VERSIONIE<<"4"))</Condition>\r
\r
<Property Id="GDIPLUSINSTALLED">\r
<DirectorySearch Id="WND" Path="[SystemFolder]">\r
<FileSearch LongName="GDIPlus.dll" />\r
<Property Id="GDIPLUSINSTALLED">\r
<DirectorySearch Id="WND" Path="[SystemFolder]">\r
<FileSearch LongName="GDIPlus.dll" />\r
</Property>\r
<CustomAction Id="Set_ShowChangelog" Property="ShowChangelog" Value="Yes" Return="check" />\r
<CustomAction Id="ShowChangelogAction" Property="TEXTEDITOR" ExeCommand="[INSTALLDIR]changelog.txt" Return="asyncNoWait" />\r
</Property>\r
<CustomAction Id="Set_ShowChangelog" Property="ShowChangelog" Value="Yes" Return="check" />\r
<CustomAction Id="ShowChangelogAction" Property="TEXTEDITOR" ExeCommand="[INSTALLDIR]changelog.txt" Return="asyncNoWait" />\r
- <CustomAction Id="ShowDonatePage" BinaryKey="CustomActionsDLL" DllEntry="OpenDonatePage" />\r
- <CustomAction Id="KillCache" BinaryKey="CustomActionsDLL" DllEntry="TerminateCache" />\r
- <Binary Id="CustomActionsDLL" src="..\..\bin\$(var.ReleasePath)\bin\CustomActions.dll" />\r
+ \r
+ <CustomAction Id="ShowDonatePage" BinaryKey="CustomActionsDLL" DllEntry="OpenDonatePage" />\r
+ \r
+\r
+ <CustomAction Id="KillCache" BinaryKey="CustomActionsDLL" DllEntry="TerminateCache" />\r
+ <Binary Id="CustomActionsDLL" SourceFile="..\..\bin\$(var.ReleasePath)\bin\CustomActions.dll" />\r
\r
<!-- Unsafe-check properties and custom actions .......................................................................... -->\r
<Property Id="VSDUIANDADVERTISED">This advertised application will not be installed because it might be unsafe. Contact your administrator to change the installation user interface option of the package to basic.</Property>\r
<CustomAction Id="ERRCA_UIANDADVERTISED" Error="[VSDUIANDADVERTISED]" />\r
\r
<!-- Figure out where a previous installation was, if any ................................................................ -->\r
\r
<!-- Unsafe-check properties and custom actions .......................................................................... -->\r
<Property Id="VSDUIANDADVERTISED">This advertised application will not be installed because it might be unsafe. Contact your administrator to change the installation user interface option of the package to basic.</Property>\r
<CustomAction Id="ERRCA_UIANDADVERTISED" Error="[VSDUIANDADVERTISED]" />\r
\r
<!-- Figure out where a previous installation was, if any ................................................................ -->\r
<CustomAction Id="DefaultTargetDir" Property="INSTALLDIR" Value="[ProgramFiles64Folder]$(var.ProductName)" Execute="immediate" />\r
<Property Id="INSTALLDIR">\r
<RegistrySearch Id="PreviousInstallLocationRegistrySearch" Root="HKLM" Key="Software\[Manufacturer]" Name="Directory" Type="raw" Win64="$(var.Win64YesNo)"/>\r
<CustomAction Id="DefaultTargetDir" Property="INSTALLDIR" Value="[ProgramFiles64Folder]$(var.ProductName)" Execute="immediate" />\r
<Property Id="INSTALLDIR">\r
<RegistrySearch Id="PreviousInstallLocationRegistrySearch" Root="HKLM" Key="Software\[Manufacturer]" Name="Directory" Type="raw" Win64="$(var.Win64YesNo)"/>\r
<FragmentRef Id="StructureFragment"/>\r
\r
<FragmentRef Id="FeaturesFragment" />\r
\r
<FragmentRef Id="UIFragment" />\r
<FragmentRef Id="StructureFragment"/>\r
\r
<FragmentRef Id="FeaturesFragment" />\r
\r
<FragmentRef Id="UIFragment" />\r
<!-- Execute Sequencing ................................................................................................. -->\r
<AdminExecuteSequence />\r
<InstallExecuteSequence>\r
<!-- Execute Sequencing ................................................................................................. -->\r
<AdminExecuteSequence />\r
<InstallExecuteSequence>\r
<AppSearch Sequence="1"></AppSearch>\r
<LaunchConditions After="AppSearch" />\r
<Custom Action="DefaultTargetDir" After="LaunchConditions">INSTALLDIR=""</Custom>\r
<AppSearch Sequence="1"></AppSearch>\r
<LaunchConditions After="AppSearch" />\r
<Custom Action="DefaultTargetDir" After="LaunchConditions">INSTALLDIR=""</Custom>\r
- <RemoveExistingProducts After="FindRelatedProducts"><![CDATA[PREVIOUSVERSIONSINSTALLED OR (NOT NEWERVERSIONDETECTED AND OKTODOWNGRADE = 1)]]></RemoveExistingProducts>\r
- <Custom Action="KillCache" After="RemoveExistingProducts">Installed</Custom>\r
+ \r
+ <RemoveExistingProducts After="InstallFinalize"><![CDATA[PREVIOUSVERSIONSINSTALLED OR (NOT NEWERVERSIONDETECTED AND OKTODOWNGRADE = 1)]]></RemoveExistingProducts>\r
+ \r
+ <Custom Action="KillCache" After="RemoveExistingProducts">Installed</Custom>\r
+ \r