I am a brand new user for bigfix. I need help to have a guidance writing an action Script to uninstall an installed MSI file. Basically, we have Nortel Callpilot Desktop Messaging that was installed to about 100 PC from msi file. This is an add on apps in the Microsoft Outlook for Nortel phone users. We need to uninstall it. I was told that it can be done through bigfix.
I have seen some action Scripts in the bigfix but I have no idea where to start?
Any guidance or template to write an action Script to uninstall an installed MSI file?
Put this in the actionscript of a custom BigFix Task… then click on the action, type the name of the app you want, and target the computers…
action parameter query “name” with description “Please enter the Program Name (needs to match the name in the add/remove programs”
waithidden “{pathname of system folder & “\msiexec.exe”}” /QN REBOOT=ReallySuppress /X{name of key whose (value “DisplayName” of it as lowercase =(parameter “Name” of action as lowercase) and name of it starts with “{”) of key “HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall” of registry}
Anyone want to test this and export their Task to make it easier for other people who want to try this?
Here is a snippet of an uninstall that I put together to remove the BlackBerry Desktop Manager:
// Uninstall via MSIEXEC
waithidden “{pathname of system folder & “\msiexec.exe”}” /QN REBOOT=ReallySuppress /I{name of key whose (value “DisplayName” of it starts with “BlackBerry Desktop Software” and name of it starts with “{”) of key “HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall” of registry}
note that you do not need to fill in “pathname” etc. All you really need to modify is the value of the “DisplayName” key in the “…\Uninstall” branch of the registry.
I created the task based on your code and attached it here. I added some relevance so it can only target windows systems.
Would it be possible for this script to pull the application names from the “Installed Application Information (Windows)” analysis? Has anyone else done this or would it be useful?
What we really want is a wizard to do this, but in the meantime, here is a modified Task that will tell you which applications are installed in the description tab…
I’m just getting around to trying to use this and I can not get it to work. What exactly should one enter in the dialog box that pops up? The display name of the app or the GUID? I’m trying this with multiple apps and no success.
Enter the display name of the application… Note that this is case sensitive the way it was written… you can change this by adding “as lowercase” in the action, like this:
waithidden “{pathname of system folder & “\msiexec.exe”}” /QN REBOOT=ReallySuppress /X{name of key whose (value “DisplayName” of it +as string as lowercase + =(parameter “Name” of action +as lowercase+) and name of it starts with “{”) of key “HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall” of registry
I am new to Bigfix…I donot get what should be put up on the places of pathname of system folder ,name of key whose (value “DisplayName” of it as string as lowercase =(parameter “Name” of action as lowercase) and name of key whose (value “DisplayName” of it as string as lowercase =(parameter “Name” of action as lowercase)
Could you please put up an example script so that it would be easy for me to understand?