4.104.115
Last change
on this file since d09e7fc was
598aab1f,
checked in by Chris Johns <chrisj@…>, on 08/20/07 at 02:12:48
|
2007-08-20 Chris Johns <chisj@…>
- filewrite.nsi, getparameters.nsi, instance-check.nsi,
mingw-path.nsi, sm-dummy.nsi, strslash.nsi, strstr.nsi,
options.nsi: Added the shared between the 2 installer scripts.
- msys-path.nsi: Fixed the last LF bug.
- rtems-autotools.nsi, rtems-tools.nsi: Fixed the instance check,
added a start menu, remove pages from target installers.
- rtems.ini: Fixed the URL links. Added support link.
- rtems_logo.bmp: Trimmed a little more to get a better image.
- ba-wrap.sh: Stop on a error.
- build-exes.sh: Use the option parameter variables. Change the
order the section appear in the installer.
|
-
Property mode set to
100644
|
File size:
556 bytes
|
Line | |
---|
1 | ; |
---|
2 | ; $Id$ |
---|
3 | ; |
---|
4 | ; RTEMS Tools Installer. |
---|
5 | ; |
---|
6 | ; Copyright Chris Johns (chrisj@rtems.org) |
---|
7 | ; |
---|
8 | |
---|
9 | Function CheckInstance |
---|
10 | Push $R0 |
---|
11 | System::Call 'kernel32::CreateMutexA(i 0, i 0, t "RTEMSTools") i .r1 ?e' |
---|
12 | Pop $R0 |
---|
13 | !ifdef COMMON_FILES |
---|
14 | StrCmp $R0 0 +3 |
---|
15 | MessageBox MB_OK|MB_ICONEXCLAMATION "The installer is already running." |
---|
16 | Abort |
---|
17 | !else |
---|
18 | StrCmp $R0 0 0 +3 |
---|
19 | MessageBox MB_OK|MB_ICONEXCLAMATION "This installer should not be run directly. Please run the rtems${PRODUCT_VERSION}-tools-${RTEMS_BUILD_VERSION}.exe installer." |
---|
20 | Abort |
---|
21 | !endif |
---|
22 | Pop $R0 |
---|
23 | FunctionEnd |
---|
Note: See
TracBrowser
for help on using the repository browser.