diff options
Diffstat (limited to 'contrib/mingw/instance-check.nsi')
-rw-r--r-- | contrib/mingw/instance-check.nsi | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/contrib/mingw/instance-check.nsi b/contrib/mingw/instance-check.nsi deleted file mode 100644 index d8f0c55300..0000000000 --- a/contrib/mingw/instance-check.nsi +++ /dev/null @@ -1,20 +0,0 @@ -; RTEMS Tools Installer. -; -; Copyright Chris Johns (chrisj@rtems.org) -; - -Function CheckInstance - Push $R0 - System::Call 'kernel32::CreateMutexA(i 0, i 0, t "RTEMSTools") i .r1 ?e' - Pop $R0 -!ifdef COMMON_FILES - StrCmp $R0 0 +3 - MessageBox MB_OK|MB_ICONEXCLAMATION "The installer is already running." - Abort -!else - StrCmp $R0 0 0 +3 - MessageBox MB_OK|MB_ICONEXCLAMATION "This installer should not be run directly. Please run the rtems${PRODUCT_VERSION}-tools-${RTEMS_BUILD_VERSION}.exe installer." - Abort -!endif - Pop $R0 -FunctionEnd |