Archive: Silent Installation


Silent Installation
hi,

I am trying to find a script which will help me design a silent installation containing a BMP photo, and a progress bar. This should be very simple, however I can't seem to find anything. The general behavior is very similar to what Google have done with their Desktop Search installation.

Does anyone know where I can find such a script?

I'd appreciate any help on this!!

Thank you!


That's not exactly what silent means on NSIS. What you want is an installer with nothing but the instfiles page. Edit Contrib\UIs\default.exe with a resource editor such as Resource Hacker and have your script use the new version with ChangeUI. When editing, add a bitmap place holder and show the bitmap in it using LoadImage and WM_SETIMAGE. A complete example can be found in the Wiki.

If you want to show just one picture, you can skip the loading part on the script and simply embed it as a resource. The problem is, ChangeUI only changes the dialog resources. To add a bitmap resource, you'd have to call Resource Hacker using !packhdr.


Kichik is right ,as always ;)

Silent - Nothing to see and do
Unattended - Nothing to do but progress visible
Regular - Something to see and user makes choices (even if only pressing next)

Anyhow, embed a file in your installer see nsis documentation "file" and copy to wherever you need.