Master2

 

MSI Masterization Tool 
Prim'X Tools


Master2 incorporates custom files in a ZoneCentral Install package file (.msi). Those files will be copied to a target destination during installation process.

This tool is useful to install custom files, such as enterprise documentation, mandatory access files or certificates...

Command Line Parameters

master2

msifile 
[-f file]*
[-d destinationPath]
[-c "file;destinationPath"]*
[-menu menudestination]
[-n productname]

Argument Description

msifile

Target install file, for example ZoneCentral.msi.

-f <file>

One or more file to insert into the msi file. These files are copied in the destination path during install.

-d <path>

Location where files specified by switch -f are copied during install. 
The location must begin with a special keyword (see next section).

-c "file;path"

One or more couple <file-destination>. This switch may be used to copy files in different locations. Each location must begin with a special keyword (see next section). Note that each character \ must be doubled within quotes.

This switch can only be used without switches -f or -d.

-menu <path>

Location where the ZoneCentral menu is copied during install. By default, menu is set in the Program Menu folder.
The location must begin with keyword 'ProgramMenuFolder' (see example section).

-n <name>

New product name. The msi property <ProductName> is changed. The product name is displayed in the product User Interface.

Location keywords

Locations specified by switches -d or -c must begin with a special folder identifier. Allowed identifiers are:

- "SystemFolder"
- "WindowsFolder"
- "CommonFilesFolder"
- "ProgramFilesFolder"
- "AppDataFolder"
- "CommonAppDataFolder"
- "LocalAppDataFolder"
- "PersonalFolder"
- "DesktopFolder"
- "ProgramMenuFolder"
- "StartMenuFolder"
- "StartupFolder"
- "TempFolder"
- "TemplateFolder"
- "INSTALLDIR"

"INSTALLDIR" is the ZoneCentral install location (usually 'C:\Program Files\Prim'X\ZoneCentral').

Use example

The following command prepares a msi file that will install files "mandatory.zaf" and "mandatory.cer" in a subfolder of <CommonAppData folder>, which is usually "C:\Document and Settings\All Users\Application Data":

    master2 zonecentral.msi -f mandatory.zaf -f mandatory.cer -d CommonAppDataFolder\ZoneCentral\AccessFiles

The following command prepares a msi file that will install file "mandatory.zaf" in a subfolder of <CommonAppData folder>, and file "QuickStart.html" in a subfolder of <PersonalFolder>, which is usually "C:\Document and Settings\UserName\My Documents":

    master2 zonecentral.msi -c "mandatory.zaf;CommonAppDataFolder\\Zonecentral\\AccessFiles" -c "QuickStart.html;PersonalFolder\\ToolDoc\\ZoneCentral"

The following command prepares a msi file that will set the ZoneCentral menu under a subfolder called 'Specific applications':

    master2 zonecentral.msi -menu "ProgramMenuFolder\Specific Applications"

Copyright

[Master2] is a tool provided freely by Prim'X Technologies to help integration and deployment of Prim'X solutions.
[Master2] is supported by Prim'X Technologies. You may issue support requests, bug reports, or feature requests.