Extracting Setup contents and prerequisites

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

Problem

In some cases, you may need to extract individual prerequisite files from an OpenFlows product installation file. For example if you have an installation script for deploying the products.

Solution

Option 1 - extract from the temp folder during installation

When you first run the installation file, the contents (including the prerequisites) are extracted to the Windows temporary folder, from which they can be retrieved:

1) Open a Windows Explorer window and in the top type in "%Temp%" without the quotation marks. This should bring you to your Windows temporary folder (typically "C:\Users\{user name}\AppData\Local\Temp" )

2) From a separate window launch your OpenFlows product installation file by double clicking on it. Let it proceed to the point where the progress bar is up and moving. At that point look in the other windows explorer window you have open from step 1 and locate the folder that should have juts appeared (press F5 to refresh if not). The folder should appear on top of the list and will typically have random series of letters and numbers (a GUID) as the name. The .MSI and any other prerequisites can be copied from that location.

3) Copy the files and then abort or cancel the setup process

Option 2 - extract from the installation file

The contents of the installation file can also be extracted directly.

For more recent releases, you could use the WiX SDK tool called dark.exe to extract the msi. WiX SDK is free: http://wixtoolset.org/releases/ 

For earlier releases, you can use a program such as 7-Zip or WinRAR to open the installation file and extract the .msi file, C++ Redistributables, and the prerequisites.  Right click on the installation file and choose to open Archive. Or, open WinRAR or 7Zip first and select the installation file from the file open dialog. If unsure of which components you need, there is typically a .INI file that will show the order of installation of the prerequisites.

Anonymous
Recommended
Related