Win installer: disable a feature

checking that the Win installer is already currently running doesn't work with the current Unicode compatible NSIS plugin
This commit is contained in:
Uwe Stöhr 2017-11-13 01:19:45 +01:00
parent 1019d32d0f
commit 9fe1e0f8df

View File

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