Archive: Updater Application to work with NSIS


Updater Application to work with NSIS
Hi,
I am creating a program for installing updates of a software program. The updates are created as Updates.exes(Say Update1.exe,Update2.exe) using NSIS. My program will check the server to see any updates present and download if available and Install. There may be more than one update available so it will be annoying for the user to press the next button during installation of each update. So I would like to know about the following possibilities

1. Prevent adding the updates to control panel /add remove programs.

2. UserInteraction not required i.e. Pressing next button is to be avoided.

3. Geting a message to caller program when NSIS installer finishes.This gives me a chance for showing a message all updates installed successfully

Thanks and regards
josabraham


1. As you mentioned updates are developed with nsis, right?
So it's up to your code to show or not these info in add/remove programs.

2. You may use InetC plugin for downloading updates. With InetC you are able to pass several downloads through the stack .

3. Get the return code from the plugin and from ExecWait command and if not errors show the successfully message else show a message that explains what failed.