Skip to content
Snippets Groups Projects
Verified Commit 8d0aeaff authored by Pier Angelo Vendrame's avatar Pier Angelo Vendrame :jack_o_lantern:
Browse files

Bug 40793: Add some metadata also to the Windows installer

parent e9dc91e5
No related branches found
No related tags found
1 merge request!670Bug 40793: Add some metadata also to the Windows installer
......@@ -45,6 +45,15 @@
!define UNINST_KEY "Software\Microsoft\Windows\CurrentVersion\Uninstall\[% c('var/ProjectName') %]"
[% END -%]
;--------------------------------
;Metadata
VIProductVersion "[% pc("firefox", "var/browser_series") %].0.0"
VIAddVersionKey "ProductName" "[% c('var/Project_Name') %]"
VIAddVersionKey "ProductVersion" "[% c('var/torbrowser_version') %]"
VIAddVersionKey "FileDescription" "[% c('var/Project_Name') %][% IF system_install_mode -%] System[% END -%] Installer"
VIAddVersionKey "LegalCopyright" "© [% pc("firefox", "var/copyright_year") %] The Tor Project"
;--------------------------------
;Interface Configuration
......@@ -164,7 +173,9 @@ Section "[% c('var/Project_Name') %]" SecBrowser
WriteRegStr HKLM "${UNINST_KEY}" "DisplayName" "[% c('var/Project_Name') %]"
WriteRegStr HKLM "${UNINST_KEY}" "UninstallString" "$\"$INSTDIR\uninstall.exe$\""
WriteRegStr HKLM "${UNINST_KEY}" "QuietUninstallString" "$\"$INSTDIR\uninstall.exe$\" /S"
WriteRegStr HKLM "${UNINST_KEY}" "Publisher" "The Tor Project"
WriteRegStr HKLM "${UNINST_KEY}" "DisplayIcon" "$\"$INSTDIR\[% c('var/exe_name') %].exe$\""
WriteRegStr HKLM "${UNINST_KEY}" "DisplayVersion" "[% c('var/torbrowser_version') %]"
WriteRegDWORD HKLM "${UNINST_KEY}" "NoModify" "1"
WriteRegDWORD HKLM "${UNINST_KEY}" "NoRepair" "1"
${GetSize} "$INSTDIR" "/S=0K" $0 $1 $2
......
......@@ -13,7 +13,8 @@ container:
var:
firefox_platform_version: 102.8.0
firefox_version: '[% c("var/firefox_platform_version") %]esr'
browser_branch: '12.5-1'
browser_series: '12.5'
browser_branch: '[% c("var/browser_series") %]-1'
browser_build: 3
branding_directory_prefix: 'tb'
copyright_year: '[% exec("git show -s --format=%ci").remove("-.*") %]'
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment