This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- Re: Failed to delete the install folder
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Feb 09, 2009
04:05 AM
Failed to delete the install folder
I create a simple installscript MSI project, and only contain a test.exe file
the default install dir is : c:\Program File\My Project\My Test1\
if I install to this default directory, uninstall is OK, all files and folders can be deleted
but if I change the install directory, such as: F:\My111\My Test111\
install is OK, but when uninstall, I found the test.exe is deleted, but the folder F:\My111\My Test111\ is stall exist
attachment is the uninstall log file, created by the command: setup.exe /verbose"f:\mylog.txt"
I don't know why the folder didn't be removed
Please help me remove the folders also that are created
Thanks in advance
the default install dir is : c:\Program File\My Project\My Test1\
if I install to this default directory, uninstall is OK, all files and folders can be deleted
but if I change the install directory, such as: F:\My111\My Test111\
install is OK, but when uninstall, I found the test.exe is deleted, but the folder F:\My111\My Test111\ is stall exist
attachment is the uninstall log file, created by the command: setup.exe /verbose"f:\mylog.txt"
I don't know why the folder didn't be removed
Please help me remove the folders also that are created
Thanks in advance
(1) Reply
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Feb 09, 2009
08:05 PM
I create a test project use the basic MSI project,
install to f:\abc\111, then uninstall, uninstall is ok, all files and folders its created are deleted
then I create another test project use the installscript MSI project,
install to f:\111\222, then uninstall , the exe file is delete, but the folder is still exist
I don't know what's different between these two project,
should I use DeleteDir to delete this folder in installscript MSI project?
install to f:\abc\111, then uninstall, uninstall is ok, all files and folders its created are deleted
then I create another test project use the installscript MSI project,
install to f:\111\222, then uninstall , the exe file is delete, but the folder is still exist
I don't know what's different between these two project,
should I use DeleteDir to delete this folder in installscript MSI project?
![](/skins/images/CC38E504FC9E1309DC48ACFEB4925670/responsive_peak/images/icon_anonymous_message.png)