Some more changes in NSIS win32 installer script.

- Added welcome and finish page.
- Now using Bochs logo from website as installer bitmap.
- Temporarily added top of 2.6.9 CHANGES file at the bottom of the README.
  Now showing one file after successful installation is enough.
  TODO: update before release!
This commit is contained in:
Volker Ruppert 2019-11-17 21:42:44 +00:00
parent 363bcb59de
commit 01526c35cc
3 changed files with 36 additions and 19 deletions

View File

@ -78,3 +78,16 @@ many ways you could help out. For example:
- writing/cleaning up documentation
- testing out Bochs on every imaginable operating system and
reporting how it goes.
CHANGES
Brief summary of changes in 2.6.9:
- CPU: implemented new instructions and x86 architecture extensions.
- Bugfixes for CPU emulation correctness.
- Added Android host platform support.
- Added USB EHCI device emulation support.
- Added USB floppy (UFI/CBI) support.
- Added ethernet module 'socket', designed to interconnect Bochs instances.
- Show textconfig at runtime in the Bochs VGA window (gui console).
See CHANGES file for more information!

Binary file not shown.

After

Width:  |  Height:  |  Size: 28 KiB

View File

@ -68,13 +68,34 @@ Var IndependentSectionState
;--------------------------------
;Pages
!define MUI_WELCOMEFINISHPAGE_BITMAP "bochs-logo.bmp"
!define MUI_WELCOMEFINISHPAGE_BITMAP_NOSTRETCH
!define MUI_WELCOMEPAGE_TITLE "Welcome to the Bochs ${VERSION} Setup Wizard"
!define MUI_WELCOMEPAGE_TEXT "This wizard will guide you through the installation of the Bochs x86 emulator version ${VERSION}.$\r$\n$\r$\n$_CLICK"
!insertmacro MUI_PAGE_WELCOME
!insertmacro MUI_PAGE_LICENSE ${SRCDIR}\COPYING.txt
!insertmacro MULTIUSER_PAGE_INSTALLMODE
!insertmacro MUI_PAGE_COMPONENTS
!insertmacro MUI_PAGE_DIRECTORY
!insertmacro MUI_PAGE_INSTFILES
!define MUI_FINISHPAGE_TEXT "Thank you for installing Bochs, think inside the bochs."
!define MUI_FINISHPAGE_LINK "Visit the Bochs website for the latest news, FAQs and support"
!define MUI_FINISHPAGE_LINK_LOCATION "http://bochs.sourceforge.net/"
!define MUI_FINISHPAGE_RUN "$INSTDIR\Bochs.exe"
!define MUI_FINISHPAGE_RUN_NOTCHECKED
!define MUI_FINISHPAGE_NOREBOOTSUPPORT
!define MUI_FINISHPAGE_SHOWREADME "$INSTDIR\README.txt"
!define MUI_FINISHPAGE_SHOWREADME_TEXT "Show Bochs README file"
!insertmacro MUI_PAGE_FINISH
!insertmacro MUI_UNPAGE_WELCOME
!insertmacro MUI_UNPAGE_CONFIRM
!insertmacro MUI_UNPAGE_INSTFILES
@ -237,24 +258,6 @@ Section -post
WriteUninstaller "$INSTDIR\Uninstall.exe"
SectionEnd
;--------------------------------
;Installer Functions
Function .onInstSuccess
MessageBox MB_YESNO|MB_ICONQUESTION \
"Would you like to see a list of changes?" /SD IDNO \
IDNO NoChanges
ExecWait 'notepad.exe $INSTDIR\CHANGES.TXT'
NoChanges:
MessageBox MB_YESNO|MB_ICONQUESTION \
"Setup has completed. Show README now?" /SD IDNO \
IDNO NoReadme
ExecWait 'notepad.exe $INSTDIR\README.txt'
NoReadme:
MessageBox MB_OK "Thank you for installing Bochs, think inside the bochs." /SD IDOK
FunctionEnd
;--------------------------------
;Uninstaller Section
@ -310,6 +313,7 @@ Section "Uninstall"
SectionEnd
;--------------------------------
;Installer Functions
Function .onInit
!insertmacro MULTIUSER_INIT