0

I want to uninstall my software that only prompt a UAC window and after that it doesn't show any UI. i am using msiexec.exe to uninstall it. But how can i do it silently....

MsiExec.exe /x{Product Guid}

how it is possible in silent mode

Anoop Mishra
  • 1,005
  • 2
  • 10
  • 33
  • what has this to do with C#/development? – Random Dev Sep 09 '15 at 07:41
  • my code is in c#, i know there is nothing to do with c# development – Anoop Mishra Sep 09 '15 at 07:43
  • sorry but this is no question for SO - look in Server Fault (basically ask an administrator/IT guy - but personally I think the UAC is there for good reasons and you should not be able to silently uninstall it without administrator rights) – Random Dev Sep 09 '15 at 07:45
  • i dont want to bypass the UAC but after UAC i dont want to show any uninstallation wizard. – Anoop Mishra Sep 09 '15 at 07:48
  • Or can you suggest me that how can i design a uninstaller for my application. that only prompt for permission of uninstallation. – Anoop Mishra Sep 09 '15 at 08:02

1 Answers1

1

Have you tried

MsiExec.exe /x{Product Guid} /quiet

You can see all the supported options if you just type msiexec in the cmd.

johnnyjob
  • 380
  • 1
  • 9