Home Forums General XMetaL Discussion Install XMetaL 5.5 Essential with silent mode Reply To: Install XMetaL 5.5 Essential with silent mode

Derek Read

Reply to: Install XMetaL 5.5 Essential with silent mode

Perhaps you could incorporate a script similar to the following into your setup routines?

[code]var fso;
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..exe from this registry key:
HKEY_CLASSES_ROOTCLSID{3BBEE98D-742B-11D2-BD0A-00A024C36143}LocalServer32

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).

Reply

Products
Downloads
Support