question

SvenvanderVecht-3653 avatar image
0 Votes"
SvenvanderVecht-3653 asked ·

Notify user and close application before deploying new version

Hi!

I deploy and update chrome browser with Endpoint Manager. I found out that when a new version is installed on a computer where chrome is in use, chrome causes problems afterwards.

Is there a way to notify users to close chrome, before the installation starts?
Or noitfy users that chrome will close in 5 minutes and then start the installation?

Other suggestions are welcome....



mem-cm-application
10 |1000 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.

Jason-MSFT avatar image
0 Votes"
Jason-MSFT answered ·
· Share
10 |1000 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.

Amandayou-MSFT avatar image
0 Votes"
Amandayou-MSFT answered ·

Hi @SvenvanderVecht-3653,

Thanks to Jason for the link, besides, we could refer to the following screenshot:

Kindly enter the name of the target executable file, optionally, enter a friendly name for the application to help you identify it in the list.

37641-1151.png

Select the option to Automatically close any running executables you specified on the install behavior tab of the deployment type properties dialog box. This option is on the Deployment Settings tab of the deployment properties.(As note: the purpose of deployment setting should be Required):

37536-1152.png


If the response is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.



1151.png (15.1 KiB)
1152.png (33.2 KiB)
· Share
10 |1000 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.

NikNicholas avatar image
0 Votes"
NikNicholas answered ·

Hi,

Following on from this I see at the end of the info: https://systemcenterdudes.com/sccm-install-behavior-for-applications/

BONUS TIPS
If you specify more than one application in Install Behavior, the warning will show all applications that need to be closed. The applications that are not running at deployment time will not be displayed.

I wonder if you specify a second 'ghost_null.exe' the user will be shown which exe did need to be closed?

I am unable to test right now sorry.

· Share
10 |1000 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.

Jason-MSFT avatar image
0 Votes"
Jason-MSFT answered ·

I wonder if you specify a second 'ghost_null.exe' the user will be shown which exe did need to be closed?

You mean specify the same EXE name twice? No. The only distinguishing factor is the process ID (PID) and this functionality is based on the EXE name alone so the PID is irrelevant for process matching and thus adding the EXE name twice has zero value. You can certainly file a UserVoice item to append the PID to the list of processes displayed to the user that must be closed and thus list multiple PIDs in the case that multiple processes match the EXE name, but I doubt that would be meaningful to the vast majority of users.

· 2 · Share
10 |1000 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.

Hi,

I mean add notepad.exe and non_existent.exe.

Notepad is running so user told to close notepad. non_existant.exe is not running and is ignored.

0 Votes 0 ·

OK, that makes more sense. Yes, only processes that are detected as running are shown to the user for them to close.

0 Votes 0 ·
SvenvanderVecht-3653 avatar image
0 Votes"
SvenvanderVecht-3653 answered ·

Thanks for all the helpfull information. I've tested this solution succesfully now and going to use it to deploy Chrome browser from now on.

· 1 · Share
10 |1000 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.

Hi,

Thank you very much for the update and we're glad the problem is solved now. If you have any questions in future, we warmly welcome you to post in this forum again.

Have a nice day!

Regards,
Amanda

0 Votes 0 ·