use %appdata% with ZmCustomizeMsi.js option --zdb-folder

Ask your questions and get help with Zimbra's Outlook Connector.
g.wehrli
Posts: 2
Joined: Fri Sep 21, 2018 12:39 pm

use %appdata% with ZmCustomizeMsi.js option --zdb-folder

Postby g.wehrli » Fri Sep 21, 2018 1:37 pm

we want customize the ZCO 8.8.9 unsigned msi installer with the customization script "ZmCustomizeMsi.js". With this script there is an option to set the default zdb location (--zdb-folder). Does someone know how to embed a relative path with windows environment variable into the installer? I was able to use this option with absolute paths like C:\Users\test\appdata\roaming\zimbra so far but I was not able to use a dynamic path like %appdata%\zimbra
I haven't found anything on this guide: https://files.zimbra.com/website/docs/8 ... _8.7.0.pdf


g.wehrli
Posts: 2
Joined: Fri Sep 21, 2018 12:39 pm

Re: use %appdata% with ZmCustomizeMsi.js option --zdb-folder

Postby g.wehrli » Wed Oct 10, 2018 11:41 am

Finally got it to run. My bad, I didn't use the right escape char. The Command now looks like this:

Code: Select all

 cscript ZmCustomizeMsi.js ZimbraConnectorOLK_8.8.9.1775_x86-UNSIGNED.msi --server-name <servername> --zdb-folder ^%appdata^%

Return to “Zimbra Connector for Outlook”

Who is online

Users browsing this forum: No registered users and 6 guests