Winamp & Shoutcast Forums

Winamp & Shoutcast Forums (http://forums.winamp.com/index.php)
-   NSIS Discussion (http://forums.winamp.com/forumdisplay.php?f=65)
-   -   Uninstall Pocket PC application leave behind the application directory (http://forums.winamp.com/showthread.php?t=250497)

cutie 6th July 2006 10:28

Uninstall Pocket PC application leave behind the application directory
 
I have successfully install my Pocket PC application.
Unfortunately, when i uninstall it, the application directory cannot be deleted. It says the files is in use.

The directory that is left behind is:
\Program Files\MyApp\Images\

The question is did i left out something in the uninstall section of .nsi file?

Can any1 provide me with an example of the uninstall section?

Thanks in advance.

kichik 6th July 2006 17:04

Is that directory the working directory of another running program or your installer? To change the working directory of your installer, use SetOutPath. You can set it to $TEMP, for example.

onad 9th July 2006 17:41

Also make sure you use the latest available NSIS version, this to avoid some strange issue connected to this subject, and ofcourse follows kichik's tips...

cutie 12th July 2006 01:49

sorry for the late reply, been a long weekend holiday for me

kichik,

i not sure i understand fully. Do you mean i need to SetOutPath in my Uninstall section? \Program Files\MyApp\ is my application folder where the exe file is in and all the subfolders. \Program Files\MyApp\Images\ is the folder left behind when i uninstall.

Onad,

You are right. I am using an earlier version, 2.15 because the chap before use this version. Do you think i will have any issues if i upgrade? I just don't want to have any hassle because the deadline is near and i don't want to screw up this late. (-.-")

cutie 14th July 2006 01:07

well... i have done more test on this and i found out the uninstall section is for the desktop version. Do any1 know how to control uninstallation for the Pocket PC side?

kichik 19th July 2006 14:45

No, what I'm saying is that you need to use SetOutPath to set the working directory of the uninstaller, if it's set to that directory. If you don't, you won't be able to delete the directory.


All times are GMT. The time now is 05:58.

Copyright © 1999 - 2010 Nullsoft. All Rights Reserved.