Archive: Problem with 'hidewindow'


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 ?


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


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


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


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.


But hiding the window yourself is like running in silent mode anyway surely?

Stu


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


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 !