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)
Please log in to answer
Posted by:
anonymous_9363
16 years ago
Posted by:
dpolishsensation
16 years ago
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?
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
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
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
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?
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.
so that the conversation will remain readable.