Page 1 of 1

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

Posted: Fri Sep 21, 2018 1:37 pm
by g.wehrli
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: ... _8.7.0.pdf

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

Posted: Wed Oct 10, 2018 11:41 am
by g.wehrli
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^%