How to Create a package(.vbs, .exe, .msi) with uninstall option in SCCM 2012

Since i am new to SCCM 2012, i have used default way to create a package(.vbs) in SCCM. The package has been created and i deployed to a collection of Windows 7 machines and the machines also received the package in Software Center under "Available Software"

I installed the application using "Install" option under available software tab in SCCM Software Center 2012. When i try to uninstall the same application from Software Center, i didnt get an UNINSTALL option instead i am getting an REINSTALL option only under "Installation Status" tab. Moreover i didnt get any information about the package under "Installed Software" even after i installed it. I would like to know how to create a package with below two options. Please guide me through the process.

1. Option to uninstall the package after i installed from Software Center.

2. Installed Packages has to be listed under "Installed software" tab.

Note: I have applications in all the following formats .vbs, .exe, .msi.

Thanks in Advance,

Prabhakaran C


August 20th, 2015 2:06am

  1. Use the application model and provide an uninstall command line. Also, make sure the deployment is set to available, as you can't uninstall required applications;
  2. This is based on the install state of the application.
Free Windows Admin Tool Kit Click here and download it now
August 20th, 2015 3:16am

Hello,

if you have a msi file it is very ease to create an install/uninstall application. just use the "Create Application" button and search the folder where the msi file is located. Then everything should be setup automatically, even the uninstall command line and the detection method.

Best Regards,

Udo

August 20th, 2015 5:09am

To add on Peter answer.

Also reading the title if you make a package you don't get the uninstall and the other nice feature. SO make sure you build application and not package to get the option you want.

Option to uninstall the package after i installed from Software Center. You need to have a uninstall programe assign to that deployment type and like Peter said if the application was deploy using REQUIRED you can`t uninstall.

Installed Packages has to be listed under "Installed software" tab. For this you need to make sure the detection method is configure properly as this is how SCCM knows if the application is install.

The following hold true for any type of application you make script/exe/msi and so fort


Free Windows Admin Tool Kit Click here and download it now
August 20th, 2015 7:28am

Thanks All,

Earlier i tried to create using Application using Automatic detection Method where we dont have option to select .exe or .vbs then i find a way uning Manual detection method  and selected Script Installed method to use .vbs file. I hope this way i can acheive my requirement. I will do couple of testing and update here with my results.

Regards,

Prabhakaran C

August 20th, 2015 9:08am

Here what i do is i build all my application (msi, exe and other) into a powershell script that does install and uninstall.

I configure all the option install/uninstall string and detection method and i can do everything you do with a simple MSI and i have way more control over what am doing.

You get all the same option with the Manually specify the application information/Manually specify the deployment type information it`s just that you have to do it all by hand.

Free Windows Admin Tool Kit Click here and download it now
August 20th, 2015 9:12am

To add on Peter answer.

Also reading the title if you make a package you don't get the uninstall and the other nice feature. SO make sure you build application and not package to get the option you want.

Option to uninstall the package after i installed from Software Center. You need to have a uninstall programe assign to that deployment type and like Peter said if the application was deploy using REQUIRED you can`t uninstall.

Installed Packages has to be listed under "Installed software" tab. For this you need to make sure the detection method is configure properly as this is how SCCM knows if the application is install.

The following hold true for any type of application you make script/exe/msi and so fort


August 20th, 2015 11:27am

To add on Peter answer.

Also reading the title if you make a package you don't get the uninstall and the other nice feature. SO make sure you build application and not package to get the option you want.

Option to uninstall the package after i installed from Software Center. You need to have a uninstall programe assign to that deployment type and like Peter said if the application was deploy using REQUIRED you can`t uninstall.

Installed Packages has to be listed under "Installed software" tab. For this you need to make sure the detection method is configure properly as this is how SCCM knows if the application is install.

The following hold true for any type of application you make script/exe/msi and so fort


Free Windows Admin Tool Kit Click here and download it now
August 20th, 2015 11:27am

Thanks Peter and Frederick,

I published the application in Manual specification method and used File/folder Detect method to acheive my requirement as per your directions. Now i can get what i expected.

Also, any of you can confirm do we get reinstall option if we published a software as Application. I am sure we can get reinstall option if we publish a software in Package method.

Regards,

Prabhakaran C

August 25th, 2015 3:14am

If you have the application deploy to a collection as available the device/user will be able to install it even after removing it. As long as the detection work. SO if you selected a file like you mention and the uninstall doesn't remove that file SCCM will still think the application is installed.

Free Windows Admin Tool Kit Click here and download it now
August 25th, 2015 7:20am

Hi Frederick,

I have tested the behaviour, Uninstall option works fine and i can successfully install it again without any issues. So the file/folder detection method works fine as expected but i want to know if ther is any possibility to make Reinstall option also available.

I can get the Reinstall option, if i publish the Software in Package method. When i use Application method to publish we will get Uninstall Option only not reinstall option.

I think it is default behaviour of SCCM but if there is any possibility to make Reinstall option also available that will be great.

Thanks,

Prabhakaran C

August 25th, 2015 7:56am


I think it is default behaviour of SCCM but if there is any possibility to make Reinstall option also available that will be great.


That cannot be done. 
Free Windows Admin Tool Kit Click here and download it now
August 25th, 2015 8:03am

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

Other recent topics Other recent topics