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

Comments

Please log in to comment

Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.

Answers

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.
Answered 09/27/2007 by: VBScab
Red Belt

Please log in to comment
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?
Answered 09/27/2007 by: dpolishsensation
Blue Belt

Please log in to comment
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
Answered 09/27/2007 by: dunnpy
Red Belt

Please log in to comment
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?
Answered 09/28/2007 by: dpolishsensation
Blue Belt

Please log in to comment
Answer this question or Comment on this question for clarity