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:20:11 +01:00
parent 1a8873d7be
commit 92b7370b2a

View 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