General XMetaL Discussion

XMetaL Community Forum General XMetaL Discussion Install XMetaL 5.5 Essential with silent mode

  • wongsk27

    Install XMetaL 5.5 Essential with silent mode

    Participants 5
    Replies 6
    Last Activity 12 years, 7 months ago

    Dear All,

         Does anybody know how to install XMetaL 5.5 Essential with silent mode?

    -Brian

    Reply

    Derek Read

    Reply to: Install XMetaL 5.5 Essential with silent mode

    Hopefully this explains it well enough: http://forums.xmetal.com/index.php/topic,60.msg

    Reply

    LeeHart

    Reply to: Install XMetaL 5.5 Essential with silent mode

    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.

    Thanks,

    Lee

    Reply

    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

    LeeHart

    Reply to: Install XMetaL 5.5 Essential with silent mode

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

    Thanks,

    Lee

    Reply

    Derek Read

    Reply to: Install XMetaL 5.5 Essential with silent mode

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

    Reply

    LeeHart

    Reply to: Install XMetaL 5.5 Essential with silent mode

    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.

    Thanks,

    Lee

    Reply

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

Lost Your Password?

Products
Downloads
Support