General XMetaL Discussion
XMetaL Community Forum › General XMetaL Discussion › Install XMetaL 5.5 Essential with silent mode
wongsk27 December 2, 2009 at 2:22 pm
Install XMetaL 5.5 Essential with silent modeDecember 2, 2009 at 2:22 pmParticipants 5Replies 6Last Activity 13 years, 3 months ago
Does anybody know how to install XMetaL 5.5 Essential with silent mode?
-BrianDerek Read December 2, 2009 at 10:37 pm
Reply to: Install XMetaL 5.5 Essential with silent modeDecember 2, 2009 at 10:37 pm
Hopefully this explains it well enough: http://forums.xmetal.com/index.php/topic,60.msgLeeHart December 7, 2009 at 7:31 pm
Reply to: Install XMetaL 5.5 Essential with silent modeDecember 7, 2009 at 7:31 pm
How do you detect whether the service pack is required? The installed version in the registry doesn't change when the service pack is installed. (HKLMSoftwareSoftQuadXMetaL 5.5 InstallerVersion value).
Currently I always run “MsiExec.Exe /Quiet /Update XMES-5.5-SP1.Msp” if the installed version is 5.5.093 but I'd rather be able to detect if the SP is needed.
LeeDerek Read December 7, 2009 at 8:19 pm
Reply to: Install XMetaL 5.5 Essential with silent modeDecember 7, 2009 at 8:19 pm
Perhaps you could incorporate a script similar to the following into your setup routines?
var version = “”
var xmetalPath = “C:\Program Files\XMetaL 5.5\Author\xmetal55.exe”;
fso = new ActiveXObject(“Scripting.FileSystemObject”);
version = fso.GetFileVersion();
fso = null;[/code]
This would need to be rewritten in the language of your setup scripts (if not JScript as above) of course.
You should be able to extract the path to xmetal.
.exefrom this registry key:
However, as you are doing your installations silently that should not be necessary as you already know where it is being installed (usually the only way that path would differ is with a manual installation where someone overrode the default install path).LeeHart December 7, 2009 at 9:24 pm
Reply to: Install XMetaL 5.5 Essential with silent modeDecember 7, 2009 at 9:24 pm
The setup scrips are batch files. I use reg.exe to query/set the registry values. I guess I could use cscript.exe to run the jscript, but I was hoping for a cleaner solution (one less file).
LeeDerek Read December 7, 2009 at 10:11 pm
Reply to: Install XMetaL 5.5 Essential with silent modeDecember 7, 2009 at 10:11 pm
@LeeHart: So, is the issue that you are not sure which users have what installed and are worried that something might be overwritten?
Running the 5.5 SP1 installer on a machine that already has 5.5 SP1 installed should do nothing more than overwrite existing application files. The only files being patched here are related to the XMetaL Essential application itself (ie: nothing to do with any customization files you have created or installed).LeeHart December 8, 2009 at 12:29 am
Reply to: Install XMetaL 5.5 Essential with silent modeDecember 8, 2009 at 12:29 am
I'm just trying to avoid re-running the SP install if it's already installed. If there's not an easy way to detect it I'll pass on it for now. I dind't see any problems running it again but it's good to hear that there shouldn't be any problems.
- You must be logged in to reply to this topic.