Generating a log file for installation problem troubleshooting

  Applies To 
  Product(s): WaterGEMS, WaterCAD, HAMMER, SewerCAD, SewerGEMS, StormCAD, CivilStorm, PondPack
  Version(s): 08.11.xx.xx
  Area:  Installation
  Original Author: Jesse Dringoli, Bentley Technical Support Group


Can I generate a log file (setup log or installation log) during installation, to help troubleshoot installation related errors?


Yes, but the process depends on the product and version. If the generated log file does not contain clues to help you resolve the problem, please send it to Technical Support.

Recent Versions

This process applies to the below versions (or greater):

CivilStorm V8i SS1 +
PondPack V8i +
SewerCAD V8i SS2+
SewerGEMS V8i SS2+
StormCAD V8i SS2+
WaterCAD V8i SS1+
WaterGEMS V8i SS1

If you have the above versions or greater (including CONNECT Edition 10.XX.XX.XX), a log file will automatically be generated during installation. After installation, it can be found under the root of the Windows temporary folder as a .txt file. For example, StormCAD would be "StormCADSetupLog.txt" or "Bentley StormCAD CONNECT Edition_############.log", depending on the version.

Important note: in most cases you will see two files, one ending in .log and another ending in .msi.log. Bother files can contain useful troubleshooting information, although the .msi.log may need to be compressed in a zip file if you need to send it to someone. See screenshot below.

To find the Windows temp folder, type "%temp%" in the Windows Explorer (File Explorer) address bar (without the quotes), and press enter. The log file will be right in the root folder that first appears, not in a subfolder. You may need to sort the list on modified date so it appears at the top.



Note that the CONNECT Edition and greater will automatically install the CONNECTION Client component, which could also be the cause of a failure during installation. The CONNECTION Client has a separate install log file, which you may also need to look at (or supply to technical support) for troubleshooting. To find this, navigate to the same, Windows temp folder as above, and look for two files beginning with "CONNECTION_CLient_", one with a file extension of .log and the other with a file extension of .zip. There will be a number at the end corresponding to the date. Sort the Temp folder by name and locate these two files, with the most recent date - "20180612..." in the example below means June 12th, 2018.

Other Versions

This process applies to the below versions and earlier (though some very old versions may not work):


For these versions, you must pass an argument ("switch") to the installation executable file in order to generate a log file. Below is the syntax:

Setup_filename.exe /v"/l* "C:\Temp.txt""

This would be done by going to Start > Run, browse to the installation file, then add the above syntax to the end of the path. In the above example, the installation log file will be called Temp.txt and will be located in C:\ .