Click here to Skip to main content
15,890,512 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,

The problem is that there are files left as well as the application directory when I uninstall it.

The reason is that these files are created during Run Time.

They are created because they are .xml files that save application data.

How can i use either a batch file?

Or

How can I add an installer class

that will uninstall these files as well as the directory for the application.

The msi by default does not delete any files that it did not install.

Thanks

Bobby Oakes
Posted

1 solution

One way to check your folder where located yours files
For this purpose, you can write a script. The script will delete all the files (if they exist), or will delete the entire folder that contains the files.
The script can be run during uninstall...
Please see following articles:
http://www.ehow.com/how_7281329_uninstall-msi-script.html[^]
http://www.symantec.com/connect/downloads/uninstall-msi-vbscript[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900