Home Forums General XMetaL Discussion Is there an automated way to uninstall xmetal 4.6 and install xmetal 5.5 Author? Reply To: Is there an automated way to uninstall xmetal 4.6 and install xmetal 5.5 Author?

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

Products
Downloads
Support