Mercurial > mxe-octave
diff makeinst-script.sh @ 4028:8803dfa40236
nsis installer: set directory to userprofile on startof octave from installer (Bug #45899)
* installer-files/octave-firsttime.vbs: new file
* binary-dist-rules.mk: copy octave-firsttime.vbs to disy folder
* dist-files.mk: add installer-files/octave-firsttime.vbs
* makeinst-script.sh: install and then run octave-firsttime.vbs if the run checkbox is selected at end of install.
author | John Donoghue |
---|---|
date | Wed, 16 Sep 2015 07:51:27 -0400 |
parents | 9d402d735dd1 |
children | 0962acdde3be |
line wrap: on
line diff
--- a/makeinst-script.sh Sun Sep 13 08:43:21 2015 -0400 +++ b/makeinst-script.sh Wed Sep 16 07:51:27 2015 -0400 @@ -44,7 +44,7 @@ !define DESCRIPTION "GNU Octave is a high-level programming language, primarily intended for numerical computations." !define INSTALLER_FILES "../installer-files" !define INSTALLER_NAME "octave-$OCTAVE_VERSION-installer.exe" -!define MAIN_APP_EXE "octave.vbs" +!define MAIN_APP_EXE "octave-firsttime.vbs" !define INSTALL_TYPE "SetShellVarContext current" !define PRODUCT_ROOT_KEY "HKLM" !define PRODUCT_KEY "Software\\Octave-$VERSION" @@ -223,6 +223,7 @@ SetOutPath "\$INSTDIR" File "$OCTAVE_SOURCE/octave.bat" File "$OCTAVE_SOURCE/octave.vbs" + File "$OCTAVE_SOURCE/octave-firsttime.vbs" ; distro files EOF