Visual Studio Setup Project - Force quiet uninstall

mr.Eilsafin 1 Reputation point
2021-09-24T15:26:56.947+00:00

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
Windows Server
A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.
12,077 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Limitless Technology 39,336 Reputation points
    2021-09-28T08:19:55.63+00:00

    Hi @mr.Eilsafin

    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--

    0 comments No comments

  2. mr.Eilsafin 1 Reputation point
    2021-09-28T09:24:31.96+00:00

    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

    0 comments No comments