General XMetaL Discussion

XMetaL Community Forum General XMetaL Discussion Is there an automated way to uninstall xmetal 4.6 and install xmetal 5.5 Author?

  • pszwec

    Is there an automated way to uninstall xmetal 4.6 and install xmetal 5.5 Author?

    Participants 3
    Replies 4
    Last Activity 11 years, 6 months ago

    Maybe with .msi in a batch file?

    Reply

    gcrews

    Reply to: Is there an automated way to uninstall xmetal 4.6 and install xmetal 5.5 Author?

    I ran into this same issue but I wanted to unistall any installations, 5.0, 5.1. 5.5 and 6. It’s pretty hard doing it with a batch script unless you have every setup for every possible copy available to the batch script. I wasn’t kind to this idea because we have two remote people, I didn’t want a script potentially having to fetch an entire installer just to uninstall the product. Is the data1.cab required with the uninstall command (setup.exe /s /x /v”qn”)?

    pszwec : look in the readme under Silent installer for  info on the setup.exe command:
    http://na.justsystems.com/files/install-readme.html
    you might want to check the readme files fort older releases to make sure the command is the same:
    http://forums.xmetal.com/index.php?topic=108.0

    I ultimately ended up making a little helper tool for handling installation and updates for writers. In the helper tool to uninstall Xmetal I ended up enumerating though the registry keys in:
    HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionInstallerUserData

    I match any items that have Xmetal in the DisplayName and then prompt the user to verify to uninstall and then I use the LocalPackage data to call the local msi file to uninstall Xmetal. After the uninstall I then force delete any remaining folders such as the writing tools and stuff.

    Reply

    LeeHart

    Reply to: Is there an automated way to uninstall xmetal 4.6 and install xmetal 5.5 Author?

    You may be able to do something like this:
      WmiC Product Where “Name like '%XMetaL%'” Call Uninstall

    I don't have XMetaL 4.6 installed to try.

    Lee

    Reply

    gcrews

    Reply to: Is there an automated way to uninstall xmetal 4.6 and install xmetal 5.5 Author?

    I tried to use WMI to uninstall any instance but spent about 2 hours futzing with code and got no where. I tried very basic code from msdn examples and the code was failing. I tried  some WMI  repair tool to and that didn't help any either. Figured that was not going to be  by any means reliable to    find any uninstallers.

    Tried the command on my system:
    ERROR:
    Code = 0x80041010
    Description = Invalid class
    Facility = WMI

    Reply

    Derek Read

    Reply to: Is there an automated way to uninstall xmetal 4.6 and install xmetal 5.5 Author?

    Please see the following posting. There is a section there on uninstalling using the InstallShield options to create an uninstall script.
    http://forums.xmetal.com/index.php/topic,25.0.html

    If you wish to use msiexec.exe to uninstall you will need to obtain the “installer GUID” for the specific version you have installed. Information on figuring that out is located here: http://forums.xmetal.com/index.php/topic,526.msg1919.html#msg1919

    The msiexec.exe command line documentation (for XP) is located at the following address. The uninstall command switch is “/x”.
    http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/msiexec.mspx

    Reply

  • You must be logged in to reply to this topic.

Lost Your Password?

Products
Downloads
Support