We run silent install of Toad as Windows user1 using the command
msiexec /i "<path to msi>" /q
We want to silent uninstall Toad as Windows user2 using the command
msiexec /x "<path to msi>" /q
but nothing happens.
This is not a Toad issue as it involves a Windows install command. Other software will give you the same issue.
For example,
1. Download the XmlNotepad.msi from http://www.microsoft.com/download/en/confirmation.aspx?id=7973
2. Log into my PC as user1 and placed XmlNotepad.msi into C:\temp
3. Installed as user1 using the following command
msiexec /i "C:\TEMP\XmlNotepad.msi" /qn
4. Log out as user1 and log in as user2
5. Run the following command as user2 and nothing happens
msiexec /x "C:\TEMP\XmlNotepad.msi" /q
You must run msiexec to uninstall from the same user you used to install. Please consult Microsoft on the reason for this.
Also, you can use the RUNAS command as a workaround.
For example,
C:\>runas /user:<domain or the computer name>\<user> "msiexec /x "C:\TEMP\TOAD_Standalone\9_5_0_31\ToadforOracle95SetupFull.msi" /q"
The only problem is you cannot specify a password in the RUNAS command and you will get prompted for the password for the original user.
Please consult Microsoft for further concerns on the msiexec and runas commands.