Does sccm uninstall the install previous version of program?
Title says it all; when I push a program out through SCCM to a PC that already that program installed, does it uninstall the existing one before installing the new one?
June 23rd, 2011 10:34am

Not sure what you are asking. I have installed Project Pro 2010 via SCCM and it did not un-install Project Pro 2007 if that is where you are going. This is the only experience I have with installing a newer version of something that is already installed.
Free Windows Admin Tool Kit Click here and download it now
June 23rd, 2011 10:41am

Only if you tell it to. (setup the package to do so) SCCM is just the delivery truck. If you hand us an uninstal we will uninstall. John Marcum | http://myitforum.com/cs2/blogs/jmarcum/|
June 23rd, 2011 11:04am

Seems it doesn't; I will have to add an uninstaller to my application so that it uninstalls the previous version before installing the current one. I can add a command prompt to the package to unistall the "old" one but that would be too much hassle for the sccm admins.
Free Windows Admin Tool Kit Click here and download it now
June 23rd, 2011 11:11am

You cau use msiexec.exe with uninstall parameter or v.Next version SCCM has this functionality.xxxxxxxxxx
June 23rd, 2011 11:36am

Yep; been looking into that; msiexec command needs the programs guid but for my app it doesn't seem to add it to the registry.
Free Windows Admin Tool Kit Click here and download it now
June 23rd, 2011 11:58am

Is your application setup a Windows Installer package? Otherwise you will have to as you say create an uninstaller, using Msiexec.exe /x will not be possible. Regards, jörgen-- My System center blog ccmexec.com --
June 23rd, 2011 12:21pm

Yes, it is a Windows installer. I thought it would be as simple as just entering [Guid("6156C6FC-4DD9-4f82-8200-0446DABB7F35"), ComVisible(true)] above the class declaration but when I looked for it in CLSID it was not there.
Free Windows Admin Tool Kit Click here and download it now
June 23rd, 2011 12:46pm

You can try /uninstall parameter with path to .msi file msiexec.exe </uninstall | /x> <Product.msi | ProductCode>Petr Kosec, MVP - System Center Configuration Maanger http://www.kosecsolutions.cz
June 29th, 2011 4:44am

Hi, have a look at this blogpost: http://henkhoogendoorn.blogspot.com/2011/03/how-to-uninstall-applications-with.html It mentions: Create a new Software package, and choose on the Advanced tab for "Run another program first". Select the remove/uninstall program for the old application, and update the MSI application. That's all you have to do for uninstalling or updating applications! Use the following Command for uninstall: msiexec.exe /x {Windows installer product code} /qn (example)My ConfigMgr blog: http://henkhoogendoorn.blogspot.com Follow me on Twitter: @henkhoogendoorn
Free Windows Admin Tool Kit Click here and download it now
June 29th, 2011 11:03am

@ Henk : This is not always working as expected . There are certain hickups such as reboot pending , open files ,etc . Normally with an msi , you don't need to uninstall the application as it has been buildin in the msi logic . I admit however that not a lot of vendors are sticking to the correct Msi standards . I always use task sequences to do the trick and to build in some logic for uninstall checks . This isn't possible with "Run another program first". What are you going to do when your "Run another program first" package fails as the software is not there or it has another version ? -->Your software dist will just fail . Finally CM12 will fix this with the new way of app delivery . Hope it helps , Kenny Buntinx Hope it helps , Kenny Buntinx www.scug.be/blogs/sccm/
June 30th, 2011 12:34pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics