Old 30th March 2007, 09:53   #1
tvsdeepak
Junior Member
 
Join Date: Mar 2007
Posts: 3
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
tvsdeepak is offline   Reply With Quote
Old 30th March 2007, 10:18   #2
clifox
Junior Member
 
Join Date: Mar 2007
Posts: 5
Send a message via Yahoo to clifox
Try the /REBOOTOK parameter with the RENAME instruction.

It should overwrite it in this way after the reboot.

I hope this will work!
clifox is offline   Reply With Quote
Old 30th March 2007, 10:23   #3
tvsdeepak
Junior Member
 
Join Date: Mar 2007
Posts: 3
Thanks for the suggestion. That is one option.
But I would like to solve the issue without reboot.

Are there any more suggestions ?
tvsdeepak is offline   Reply With Quote
Old 30th March 2007, 10:42   #4
Red Wine
Forum King
 
Red Wine's Avatar
 
Join Date: Mar 2006
Location: Ath. GR
Posts: 2,078
Quote:
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.

Quick AVI Creator - Quick and easy convert from DVD/MPEG/AVI/MKV to AVI/MP4/MKV
Quick AVI Creator entirely edited with NSIS and entirely upgraded to Unicode NSIS
Red Wine is offline   Reply With Quote
Old 30th March 2007, 10:51   #5
tvsdeepak
Junior Member
 
Join Date: Mar 2007
Posts: 3
How can I close the external application from the installer without killing the process.
tvsdeepak is offline   Reply With Quote
Old 30th March 2007, 10:55   #6
Red Wine
Forum King
 
Red Wine's Avatar
 
Join Date: Mar 2006
Location: Ath. GR
Posts: 2,078
I suppose the user should close the application.

Quick AVI Creator - Quick and easy convert from DVD/MPEG/AVI/MKV to AVI/MP4/MKV
Quick AVI Creator entirely edited with NSIS and entirely upgraded to Unicode NSIS
Red Wine is offline   Reply With Quote
Reply
Go Back   Winamp & Shoutcast Forums > Developer Center > NSIS Discussion

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump