Hy, i've wrote an installer which has two options:
1) It is the first time, that the programm will be installed
- Page DIRECTORY and Page INSTFILES appear
2) The Program already exists and the installer should do only an update - that means that i don't wanna show the Page DIRECTORY... how can ein realize that??
Maybe with this commands??
PageEx
PageCallBacks
en-/disable a page
7 posts
call abort in the pre or show callback for the directory page
Page DIRECTORY skipDirPage
Page INSTFILES
function skipDirPage
#check if it is already installed and maybe call Abort
functionend
Page DIRECTORY skipDirPage
Page INSTFILES
function skipDirPage
#check if it is already installed and maybe call Abort
functionend
Originally posted by Andersthx, but i don't understand what you mean..
call abort in the pre or show callback for the directory page
Page DIRECTORY skipDirPage
Page INSTFILES
function skipDirPage
#check if it is already installed and maybe call Abort
functionend
ok, here is a part from my script:
in which funktion can i say that DIRECTORY-PAGE sould not be shown???
i've included now this:
!include "MUI.nsh"
!insertmacro MUI_PAGE_DIRECTORY
!insertmacro MUI_PAGE_INSTFILES
!insertmacro MUI_UNPAGE_CONFIRM
!insertmacro MUI_UNPAGE_INSTFILES
!insertmacro MUI_LANGUAGE "german"
but waht can i do now with this stuff??
!include "MUI.nsh"
!define MUI_PAGE_CUSTOMFUNCTION_PREfunction
!define MUI_PAGE_CUSTOMFUNCTION_SHOWfunction
!define MUI_PAGE_CUSTOMFUNCTION_LEAVEfunction
!insertmacro MUI_PAGE_DIRECTORY
!insertmacro MUI_PAGE_INSTFILES
!insertmacro MUI_UNPAGE_CONFIRM
!insertmacro MUI_UNPAGE_INSTFILES
!insertmacro MUI_LANGUAGE "german"
in which funktion can i say that DIRECTORY-PAGE sould not be shown???
hello? is there somebody who can help me? 🙁
ok, what i need is a possibility to skip an page inside a function... or the possibilitt to call a page inside a function (or not)
..i't very important..
..i't very important..
You are missing a space in each custom function line. It should be
!define MUI_PAGE_CUSTOMFUNCTION_PRE prefunction
!define MUI_PAGE_CUSTOMFUNCTION_SHOW showfunction
!define MUI_PAGE_CUSTOMFUNCTION_LEAVE leavefunction