tvsdeepak
30th March 2007 10:53 UTC
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
30th March 2007 11:18 UTC
Try the /REBOOTOK parameter with the RENAME instruction.
It should overwrite it in this way after the reboot.
I hope this will work!
tvsdeepak
30th March 2007 11:23 UTC
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
30th March 2007 11:42 UTC
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.
tvsdeepak
30th March 2007 11:51 UTC
How can I close the external application from the installer without killing the process.
Red Wine
30th March 2007 11:55 UTC
I suppose the user should close the application.