Usage: cscript ZmCustomizeMsi.js <msi-filename> <options>
msi-filename : name of the Zimbra Connector for Outlook MSI
options
Server options
--server-name,-sn <name>|"" : default Zimbra server value to set in the MSI
--server-port,-sp <port> : default port to set in the MSI
--use-ssl,-ssl <1|0> : 1 means use HTTPS connection, 0 means HTTP connection
ZDB file options
--zdb-folder,-zdb <path>|"" : folder to store ZDB files if roaming profiles are used. "" - empty path means default location
Logging options
--log-enabled,-le <1|0> : 1 means logging enabled, 0 means logging disabled
--log-filename,-lf <path> : path to the file where log will be written. Should end with 'zco.log'. F.e. c:\somedir\zco.log
--log-max-size,-lms <size> : maximum size of log file in megabytes
Timeout options
--connect-timeout,-tc <ms> : connect timeout in miliseconds. Should be greater than 60000. if less 60000 is used
--send-timeout,-ts <ms> : send timeout in miliseconds. Should be greater than 60000. if less 60000 is used
--receive-timeout,-tr <ms> : receive timeout in miliseconds. Should be greater than 60000. if less 60000 is used
--option-receive-timeout,-tor <ms> : option receive timeout in miliseconds. Should be greater than 60000. if less 60000 is used
Samples:
Cscript ZmCustomizeMsi.js ZimbraOlkConnector.msi: shows current settings of MSI file
Cscript ZmCustomizeMsi.js ZimbraOlkConnector.msi -sn server.zimbra.com: sets default server to be 'server.zimbra.com'
Cscript ZmCustomizeMsi.js ZimbraOlkConnector.msi -sn server.zimbra.com -sp 443 -ssl 1: sets default server to be 'server.zimbra.com' and sets SSL connection method to be used |