Remove installer directory




















Under normal circumstances, a folder installed by the package will be uninstalled automatically. However, if it contains resources which were not created by the installation package, the folder will not be removed.

If you know the files which remain, you can use File Removal Operations to remove all the files in the folder. However, if you don't know what the folder will contain, you can use a custom action:. This code can be pasted into a new text file with a. But let me get to the point. When running this, the installer and patch packages are enumerated and unreferenced packages are considered to be safe to delete and are thereby also deleted.

Depending on the age of the system and the number of applications installed, this action can free a significant amount of disk space. I do consulting, I produce and teach my own courses, I lecture and I present and my formal work title is senior workplace architect at Coligo in Stockholm, Sweden.

Thoroughly research any product advertised on the site before you decide to download and install it. Was this reply helpful? Yes No. Sorry this didn't help. Thanks for your feedback. Thank you for posting your query in Microsoft Community. Learn more. How to delete installation directory when program is uninstalled by visual studio installer project? Ask Question. Asked 6 years, 9 months ago.

Active 6 years, 9 months ago. Viewed 2k times. Any way to do this? If there is a way then how to do this? Improve this question. Naseef Chowdhury Naseef Chowdhury 2, 3 3 gold badges 23 23 silver badges 50 50 bronze badges.

Add a comment.



0コメント

  • 1000 / 1000