/build/static/layout/Breadcrumb_cap_w.png

Uninstall String

I'm trying to uninstall an application via the uninstall string in the registry. I have located the key, but my question is, is there a switch I can use to do this silently without any user interaction?

0 Comments   [ + ] Show comments

Answers (4)

Posted by: anonymous_9363 16 years ago
Red Belt
0
I wouldn't imagine they'd be any different from the one used to install the app. If it's using MSIExec, then the usual '/Qx' switches apply.
Posted by: dpolishsensation 16 years ago
Blue Belt
0
This is for an application by Avaya called the PDS Agent. Here is the uninstall string:

C:\PROGRA~1\COMMON~1\INSTAL~1\Driver\7\INTEL3~1\IDriver.exe /M{6AA2EC89-241C-4B6D-B846-483660C1F6E7}

As you can see this is not an MSI so I don't think those switches will apply. I'm thinking that this was installed with an EXE and that's why I can't remove everything when I run the uninstall via the MSI. It leaves some reg keys and shortcuts behind.

I've tried a few switches but none seem to let me do an unattended uninstallation. /s, /S, -silent, -SILENT, etc.

Is there a generic switch used for all uninstallstring's or is it different for every app?
Posted by: dunnpy 16 years ago
Red Belt
0
dpolishsensation,

You should be able to record an uninstallation response file using the original setup file - Setup.exe -r follow the uninstall prompts and then look for the setup.iss (installshield answer) file in the Windows directory.

You will then be able to run setup.exe -s -f1"<filepath>\setup.iss" to uninstall without user interaction.

This link to a post on Appdeploy covers some of the other possible solutions to your issue.

Hope this helps,

Dunnpy
Posted by: dpolishsensation 16 years ago
Blue Belt
0
This seems to work pretty well but I do have one problem. I push through with the Altiris Deployment Solution and sometimes it fails, sometimes it works. When a standard user logs in, it seems to fail. When I log in and push the job to the machine it works. I'm thinking this is a permissions issue but not sure of the solution. Here is the error message I receive:

The installation is forbidden by system policy. Contact your system administrator.
\\server\share\etc

I tried moving the files to a different folder and giving standard users full rights to them but this does not work. Also tried pushing this with a service account but that was a no go as well. Is it possible to run this when a restricted user is logged in?
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ