Community Forums
Results 1 to 4 of 4

Thread: Silent uninstall switches.

  1. #1
    Join Date
    Dec 2004
    Posts
    14

    Silent uninstall switches.

    Hi,
    I have a third party product that I install with in my own one by executing it's setup.exe file in silent mode.
    When I uninstall my product I also need to uninstall that product too.
    What are the command line switches I need to use in order to silently uninstall it?
    I tried /x /uninst but still got a Yes/No dialog asking me if I really would like to uninstall it.

    Thank you.

  2. #2
    Join Date
    Oct 2004
    Location
    Germany
    Posts
    33
    Hi xmozart,


    try "Msiexec.exe /qn /x{Productcode}" for uninstalling

  3. #3
    Join Date
    Dec 2004
    Posts
    14
    It does nothing. I tried it with /x{} only, and got the following message:
    "This action is only valid for products that are currently installed."

    Can it be because the setup is not an MSI project but InstallScript project?
    Any other ideas?

    Thank you.

  4. #4
    Join Date
    Jan 2008
    Posts
    1

    Thumbs up Uninstall for any Symantec product

    If product code does not work, try reg key instead
    Go to HKEY_LOCAL_MACHINE\SOFTWARE\MICROSOFT\ WINDOWS\CURRENT VERSION\UNINSTALL registry key and do a search for the subkey "symantec"
    The key will be the same as long as sav version is same
    Install pstools/psexec-remote utility by sysinternals/M$
    from here;
    http://technet.microsoft.com/en-us/s.../bb897553.aspx

    Type this in from the location where you installed psexec:
    psexec \\computer1,computer2 -u domain\domain_admin -p password MsiExec.exe /qn /x{50E125D1-88E5-48CE-80AE-98EC9698E639} REMOVE=ALL /passive /promptrestart
    You can enter a list of computers(txt)-just type in psexec /? and follow the guide.
    Just tried it and worked like a charm-it not only bypassed the "Yes/No" prompt from symantec, but also bypassed the uninstall pwd!! I got an error from msiexec saying error code 0, but the machine was free from symantec
    reg keys commonly used by symantec;
    10.1:
    {33CFCF98-F8D6-4549-B469-6F4295676D83}

    End-point:
    {FB8A4E30-9915-4814-ADF9-42E00D9FDC3D}

    10.2
    {50E125D1-88E5-48CE-80AE-98EC9698E639}

    Good Luck!
    Last edited by adipolle; 01-09-2008 at 11:55 AM. Reason: remove private company info

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •