Hello,
In order to achieve this you can use a
.NET Installer custom action scheduled on uninstall before "Install Execution Stage -> Remove Resources" action group. Also, you can take a look on our
"HELP: Creating installer with basic .net windows service" which may be helpful for you.
All the best,
Daniel
FOLLOW US
Get the latest news in Application Packaging