Solved

SCCM 2012 - ReRun Deployment After Installs Successfully

Posted on 2016-07-28
5
66 Views
Last Modified: 2016-08-11
Hi Everyone:

I am performing some testing of deploying an Application (.MSI) installation.  I had successfully deployed it to a test PC.  I then manually removed the application from the test PC via Program and Features.  I would like to re-deploy/rerun the deployment of the same Application (.MSI) to the test PC.  When I delete the deployment for this application and recreate the deployment, the status of this Deployment Status still shows the test PC with "Program completed with success." and it will advertise to the test PC.

What should I perform the test PC so I can redeploy/rerun the deployment of the application?

Thank you in advance for any ideas or suggesstions!
0
Comment
Question by:rmessing171
  • 2
  • 2
5 Comments
 
LVL 12

Expert Comment

by:Benjamin Voglar
ID: 41734177
Wich version of SCCM?

Application or Package Deployment?

Check the AppDiscovery.log.

I am sure that when you have removed the application, something left on the PC. Search in the registry for the SSID of MSI aplication and manualy delete it
0
 
LVL 17

Expert Comment

by:Mike T
ID: 41734593
Hi,

Forget the status: does the MSI (app) appear in Software Center? Unless it is mandatory you can re-install it from there as many times as you like. You don't have to delete the deployment either. Just leave it. You can change the *app* as many times as you like for testing, just update the DP each and every time and then go to the machine and click "install" from Software Center.

Mike
0
 

Author Comment

by:rmessing171
ID: 41734644
This is for SCCM 2012.

This an Application Deployment.

Since I deleted the Deployment in the SCCM 2012 console, the the test PC's Software Center does not show it anymore ad I can not reinstall it.

Any thoughts?
0
 
LVL 17

Accepted Solution

by:
Mike T earned 500 total points
ID: 41734768
OK, so the answer is it's NOT showing in Software Center despite have a fresh new deployment created. This is a little bug where things don't deploy because of a time offset but I don't think that's it.

So as Ben said, now you need to check the detection method on the app. How are you detecting if the MSI is installed or not? If Status is saying the app is installed and you're checking for existence of a file that does not delete at uninstall, CM will still think the app is fine.

By default MSI's use the GUID though, so unless you had reason to change this, it's not likely that.

What software are you trying to deploy (if it's not commercially sensitive)?
If you look in the uninstall registry key is the app listed?
when you uninstall, does it remove cleanly?

To test removal I would use the command line but you need the GUID. You can find that on the uninstall field for the application.

Then just type

msiexe /x {the app's GUID}

It's just quicker than the GUI but also replicates exactly what CM is going to do.

Mike
0
 

Author Closing Comment

by:rmessing171
ID: 41752918
Thank you for your assistance!
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
SCCM 2012 - Exclude a specific OU from being discovered/scanned 4 357
.exe to msi 7 89
WSUS update (KB2687455) not showing in SCCM 5 181
SCCM OSD - DISM add-drver help 2 25
Article by: Leon
Software Metering within our group of companies has always been an afterthought until auditing of software and licensing became a pain point. Orchestrator and SCCM metering gave us the answer and it was an exciting process.
Cloud-based technologies and services will continue to grow in popularity in 2017 thanks to the simple, scalable and cost-effective solutions they deliver. Here are three areas where cloud adoption is poised to really take off.
This Micro Tutorial will give you a basic overview how to record your screen with Microsoft Expression Encoder. This program is still free and open for the public to download. This will be demonstrated using Microsoft Expression Encoder 4.
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …

896 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now