Bladelogic inherently has the capability to trigger “undo/uninstall” of a software deployment provided the software itself has an uninstall mechanism and the same is made available to Bladelogic.
For instance, if a rpm was being deployed to a Linux target using the RPM Depot Object, Bladelogic knows that it needs to trigger an uninstallation using “rpm –e” command sequence.
So, in this case it depends on what type of depot object was created for installing wireshark/winpcap and whether its uninstallation mechanism was made available to Bladelogic.
Thanks & Regards,
So the Linux stuff is pretty straight forward. I was hoping someone had ran across the issue of uninstall WireShark (specifically the one that installs WireShark and WinPCap together). I know it's a shot in the dark but outside of MSI installs/uninstalls, I really haven't found any good discussions on .EXE installs/uninstalls.
The version of WireShark is 1.10.1 (64bit) and the name of the executable that performed the installation is [Wireshark-win64-1.10.1.exe]. Let me know if anyone has any ideas, resources, came across this issue or can officially say that it's not supported.
1 of 1 people found this helpful
enter below command into CMD to execute exe in silent mode:
wireshark-win32-1.11.0.exe /NCRC /S /desktopicon=yes /quicklaunchicon=no /D=C:\Program Files\Foo
Once you install this, you uninstall from installation directory, use /S swicth for silent uninstallation.
1 of 1 people found this helpful
if it's a msi you can get the guid and call msiexec like 'msiexec /x GUID /qn'
is the exec a wrapper for the msi ? perhaps you can pass the msiexec options through the exe ?
you may also want to look at this:
itninja (formerly appdeploy.com) and installsite.org both have a good collection of silent install and uninstall arguments for a lot of software.
generally you should get the install and uninstall working outside of bsa, then get it working in bsa as a blpackage or depot software.
I wound up uninstalling all wireshark instances after building out a component template and setting up compliance rules to tell me which systems had wireshark. It's too bad we don't have a repository to store customized blpackages, templates and other BSA objects built here on the BSA communities.
I'm currently working with Jamonne D. on my current project...he speaks very highly of you (as many other BMC people I have worked with in the past). Thanks for the help and keep up the good work.
AJ - we do have a repository started called Blade Essentials. I have been posting content to that site but its meant to be for anyone in the community to share their content. You will find it here:
The only request is that if you upload any content, to try and document the steps and give it the appropriate tags, i.e. Blade Essentials
What we really need is the ability to easily create an 'undeploy' job. Obviously you can 'undo' a deployment, but If BSA didn't install the software in the first place then no job key exists for the undo operation. To uninstall software I've had to write my own set of NSH library routines that do things like invoke WMIC via nexec on a managed windows host to extract product GUIDs that I can pass to msiexc. It's really time consuming to develop and test all this stuff that should be out of the box.
Blade needs a link to a package of the object so it can figure out the uninstall commands. not everything can be uninstalled w/ a msiexec /x . blade doesn’t have to have installed the software on the target though. as long as depot software for the object exists, w/ the uninstall commands, you should be able to right click on the software in the ‘applications’ list (or rpm, pkg, etc) and do ‘uninstall’ and then the gui will ask you to link to a depot software object to get the uninstall commands.
Thanks Bill. I guess if you can uninstall via the GUI then you can achieve much the same via BLCLI? Is this possible? I'm driving this via AO and my use case is I need to uninstall a version of an app before I can install a later version as some apps e.g. the JRE, will install the new version alongside the old version and that's not the outcome I want.
Also is it possible to leverage the inbuilt live browse functionality that provides a list of installed apps and their versions via BLCLI? This would greatly simplify what I need to do.
I don’t see any blcli commands that look like they could trigger this. so you may need to use your scripted method.