Old 12th April 2011, 22:18   #1
Junior Member
Join Date: Apr 2011
Posts: 2
NSIS Post Unistaller?

Okay, I'll do the best I can to be detailed:

I'm having trouble deleting a batch file during an uninstall. No, it's not because a process in the batch is still running, but rather it's because AVGIDSAgent (Anti-virus) is still keeping track of it (or something related). I know this because that's the error message I get when I try to delete it, that the batch file is still open in AVGIDSAgent and can't be deleted.

So my guess is, the best way to solve this problem might be to delete the batch file after a restart, when AVG couldn't possibly be holding on to it.

However, I have no idea how to go about beginning a post UNinstaller. Any suggestions?

Flame Defense:
Please forgive me, I have tried searching and I only seem to be able to find POST install related topics, not uninstall, but if this issue has been solved I would greatly appreciate a redirection to the topic. Another possibility is that I've come across the answer and not even realized it given my poor NSIS experience and inability to understand much of the documentation.
Damic11 is offline   Reply With Quote
Old 12th April 2011, 23:19   #2
Afrow UK
Afrow UK's Avatar
Join Date: Nov 2002
Location: Surrey, England
Posts: 8,434
If you look at Delete in the readme you'll find it has a /REBOOTOK switch. That should solve your problem.

I've had trouble with bloody AVG and batch files as well. They've just released AVG 2011 so maybe it's fixed now.

Afrow UK is offline   Reply With Quote
Old 13th April 2011, 00:07   #3
Junior Member
Join Date: Apr 2011
Posts: 2
Oh that seems simple enough, thanks
Damic11 is offline   Reply With Quote
Go Back   Winamp & Shoutcast Forums > Developer Center > NSIS Discussion

batch, post, uninstall, uninstaller

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