Skip to content
⌘ NSIS Forum Archive

Problem with auto installer

6 posts

tvsdeepak#

Problem with auto installer

Hi all,

I have written a DirectX filter and am using NSIS to install the filter.

I have written an installer which supports automatic updates.
Whenever the filter is loaded, it launches the NSIS updater that I have written. The updater will check for updates and download/install the updates.

The problem that I am facing right now is, the filter is launched by external applications. So when I am installing updates, the filter is still held by the external application and so I cannot overwrite any updates of the filter.

How can I resolve this issue ?

Thanks
clifox#
Try the /REBOOTOK parameter with the RENAME instruction.

It should overwrite it in this way after the reboot.

I hope this will work!
tvsdeepak#
Thanks for the suggestion. That is one option.
But I would like to solve the issue without reboot.

Are there any more suggestions ?
Red Wine#
The updater will check for updates and download/install the updates.
Ask users if they want to close the external app that uses your filter in order to update now and if yes continue, otherwise run the update after reboot from HKCU/...../RunOnce.