![]() |
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. |
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.
|
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...
|
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. (-.-") |
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?
|
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.