question

Roberto-9646 avatar image
0 Votes"
Roberto-9646 asked Roberto-9646 commented

Updating an application via SCCM

Hello.

Several months ago I deployed "Microsoft Teams Machine-Wide Installer" via SCCM as an application (MSI).
Now I need to update this SW, but I'm not sure how to proceed.
What I did till now:
1) Added a distribution type to the original Application
2) made sure I can see the new revision in revision history and that the new is active and the old is retired

I was expecting that that would be enough to update the clients, but it is not.
What did I miss?

Thank you and best regards.
Roberto

mem-cm-application
· 1
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.

Hello.

Anybody?

0 Votes 0 ·
SunnyNiu-MSFT avatar image
0 Votes"
SunnyNiu-MSFT answered Roberto-9646 commented

@Roberto-9646

this detection method is for detecting this new version of the SW?

Yes, detection methods are used by Configuration Manager to detect if new application is present on the system after the installer completed successfully.
For the version, we recommend to select the application of new version by clicking "Browse", and then click the second option. SCCM can automatically read the application of new version into the Value column. We may better use the new version automatically read by SCCM here. Like below screenshot:
63435-40.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.



40.png (35.4 KiB)
· 1
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.

Thank you. :-)
Roberto

0 Votes 0 ·
SunnyNiu-MSFT avatar image
0 Votes"
SunnyNiu-MSFT answered Roberto-9646 commented

@Roberto-9646
According to your description, you added a deployment type to the original Application, but our suggestion is that we may modify the deployment type directly in the original application so that the original application has only one deployment type that contains the new version.
After modifying the deployment type that contains the new version of the application, we need to ensure that the content on the DP has been updated, click Redistribute here. Like below screenshot:
60565-28.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.




28.png (20.3 KiB)
· 1
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.

Hi.

Thank you for your answer.
I'd be grateful for some more details on how to modify.. I'll write here what I believe could be right, and ask you to confirm or correct. Ok?

1) delete the newly added distribution type (already done)
2) open properties on the original distribution type
3) in tab "Content" select the folder containing the new program
4) in tab "Programs" don't need to change nothing (same file name and parameters and same uninstall ID)
5) Redistribute to DP (as you clearly showed above)

Again, thank you. :-)
Roberto

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

@Roberto-9646

4) in tab "Programs" don't need to change nothing (same file name and parameters and same uninstall ID)

Our steps are correct, but we need to ensure that " Programs" and “ Detection Method” is also changed to the corresponding new program. Like below screenshot:
60971-33.png
60973-34.png
60926-35.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.



33.png (15.0 KiB)
34.png (14.7 KiB)
35.png (41.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.

Roberto-9646 avatar image
0 Votes"
Roberto-9646 answered

Hello.

Unfortunately I still have some trouble. I guess I did a mess. Because the steps above was not working, I created a new application that superseded the original.

The main symptom is that in deployment status for this app now most devices end in status "In Progress" while Success and Error don't grow.

Where did I go wrong?

Please see the attached images61541-00.jpg61534-01.jpg61535-02.jpg61480-10.jpg61369-11.jpg61495-20.jpg61551-21.jpg61496-30.jpg61486-31.jpg



00.jpg (90.3 KiB)
01.jpg (27.9 KiB)
02.jpg (46.2 KiB)
10.jpg (80.2 KiB)
11.jpg (78.6 KiB)
20.jpg (56.4 KiB)
21.jpg (50.3 KiB)
30.jpg (55.6 KiB)
31.jpg (77.2 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.

Roberto-9646 avatar image
0 Votes"
Roberto-9646 answered

Hello.

Anybody on this?
I'll add here a couple more images..
62524-41.jpg62535-42.jpg



41.jpg (81.6 KiB)
42.jpg (56.5 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.

SunnyNiu-MSFT avatar image
0 Votes"
SunnyNiu-MSFT answered Roberto-9646 commented

@Roberto-9646
According to the error code in the picture you provided, Error code: 0x87D00324 indicates that the installation was successful, but the detection method did not detect the software as "installed".
The application is not detected by the detection method, we need to ensure that the Product code in the detection method is the Product code of the new version, and then we may try to select the first option to see if it is successful. Like below screenshot:
62890-39.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.



39.png (239.6 KiB)
· 1
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.

Hi @SunnyNiu-MSFT

So, that means that this detection method is for detecting this new version of the SW? I thought it was for identifiing the old that had to be replaced.

As the Product code hasn't changed, I'll replace the Version number to match that of the new version (or I'll try first option as you suggested).

One more question:
How will sccm read the version? I mean, powershell get-wmiobject Win32_Product reports version 1.3.0.34662 while details in properties of the installer reports 1.3.00.34662

For now I tried using 1.3.0.34662, but would it work with any of the two? In math 00 is equal to 0 but as strings they are different..

Thank you. :-)
Roberto

0 Votes 0 ·