Silent Installation

Versions Starting from 2021

Installation

All our installers for Windows are implemented using the Qt Installer Framework of version 4. Below is the most typical example of its usage for Wrap installer:

Faceform_ZWrap_2023.12.4_Setup.exe install --accept-licenses --confirm-command --accept-messages

and its shorthand:

Faceform_ZWrap_2023.12.4_Setup.exe install --al -c --am

Specify ZBrush Directory

Note

Introduced in version 2023.12.4.

Parameter zbrush can be added to specify ZBrush® installation directory. It will be helpful in cases when installer can’t automatically detect ZBrush® installation directory or specific ZBrush® directory is required.

Faceform_ZWrap_2023.12.4_Setup.exe install --al -c --am zbrush="C:\Program Files\Maxon ZBrush 2024"

Warning

Directory path must not contain backslash at its end.

Uninstallation

Every installer creates an uninstaller executable in the installation directory. It can be run in both GUI and console manner. To run it in the silent console mode one can type the path to the executable with the following arguments: purge command and –confirm-command or just -c option:

"C:\Program Files\Faceform\ZWrap for ZBrush 2023\Uninstall_ZWrap.exe" purge -c

Full list of installation options is available on the QtIFW official documentation page. Since our installers are offline-only, online installation features are not used.

Ignore Errors During Uninstallation

Some versions of installers may be experienced with issues during uninstall process. For example,

installationErrorWithIgnore : Installer Error : Error during removal process:
Invalid arguments in CopyDirectory: 3 arguments given, exactly 2 arguments expected.

To avoid such errors parameter –default-answer or –da should be used.

Uninstall_ZWrap.exe purge -c --da

Versions Before 2021

Installation

All our installers for Windows are implemented using the Qt Installer Framework of version 3. Unfortunately, this version does not have true headless silent installation mode. But it allows to pass a script that will automate the user’s actions. However, this still requires a GUI session. It can be called this way:

Faceform_ZWrap_2020.12.2_Setup.exe --script zwrap_auto_install.qs

Here one can find auto install scripts:

for ZWrap:

zwrap_auto_install.qs

Uninstallation

Following the same scheme as with installation, one can pass auto uninstall script to the uninstaller executable. Script is located in the scripts subdirectory relative to the installation directory. Below is the usage example:

cd "C:\Program Files\Faceform\ZWrap 2020.12.2\"
Uninstall_ZWrap.exe --script scripts\auto_uninstall.qs