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: msiexec /uninstall does not remove installed folder/files
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
‎May 19, 2010
08:46 AM
msiexec /uninstall does not remove installed folder/files
Hi,
I am trying to uninstall the previously installed product by using the below command but it is not removing the installed folder/files. It doesn't create any log file as well. It seems that it only removes the registry entries.
msiexec.exe /uninstall {product code} /quiet /qn /l*v %TEMP%\installlog.log"
I am running this command using function LaunchAppAndWait(szUninstallCmd,"",LAAW_OPTION_WAIT|LAAW_OPTION_HIDDEN );
What is going wrong here? Am I doing anything wrong?
I need to do it this way only due to some situation.
Thanks,
Jigs
I am trying to uninstall the previously installed product by using the below command but it is not removing the installed folder/files. It doesn't create any log file as well. It seems that it only removes the registry entries.
msiexec.exe /uninstall {product code} /quiet /qn /l*v %TEMP%\installlog.log"
I am running this command using function LaunchAppAndWait(szUninstallCmd,"",LAAW_OPTION_WAIT|LAAW_OPTION_HIDDEN );
What is going wrong here? Am I doing anything wrong?
I need to do it this way only due to some situation.
Thanks,
Jigs
(3) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎May 29, 2010
09:41 PM
Hello Jignesh,
Do these so called folders have any files created within them after the initial installation? Does your application create any files during it's runtime such as configuration data etc.
If that is the case, then such files will not be removed by windows installer since they were not installed by it in the first place.
The best way to figure this out is from the windows installer log.
The log will definitely tell you whats going on here.
Regards,
Kiran Hegde
Do these so called folders have any files created within them after the initial installation? Does your application create any files during it's runtime such as configuration data etc.
If that is the case, then such files will not be removed by windows installer since they were not installed by it in the first place.
The best way to figure this out is from the windows installer log.
The log will definitely tell you whats going on here.
Regards,
Kiran Hegde
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎May 31, 2010
01:04 AM
Thanks for your reply Kiran,
Yes, I am copying my user manual and release note pdf files using insallscript. This is because I wanted to give flexibility to client to put their updated pdf manuals in one folder and installer will install it.
I have found an alternative way of removing files manually through installscript. But have not analyzed the WI logs. I will try to do that once get some spare time.
Thanks,
Jigs
Yes, I am copying my user manual and release note pdf files using insallscript. This is because I wanted to give flexibility to client to put their updated pdf manuals in one folder and installer will install it.
I have found an alternative way of removing files manually through installscript. But have not analyzed the WI logs. I will try to do that once get some spare time.
Thanks,
Jigs
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jun 01, 2010
02:13 AM
Yes, you can always remove a folder or file using Installscript.
![](/skins/images/D60DF682EA37BF37032955CE10F3F0BB/responsive_peak/images/icon_anonymous_message.png)