Bug 445276 - uninstall\helper.EXE does not contain a value for Original file name. r=jmathies

This commit is contained in:
Robert Strong 2008-07-27 18:46:47 -07:00
Родитель 7d3d97ded6
Коммит 376f07a517
3 изменённых файлов: 10 добавлений и 25 удалений

Просмотреть файл

@ -48,6 +48,8 @@ SetDatablockOptimize on
SetCompress off SetCompress off
CRCCheck on CRCCheck on
RequestExecutionLevel user
!addplugindir ./ !addplugindir ./
; empty files - except for the comment line - for generating custom pages. ; empty files - except for the comment line - for generating custom pages.
@ -70,21 +72,11 @@ Var AddDesktopSC
; The following includes are provided by NSIS. ; The following includes are provided by NSIS.
!include FileFunc.nsh !include FileFunc.nsh
!include LogicLib.nsh !include LogicLib.nsh
!include MUI.nsh
!include TextFunc.nsh !include TextFunc.nsh
!include WinMessages.nsh !include WinMessages.nsh
!include WinVer.nsh
!include WordFunc.nsh !include WordFunc.nsh
!include MUI.nsh
; WinVer.nsh was added in the same release that RequestExecutionLevel so check
; if ___WINVER__NSH___ is defined to determine if RequestExecutionLevel is
; available.
!include /NONFATAL WinVer.nsh
!ifdef ___WINVER__NSH___
RequestExecutionLevel user
!else
!warning "Installer will be created without Vista compatibility.$\n \
Upgrade your NSIS installation to at least version 2.22 to resolve."
!endif
!insertmacro GetOptions !insertmacro GetOptions
!insertmacro GetParameters !insertmacro GetParameters
@ -105,6 +97,7 @@ Var AddDesktopSC
!include version.nsh !include version.nsh
VIAddVersionKey "FileDescription" "${BrandShortName} Installer" VIAddVersionKey "FileDescription" "${BrandShortName} Installer"
VIAddVersionKey "OriginalFilename" "setup.exe"
; Must be inserted before other macros that use logging ; Must be inserted before other macros that use logging
!insertmacro _LoggingCommon !insertmacro _LoggingCommon

Просмотреть файл

@ -48,6 +48,8 @@ SetDatablockOptimize on
SetCompress off SetCompress off
CRCCheck on CRCCheck on
RequestExecutionLevel user
!addplugindir ./ !addplugindir ./
; USE_UAC_PLUGIN is temporary until Thunderbird has been updated to use the UAC plugin ; USE_UAC_PLUGIN is temporary until Thunderbird has been updated to use the UAC plugin
@ -65,25 +67,13 @@ Var TmpVal
!include MUI.nsh !include MUI.nsh
!include TextFunc.nsh !include TextFunc.nsh
!include WinMessages.nsh !include WinMessages.nsh
!include WinVer.nsh
!include WordFunc.nsh !include WordFunc.nsh
; WinVer.nsh was added in the same release that RequestExecutionLevel so check
; if ___WINVER__NSH___ is defined to determine if RequestExecutionLevel is
; available.
!include /NONFATAL WinVer.nsh
!ifdef ___WINVER__NSH___
RequestExecutionLevel user
!else
!warning "Installer will be created without Vista compatibility.$\n \
Upgrade your NSIS installation to at least version 2.22 to resolve."
!endif
!insertmacro StrFilter !insertmacro StrFilter
!insertmacro WordReplace !insertmacro WordReplace
!insertmacro un.GetParent !insertmacro un.GetParent
!insertmacro un.LineFind
!insertmacro un.TrimNewLines
; The following includes are custom. ; The following includes are custom.
!include branding.nsi !include branding.nsi
@ -95,6 +85,7 @@ Var TmpVal
; This is named BrandShortName helper because we use this for software update ; This is named BrandShortName helper because we use this for software update
; post update cleanup. ; post update cleanup.
VIAddVersionKey "FileDescription" "${BrandShortName} Helper" VIAddVersionKey "FileDescription" "${BrandShortName} Helper"
VIAddVersionKey "OriginalFilename" "helper.exe"
!insertmacro AddDDEHandlerValues !insertmacro AddDDEHandlerValues
!insertmacro CleanVirtualStore !insertmacro CleanVirtualStore

Просмотреть файл

@ -13,4 +13,5 @@ VIAddVersionKey "CompanyName" "${CompanyName}"
VIAddVersionKey "LegalTrademarks" "${BrandShortName} is a Trademark of The Mozilla Foundation." VIAddVersionKey "LegalTrademarks" "${BrandShortName} is a Trademark of The Mozilla Foundation."
VIAddVersionKey "LegalCopyright" "${CompanyName}" VIAddVersionKey "LegalCopyright" "${CompanyName}"
VIAddVersionKey "FileVersion" "${AppVersion}" VIAddVersionKey "FileVersion" "${AppVersion}"
VIAddVersionKey "ProductVersion" "${AppVersion}"
;VIAddVersionKey "Comments" "Comments" ;VIAddVersionKey "Comments" "Comments"