Archive: Icone & message


Icone & message
Hello sir,

I have created the setupkit of my 5 programs but the there is a common problem for all of my program's setupkit which are as fallows:-

1>I can not able to change the icon show at the top right corner of the setup screen. I want to give there a icne made my me.

2>Some times due to some problem a message window comes at the time of installing the software which is shown below. If possable i want to skip this message and continue installing. If this is not possable then i want to show a message of own not shown by default.

If you can solve my problem then that will be a great help for me


ARNAB


First of all, it's quite enough to ask the question once.

To change the icons (I assume you're using the MUI as you're talking about an icon on the top right corner) define MUI_ICON and MUI_UNICON. See the MUI readme for more information about those two.

That message you're getting is because you're trying to overwrite a used file. To upgrade system files you should use the UpgradeDLL macro, which can be found in the documentation of NSIS.


Please reply here so other users could get help from the answers.

The file you're trying to overwrite is a system file. To make sure you're not writing an older version it's really recommended to use UpgradeDLL. But if you insist on just writing then just use SetOverwrite try. The default value is on which will show the message box if the file can not be overwritten.