packaging: remove hg.exe.local file
authorGregory Szorc <gregory.szorc@gmail.com>
Thu, 24 Oct 2019 21:22:08 -0700
changeset 43517 24633444ff32
parent 43516 d053d3f10b6a
child 43518 7c9f63a5cb14
packaging: remove hg.exe.local file <exe>.local files are used by Windows to set up DLL redirection. But these files are ignored if you embed an application manifest in your binary, which we do. So the existence of this file serves no purpose. So we remove it. Differential Revision: https://phab.mercurial-scm.org/D7160
contrib/packaging/hgpackaging/inno.py
contrib/packaging/inno/mercurial.iss
--- a/contrib/packaging/hgpackaging/inno.py	Wed Oct 23 18:39:28 2019 -0700
+++ b/contrib/packaging/hgpackaging/inno.py	Thu Oct 24 21:22:08 2019 -0700
@@ -29,7 +29,6 @@
 
 PACKAGE_FILES_METADATA = {
     'ReadMe.html': 'Flags: isreadme',
-    'hg.exe': "AfterInstall: Touch('{app}\\hg.exe.local')",
 }
 
 
--- a/contrib/packaging/inno/mercurial.iss	Wed Oct 23 18:39:28 2019 -0700
+++ b/contrib/packaging/inno/mercurial.iss	Thu Oct 24 21:22:08 2019 -0700
@@ -68,7 +68,6 @@
 [UninstallDelete]
 Type: files; Name: {app}\Mercurial.url
 Type: filesandordirs; Name: {app}\default.d
-Type: files; Name: "{app}\hg.exe.local"
 
 [Icons]
 Name: {group}\Uninstall Mercurial; Filename: {uninstallexe}