Update of /cvsroot/popfile/windows
In directory sc8-pr-cvs1:/tmp/cvs-serv5031
Modified Files:
installer.nsi
Log Message:
Installer now offers to display "release notes" before the installation starts.
Index: installer.nsi
===================================================================
RCS file: /cvsroot/popfile/windows/installer.nsi,v
retrieving revision 1.43
retrieving revision 1.44
diff -C2 -d -r1.43 -r1.44
*** installer.nsi 8 May 2003 16:41:26 -0000 1.43
--- installer.nsi 9 May 2003 13:11:04 -0000 1.44
***************
*** 173,176 ****
--- 173,185 ----
!insertmacro MUI_INSTALLOPTIONS_EXTRACT "ioB.ini"
+ SearchPath $R0 notepad.exe
+ StrCmp $R0 "" skip_release_notes
+
+ File /oname=$PLUGINSDIR\release.txt "..\engine\v0.19.0.change"
+ MessageBox MB_YESNO "Display POPFile Release Notes ?$\r$\n$\r$\n\
+ 'Yes' recommended if you are upgrading." IDNO skip_release_notes
+ ExecWait 'notepad.exe "$PLUGINSDIR\release.txt"'
+
+ skip_release_notes:
FunctionEnd
|