]> git.lyx.org Git - features.git/commitdiff
Win installer: disable a feature
authorUwe Stöhr <uwestoehr@lyx.org>
Mon, 13 Nov 2017 00:19:45 +0000 (01:19 +0100)
committerUwe Stöhr <uwestoehr@lyx.org>
Mon, 13 Nov 2017 00:19:45 +0000 (01:19 +0100)
checking that the Win installer is already currently running doesn't work with the current Unicode compatible NSIS plugin

development/Win32/packaging/installer/include/init.nsh

index d43b4ef6e8a5d9efa63479f4cf6fba095e873cd7..a5f610dd77fda87f39f16fe33ffe3d89be452f9e 100644 (file)
@@ -603,14 +603,15 @@ Function .onInit
     Quit
   ${endif}
   
-  # fixme
+  # Fixme: the Unicode version of FindProcDLL::FindProc
+  # reports always that it is already running
   # check that the installer is not currently running
-  FindProcDLL::FindProc "${BundleExeFile}"
-  ${if} $R0 == "1"
-   MessageBox MB_OK|MB_ICONSTOP "$(InstallRunning)" /SD IDOK
-   Abort
-  ${endif}
-  FindProcDLL::FindProc "${ExeFile}"
+  #FindProcDLL::FindProc "${BundleExeFile}"
+  #${if} $R0 == "1"
+  # MessageBox MB_OK|MB_ICONSTOP "$(InstallRunning)" /SD IDOK
+  # Abort
+  #${endif}
+  #FindProcDLL::FindProc "${ExeFile}"
   #${if} $R0 == "1"
   # MessageBox MB_OK|MB_ICONSTOP "$(InstallRunning)" /SD IDOK
   # Abort