arfgh
31st January 2008 19:40 UTC
Problem with 'hidewindow'
because i have a problem with the "unpacking data" internal banner of nsis when use solid compression, i have to place the file extraction on the section.
But then i have other visual problem because the "hidewindow" command hide the installer but produce a so fast and ugly pop up on the screen.
Somebody know how to prevent that ugly issue ?
Afrow UK
31st January 2008 20:54 UTC
Use SilentInstall silent if you don't want to show a dialog. If you want to show a dialog if conditionally, use SetSilent silent in .onInit.
Stu
arfgh
31st January 2008 21:17 UTC
but this is the probelm. I use silent to not show the banners and the plugin images i used. ! But this is the silent way, because i need also the normal way. And the normal way produce that anomaly using the hidewindow command
Afrow UK
1st February 2008 08:43 UTC
Sorry you are confusing me. If you want to open to hide the installer dialog, use SilentInstall silent in .onInit. The Banner will still be displayed in a silent install.
Stu
arfgh
1st February 2008 13:33 UTC
you dont understand.
the silent install is used on my script to make a "silent" isntall. But the installer has also a not silent procedure, where i must hide the installer window because i nto need it. And when i do that the hidewaindow produce an ugly popup. That is the installer window appears and then dissapear.
Afrow UK
1st February 2008 14:48 UTC
But hiding the window yourself is like running in silent mode anyway surely?
Stu
arfgh
1st February 2008 18:32 UTC
ok
you mean i must use "setsilent normal" at the end of the .oninit
But this delete my command line parameter /S if i use it ?
Because i tried and with Setsilent normal i not see the ugly effect popup, but the problem is the installer not use my parameter "/S" when i use it
arfgh
1st February 2008 18:44 UTC
UPDATE !!
setsilent silent
FunctionEnd
Section
Call GetParameters
StrCmp $2 'S' +2 0
setsilent normal
thsi make possible the ugly popup not appears, but that make the internal nsis banner "unpacking data" appears again.
The files to extract are all on the section ! why then appears the internal banner ?
:(
i begin to think, not exist a solution to rpevent the problem !