Hi, what are you exactly trying to achieve?
Install a custom package using a command-line?
Uninstall using a command-line?
Yes custom package using a command line. And it doesn't matter if it's install or uninstall.
I think it matters because uninstalling does not necessarily require a package.
Installing using command-line:
Say your install is an exe called 'setup.exe'. You need to include setup.exe and additional files (e.g. mypatch.msp) in the package, specify a Destination in the installation options (e.g. 'c:\temp') and then put full path in Run Command (e.g. 'c:\temp\setup.exe /adminfile c:\temp\mypatch.msp').
You can either:
- create an operational rule that uses the 'Execute Program' step (in folder 'Process Management') and input your full command line (e.g. 'c:\Program Files\myapp\uninstall.exe')
- create an operational rule that uses the 'Uninstall MSI Package' step (in folder 'Windows') and input your package ID (see https://communities.bmc.com/communities/message/250606#250606)
Is there an automaticly uninstall if a user is unassigned?
Have anyone consider it a good thing?
For example i have a group called adobe, if i put an computer there an operacional rule will install adobe... But if i retire the computer from this group, is there a way to uninstall the adobe?
No, there isn't such a possibility with the current version.
I have never seen a strong need for this, mainly because of the administrative burden this would represent (i.e. having to create uninstall procedures for all these packages, and leaving the option to uninstall or not an unassign time).
Would you agree?
Yes I agree that it has some administrative work to do… but if we make the package for installation and for uninstall, in some cases, in some clients, in some ways… it may be a very good thing… Someone asked me do install office 2010, the only thing i need to do is to put the machines in a group… and if I want to uninstall it was better if the only thing to do is to remove from the group (and not to have a group called office2010un, before the went to “all computers” group). Office is not a very good example, but winzip and some shareware, that we can install and have to remove in a near future!
Com os melhores cumprimentos,