Go Back   Winamp & Shoutcast Forums > Developer Center > NSIS Discussion

Reply
Thread Tools Search this Thread Display Modes
Old 21st May 2007, 20:58   #1
jackkoho
Member
 
Join Date: Oct 2006
Posts: 70
Is there a way to show the finish page in a silent install?

See subject.
jackkoho is offline   Reply With Quote
Old 21st May 2007, 21:03   #2
jackkoho
Member
 
Join Date: Oct 2006
Posts: 70
.

Last edited by jackkoho; 21st May 2007 at 21:34.
jackkoho is offline   Reply With Quote
Old 21st May 2007, 21:46   #3
Comm@nder21
Major Dude
 
Join Date: Jul 2003
Location: germany, b-w
Posts: 734
Send a message via ICQ to Comm@nder21
don't know of any.

maybe:
PHP Code:
!include WinMessages.nsh
ShowWindow $HWNDPARENT 
${SW_SHOW

in the _SHOW customfunction of the finish page?
Comm@nder21 is offline   Reply With Quote
Old 21st May 2007, 22:47   #4
goldy1064
Senior Member
 
Join Date: Jun 2005
Posts: 211
jackkoho,

If this is still in relation to your wrapped installer, why not just do an ExecWait on the wrapped installer, while hiding the wrapper and then, after the wrapped installer finishes, show the wrapper installer again that will now go to the finish page?
goldy1064 is offline   Reply With Quote
Old 21st May 2007, 23:10   #5
jackkoho
Member
 
Join Date: Oct 2006
Posts: 70
I am playing around with that right now but was hoping I could get the first option to work. I feel it would be more elegant and look better.
jackkoho is offline   Reply With Quote
Old 21st May 2007, 23:14   #6
theblazingangel
Junior Member
 
Join Date: Mar 2006
Posts: 29
you could catch silent mode with .OnInit (IfSilent), and change it back to gui mode (SetSilent) while also setting a custom variable to note the fact the user requested silent mode. you can then use a PRE function for each page in your installer, which, if the variable is set to reflect silent mode, runs the abort command to prevent pages from displaying, that is until the finish page which doesn't do it!

alternatively you could always just display a message box to inform the user it completed (only when in silent mode - IfSilent).
theblazingangel is offline   Reply With Quote
Old 22nd May 2007, 19:35   #7
jackkoho
Member
 
Join Date: Oct 2006
Posts: 70
is there any way to pass a variable from one installer to the next (command line probably)?
jackkoho is offline   Reply With Quote
Old 22nd May 2007, 20:00   #8
Afrow UK
Moderator
 
Afrow UK's Avatar
 
Join Date: Nov 2002
Location: Surrey, England
Posts: 8,434
See these 3 functions:
http://nsis.sourceforge.net/Docs/AppendixE.html#E.1.11

Stu
Afrow UK is offline   Reply With Quote
Old 22nd May 2007, 20:11   #9
jackkoho
Member
 
Join Date: Oct 2006
Posts: 70
For now I am using the ExecWait but I will check out those functions.
jackkoho is offline   Reply With Quote
Reply
Go Back   Winamp & Shoutcast Forums > Developer Center > NSIS Discussion

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump