Skip to content
⌘ NSIS Forum Archive

Show a custom window before INST_FILES

5 posts

fabiochelly#

Show a custom window before INST_FILES

Hi,

I display a custom window to get information from the user.

Is it possible to display this window before the installation and not after?

This code works
!insertmacro MUI_PAGE_INSTFILES
Page custom PageIP
but not this one:
Page custom PageIP
!insertmacro MUI_PAGE_INSTFILES
In the second case, the custom page is not shown.

My problem is that I would like to display the variables I get from this custom pages in the detailprint.
KirillKr#
Read this topic about readme. Create own readme file in instalation and show.
Are you a developer who uses NSIS to distribute your application? Are you a Winamp plug-in developer who wants to use NSIS to distribute your plug-in? Have suggestions for other people like you? This is the place.
fabiochelly#
I don't understand.
What I would like is to show a custom page BEFORE the page INST_FILES.
And it doesn't work tha way it is
fabiochelly#
I finally found a way to show a progress when I start my services even if the details panel is not available.

For each service, I used the header text to show the progress:

!insertmacro MUI_HEADER_TEXT "Start services" "[1/3] MyFirstService"
nsExec::ExecToLog "net START service1"
!insertmacro MUI_HEADER_TEXT "Start services" "[2/3] MySecondService"
nsExec::ExecToLog "net START service2"
!insertmacro MUI_HEADER_TEXT "Start services" "[3/3] MyThirdService"
nsExec::ExecToLog "net START service3"
KirillKr#
Originally posted by fabiochelly
I don't understand.
What I would like is to show a custom page BEFORE the page INST_FILES.
And it doesn't work tha way it is
Sorry, at first I don't right understand you.