Old 11th May 2006, 09:49   #1
monidon
Junior Member
 
Join Date: Jul 2004
Posts: 8
Angry Can not remove dir on windows 98

Hi All,
My uninstaller works superbly on winXP and doesn't leave any files or folders behind. But on Windows 98/ME the same installer's uninstaller process leaves 2 empty folders even though I am using /REBOOTOK and /r flag with RMDIR command to delete those folders.
Can anyone suggest what could be causing this.
Thanks,
Monika
monidon is offline   Reply With Quote
Old 11th May 2006, 13:19   #2
Afrow UK
Moderator
 
Afrow UK's Avatar
 
Join Date: Nov 2002
Location: Surrey, England
Posts: 8,434
Did you change the working folder with SetOutPath before deleting the folders?

-Stu
Afrow UK is offline   Reply With Quote
Old 15th June 2006, 13:30   #3
monidon
Junior Member
 
Join Date: Jul 2004
Posts: 8
Sorry for the late reply.
Yes I do set the dir using SetOutPath but still it doesn't remove that directory. Can you suggest any other solution?
Thanks
Monika
monidon is offline   Reply With Quote
Old 15th June 2006, 22:17   #4
JasonFriday13
Major Dude
 
JasonFriday13's Avatar
 
Join Date: May 2005
Location: New Zealand
Posts: 916
In other words, Afrow UK means that SetOutPath should not point to the folder you are trying to delete. Try SetOutPath "$TEMP", then try deleting the folders.

"Only a MouseHelmet will save you from a MouseTrap" -Jason Ross (Me)
NSIS 3 POSIX Ninja
Wiki Profile
JasonFriday13 is offline   Reply With Quote
Old 16th June 2006, 14:45   #5
monidon
Junior Member
 
Join Date: Jul 2004
Posts: 8
Thanks for the response. I tried setting path to some different directory than the one which I need to delete and it still leave the folder behind. Other thing I would like to mention is before rebooting the machine I find few dlls in that directory which are in use which only gets deleted after reboot but the folder is left behind still.
monidon is offline   Reply With Quote
Old 18th June 2006, 21:36   #6
JasonFriday13
Major Dude
 
JasonFriday13's Avatar
 
Join Date: May 2005
Location: New Zealand
Posts: 916
Don't know what other solutions there are. Could be a bug. You could also try ending the processes using the dlls before deleting the folder.

"Only a MouseHelmet will save you from a MouseTrap" -Jason Ross (Me)
NSIS 3 POSIX Ninja
Wiki Profile
JasonFriday13 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