Forums on Intune, SCCM, and Windows 11

Welcome to the forums. Register a free account today to become a member! Once signed in, you'll be able to participate on this site by adding your topics and posts, as well as connect with other members through your own private inbox!

SOLVED Uninstall applications in software center

  • Thread starter Thread starter Sokoban
  • Start date Start date
  • Replies Replies 8
  • Views Views 14K
Status
Not open for further replies.

Sokoban

Well-Known Member
Messages
102
Reaction score
7
Points
18
Hi

I want to be able to click uninstall an application in Software Center i have application that do not exist as WMI installation or in the control panel. I have heard that it is possible to create a so called product code in order to be able to uninstall the Software Center on the client.

How will I do that ?

Sokoban
 
Are you looking to uninstall an application using product code ?. Your question is bit confusing, please elaborate.
 
Are you looking to uninstall an application using product code ?. Your question is bit confusing, please elaborate.
Yes, that’s right ... it’s possible to do that ?
The application haven’t product code ... can I create a new one ?
Sorry if you think I typing unclearly ...
 
I found that .. "The package code is a GUID identifying a particular Windows Installer package. The package code associates an .msi file with an application or product and can also be used for the verification of sources."

My application is not a msi product, it's a created in PowerShell and I can uninstall the application with that but the problem is the Software Center appear the application grayed-out and I can't re-deploy again..

// Sokoban
 
When you install a application via powershell, you can use a powershell script to uninstall that app. Have you supplied the powershell script (used to uninstall application) under Uninstall program ?. If not, the option to uninstall will be greyed out. You must also add a proper detection method so that if the app is installed, the script doesn't run.
 
you would need to deploy it with Install Available in order to allow users to uninstall the application from software center. Greyed out because its set to Required.

Dont forget to use the detection method.
 
I have to resolve how to detection method will worked, thanks for your input.
The thread is now solved
 
am just curious, what sort of application you created with Poweshell? is it just an exe? you can create a collection based on file path.
SQL:
select SMS_R_SYSTEM.ResourceID,SMS_R_SYSTEM.ResourceType,SMS_R_SYSTEM.Name,SMS_R_SYSTEM.SMSUniqueIdentifier,SMS_R_SYSTEM.ResourceDomainORWorkgroup,SMS_R_SYSTEM.Client from SMS_R_System inner join SMS_G_System_SoftwareFile on SMS_G_System_SoftwareFile.ResourceID = SMS_R_System.ResourceId where SMS_G_System_SoftwareFile.FilePath = "path/to/file"

and you can use the same for detection method.
 
Status
Not open for further replies.

Forum statistics

Threads
7,156
Messages
27,932
Members
18,237
Latest member
Causal
Back
Top