[tbb-commits] [Git][tpo/applications/tor-browser-build][main] Bug 40793: Add some metadata also to the Windows installer

Pier Angelo Vendrame (@pierov) git at gitlab.torproject.org
Mon Feb 27 17:57:39 UTC 2023



Pier Angelo Vendrame pushed to branch main at The Tor Project / Applications / tor-browser-build


Commits:
8d0aeaff by Pier Angelo Vendrame at 2023-02-27T18:57:02+01:00
Bug 40793: Add some metadata also to the Windows installer

- - - - -


2 changed files:

- projects/browser/windows-installer.nsi
- projects/firefox/config


Changes:

=====================================
projects/browser/windows-installer.nsi
=====================================
@@ -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


=====================================
projects/firefox/config
=====================================
@@ -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("-.*") %]'



View it on GitLab: https://gitlab.torproject.org/tpo/applications/tor-browser-build/-/commit/8d0aeafffa4e5983736c55bc9776f9f12754ab21

-- 
View it on GitLab: https://gitlab.torproject.org/tpo/applications/tor-browser-build/-/commit/8d0aeafffa4e5983736c55bc9776f9f12754ab21
You're receiving this email because of your account on gitlab.torproject.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.torproject.org/pipermail/tbb-commits/attachments/20230227/f23e0df0/attachment-0001.htm>


More information about the tbb-commits mailing list