airMike
12th July 2005 14:29 UTC
Delete $INSTDIR
Didn't find how to resolve this using search.
So I have the $INSTDIR C:\Program Files\Company\App.
The uninst.exe is in the \App directory.
When running uninstall, everything seems to work.
I use RMDir /r "$INSTDIR"
But then I see that the directory C:\Program Files\Company wasn't deleted.
What's the problem?
Afrow UK
12th July 2005 14:36 UTC
This might be a bug as it didn't happen in 2.05 apparently.
http://forums.winamp.com/showthread....2Fr+%24INSTDIR
Not sure if anyone has posted a bug report on the bug tracker either (http://www.sf.net/projects/nsis)
-Stu
airMike
12th July 2005 15:02 UTC
Thank you :)
I've found the solution in that topic.
Still it might be a bug. I'm using 2.07 too.
kichik
14th July 2005 19:27 UTC
Why would Company be deleted if you deleted $INSTDIR which is Company\App? This is not a bug. Use GetParent.
Afrow UK
14th July 2005 19:50 UTC
Ohh I see. I didn't realise what he meant.
I wrote a script to do this a long time ago:
http://nsis.sourceforge.net/wiki/Uni...your_installer
-Stu