Q. How to silently install AutoPIPE V8i 09.06.01.xx


Applies To
Product(s):AutoPIPE,
Version(s):V8i
Area: Installation
Original Author:Bentley Technical Support Group

Dec 2014, AutoPIPE V8i 09.06.01.10

Problem:

The WiX installers are apparently supposed to have a Setup.xml file, but the that file does not exist when I extract the installation content for AutoPIPE V8i 09.06.01.xx. As well, using the "INSTALLLOCATION" command line argument doesn't override the default installation location.

How to silently install AutoPIPE V8i 09.06.01.xx and install to a different location than default?

Solution:

Following are some instructions. However for this version, installer be warned, It may not be a great idea to install AutoPIPE in C:\Program Files\ because AutoPIPE still needs write permission to the installation directory to modify certain configuration files.

WiX Burn supports parsing the "standard package switches". Some of these are

-q or -quite

Silent Installation

-s or -silent

Silent Installation

-passive

Progress bar only

- norestart

Suppress any restarts

-l or -log

Log to a specific file

-uninstall

Uninstall

-repair

Repair (or install if not installed)

-norestart

Suppress any restarts

-forcerestart

Restart always

-promptrestart

Prompt if a restart is required

To change the default installation directory, user has to override "InstallFolder" variable through command line as in following example.

This command will install Setup.exe in silent (-s) mode to the directory (InstallFolder) specified by user:

Setup.exe -s InstallFolder=C:\BentleyAutoPIPE\

Note: there is a problem with WIX installer that is beyond Bentley's  control, see hereAt the moment we are using WiX v3.8 and this bug has been fixed in WiX v3.9.

Work Around

Add a word at the end of the path. This word will be added to start of each installation folder.

Example:

Setup.exe -s InstallFolder=”C:\Bentley AutoPIPE SS5\Bentley”

This will install AutoPIPE and other tools to folder “C:\Bentley AutoPIPE SS5\” and all folder name will be preceded by “Bentley” as shown in image below

 

Solution

See web page here: https://github.com/wixtoolset/issues/issues/3890

See Also

Performing a silent installation

Bentley AutoPIPE