|
|||||||
![]() |
|
|
Thread Tools | Search this Thread | Display Modes |
|
|
#1 |
|
Junior Member
Join Date: Jul 2006
Posts: 5
|
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. |
|
|
|
|
|
#2 |
|
M.I.A.
[NSIS Dev, Mod] Join Date: Oct 2001
Location: Israel
Posts: 11,343
|
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.
NSIS FAQ | NSIS Home Page | Donate $ "I hear and I forget. I see and I remember. I do and I understand." -- Confucius |
|
|
|
|
|
#3 |
|
Senior Member
Join Date: Dec 2004
Location: Turkey
Posts: 447
|
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...
"Just do it" |
|
|
|
|
|
#4 |
|
Junior Member
Join Date: Jul 2006
Posts: 5
|
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. (-.-") |
|
|
|
|
|
#5 |
|
Junior Member
Join Date: Jul 2006
Posts: 5
|
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?
|
|
|
|
|
|
#6 |
|
M.I.A.
[NSIS Dev, Mod] Join Date: Oct 2001
Location: Israel
Posts: 11,343
|
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.
NSIS FAQ | NSIS Home Page | Donate $ "I hear and I forget. I see and I remember. I do and I understand." -- Confucius |
|
|
|
![]() |
|
|||||||
| Thread Tools | Search this Thread |
| Display Modes | |
|
|