General XMetaL Discussion
pszwec February 2, 2011 at 5:04 pm
Is there an automated way to uninstall xmetal 4.6 and install xmetal 5.5 Author?February 2, 2011 at 5:04 pmParticipants 3Replies 4Last Activity 11 years, 6 months ago
Maybe with .msi in a batch file?gcrews February 2, 2011 at 5:34 pm
Reply to: Is there an automated way to uninstall xmetal 4.6 and install xmetal 5.5 Author?February 2, 2011 at 5:34 pm
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:
you might want to check the readme files fort older releases to make sure the command is the same:
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:
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.LeeHart February 8, 2011 at 2:27 am
Reply to: Is there an automated way to uninstall xmetal 4.6 and install xmetal 5.5 Author?February 8, 2011 at 2:27 am
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.
Leegcrews February 8, 2011 at 2:40 am
Reply to: Is there an automated way to uninstall xmetal 4.6 and install xmetal 5.5 Author?February 8, 2011 at 2:40 am
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:
Code = 0x80041010
Description = Invalid class
Facility = WMIDerek Read February 9, 2011 at 2:25 am
Reply to: Is there an automated way to uninstall xmetal 4.6 and install xmetal 5.5 Author?February 9, 2011 at 2:25 am
Please see the following posting. There is a section there on uninstalling using the InstallShield options to create an uninstall script.
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”.
- You must be logged in to reply to this topic.