cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
InstallGal
Level 3

Silent uninstall does not work on Win7

Hello,

I've been using the following command for silent uninstall successfully on win XP:

msiexec.exe /x {ProductCode} /qn

However, when I tried it on Win7 it does not do anything. When I remove the /qn the uninstaller launches successfully in GUI mode.

Any suggestions?
Labels (1)
0 Kudos
(4) Replies
Christopher_Pai
Level 16

What does the log say?
0 Kudos
InstallGal
Level 3

The log file is empty.

The command I ran with logging options is:

msiexec.exe /X {ProductCode} /qn /log log.txt
0 Kudos
Bineesh
Level 6

Try this for log
msiexec.exe /X {ProductCode} /qn /l*v c:\UninstallLog.txt
0 Kudos
InstallGal
Level 3

Thanks Bineesh. This command produced a more verbose log that indicated the user needs to be Administrator in order to run the uninstallation. It's a bit strange since the user does have "Administrator" permissions and was the same user who installed the application. Uninstallation was successful once I ran the uninstall batch file "as Administrator".
0 Kudos