question

mrEilsafin-8556 avatar image
0 Votes"
mrEilsafin-8556 asked mrEilsafin-8556 answered

Visual Studio Setup Project - Force quiet uninstall

Greetings.

I'm using Visual Studio Code 2019 with "Setup Project" to create MSI packages for custom ELK, Zabbix, etc. stuff for further deployment either by SCCM or manually.

What buggs me now is the message upon uninstall process, that checks running process before it is stopped by uninstall custom actions and is possible to further block upgrade process.

How could I config my package to ignore that action and continue all processes despite any possible events?

135142-image.png


windows-server
image.png (11.6 KiB)
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

LimitlessTechnology-2700 avatar image
0 Votes"
LimitlessTechnology-2700 answered

Hi @mrEilsafin-8556

I suppose that is the by design that during the uninstall you must stop the process.

To stop the process

Hold down the "Control," "Alt" and "Delete" keys at the same time to call up the task manager.
Click on the "Processes" tab.

Search through the processes list, highlight the Visual studio and by left-clicking on it, click "End Process.


--If the reply is helpful, please Upvote and Accept as answer--

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

mrEilsafin-8556 avatar image
0 Votes"
mrEilsafin-8556 answered

Looks like you got it all wrong. I don't need to kill visual studio. I need to customise custom actions in or something in the setup project so the MSI that I create and install, wouldn't check launched processes, as they are stopped by custom action later during uninstall process.

135863-image.png
135836-image.png



image.png (9.2 KiB)
image.png (10.0 KiB)
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.