diff options
author | Chris Johns <chrisj@rtems.org> | 2007-08-04 06:24:12 +0000 |
---|---|---|
committer | Chris Johns <chrisj@rtems.org> | 2007-08-04 06:24:12 +0000 |
commit | 56f6b90763f719373f7e618d8d82047edc2baa48 (patch) | |
tree | 02612d7c3e5365259600896678ebdd2aba6b01ac /contrib/mingw/rtems-autotools.nsi | |
parent | GCC_RPMREL = 21 (diff) | |
download | rtems-56f6b90763f719373f7e618d8d82047edc2baa48.tar.bz2 |
2007-08-03 Chris Johns <chisj@rtems.org>
* rtems_logo.bmp: Clipped to get the correct proportions
in the installer's header.
* upload.sh: Install only the specific build installers.
* rtems.ini: Change to show the actual web paths.
* version: Build 15.
* build-exes.sh, msys-path.nsi, rtems-autotools.nsi,
rtems-tools.nsi: Fixed MSYS path detection. Fixed the uninstaller
registry data. Changed the way the top level is generated. Now all
the sections are added no matter what target is specified.
Diffstat (limited to 'contrib/mingw/rtems-autotools.nsi')
-rw-r--r-- | contrib/mingw/rtems-autotools.nsi | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/contrib/mingw/rtems-autotools.nsi b/contrib/mingw/rtems-autotools.nsi index e426a913eb..846fb87625 100644 --- a/contrib/mingw/rtems-autotools.nsi +++ b/contrib/mingw/rtems-autotools.nsi @@ -70,13 +70,16 @@ CRCCheck force Section "RTEMS ${RTEMS_TARGET} Tools" SecTools SetDetailsView show + AddSize ${RTEMS_TOOLS_SIZE} /* * Detect if MSYS is installed. */ Call MSYSDetect Pop $9 - + StrCmp $9 "not-found" 0 +3 + MessageBox MB_OK "Could not find a valid MSYS. Please install from http://www.mingw.org/" + Abort SetOutPath "$INSTDIR\Uninstall" SetOutPath "$INSTDIR\Packages\Build" SetOutPath "$INSTDIR\Packages\Build" @@ -351,13 +354,14 @@ done: FunctionEnd Section -Post - WriteUninstaller "$INSTDIR\rtems${PRODUCT_VERSION}-${RTEMS_BUILD_VERSION}-tools-${RTEMS_TARGET}-uninst.exe" + StrCpy $R0 "$INSTDIR\rtems${PRODUCT_VERSION}-${RTEMS_BUILD_VERSION}-tools-${RTEMS_TARGET}-uninst.exe" + WriteUninstaller "$R0" WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\${PRODUCT_NAME}" \ "DisplayName" "$(^Name)" WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\${PRODUCT_NAME}" \ - "UninstallString" "$INSTDIR\uninst.exe" + "UninstallString" "$R0" WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\${PRODUCT_NAME}" \ - "DisplayVersion" "${PRODUCT_VERSION}" + "DisplayVersion" "${PRODUCT_VERSION} Build-${RTEMS_BUILD_VERSION}" WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\${PRODUCT_NAME}" \ "URLInfoAbout" "${PRODUCT_WEB_SITE}" WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\${PRODUCT_NAME}" \ |