Bentley Systems, Inc. ProjectWise Explorer Select Series 3

Version: 0
Views: 1.4k  |  Created: 02/10/2012

Average Rating: 0
ProjectWise Explorer Select Series 3 has 1 inventory records, 0 Questions, 0 Blogs and 0 links. Please help add to this by sharing more!

Deployment Tips (2)

Most Common Setup Type
Not Determined
Average Package Difficulty Rating
Rated 0 / 5 (Not Rated) based on 0 ratings
Most Commonly Reported Deployment Method
Not Determined
or cancel
1
Note
Since Bentley decided to use the hta AGAIN, I have created the following script to install the application and it's components in SMS/SCCM.

'*******************************************************************************
' Program: Install.vbs
' Author: Mick Pletcher
' Date:
' Modified:
'
' Program:
' Version:
' Description: This will install
' 1) Define the relative installation path
' 2) Create the Log Folder
' *) Install
' *) Cleanup Global Variables
'*******************************************************************************
Option Explicit

REM Define Constants
CONST TempFolder = "c:\temp\"
CONST LogFolderName = "Projectwise"

REM Define Global Variables
DIM ISx86 : ISx86 = False
DIM ISx64 : ISx64 = False
DIM LogFolder : LogFolder = TempFolder & LogFolderName & "\"
DIM RelativePath : Set RelativePath = Nothing

REM Define the relative installation path
DefineRelativePath()
REM Determine Architecture
DetermineArchitecture()
REM Create the Log Folder
CreateLogFolder()
REM Install dotnetfx
Installdotnetfx()
REM Install msxml
Installmsxml()
REM Install directx
Installdirectx()
REM Install prereqs
Installprereqs()
REM Install explorer
InstallExplorer()
REM Install depsvc
Installdepsvc()
REM Cleanup Global Variables
GlobalVariableCleanup()

'*******************************************************************************
'*******************************************************************************

Sub DefineRelativePath()

REM Get File Name with full relative path
RelativePath = WScript.ScriptFullName
REM Remove file name, leaving relative path only
RelativePath = Left(RelativePath, InStrRev(RelativePath, "\"))

End Sub

'*******************************************************************************

Sub CreateLogFolder()

REM Define Local Objects
DIM FSO : Set FSO = CreateObject("Scripting.FileSystemObject")

If NOT FSO.FolderExists(TempFolder) then
FSO.CreateFolder(TempFolder)
End If
If NOT FSO.FolderExists(LogFolder) then
FSO.CreateFolder(LogFolder)
End If

REM Cleanup Local Variables
Set FSO = Nothing

End Sub

'*******************************************************************************

Sub DetermineArchitecture()

REM Define Local Objects
DIM FSO : Set FSO = CreateObject("Scripting.FileSystemObject")

If FSO.FolderExists("C:\Program Files (x86)") then
ISx64 = True
Else
ISx86 = True
End If

REM Cleanup Local Variables
Set FSO = Nothing

End Sub

'*******************************************************************************

Sub Installdotnetfx()

REM Define Local Objects
DIM oShell : SET oShell = CreateObject("Wscript.Shell")

REM Define Local Variables
DIM Parameters : Parameters = Chr(32) & "/PASSIVE /NORESTART"
DIM Install : Install = RelativePath & "1-dotnetfx\dotnetfx35.exe" & Parameters

oShell.Run Install, 1, True

REM Cleanup Local Variables
Set Install = Nothing
Set oShell = Nothing
Set Parameters = Nothing

End Sub

'*******************************************************************************

Sub Installmsxml()

REM Define Local Objects
DIM oShell : SET oShell = CreateObject("Wscript.Shell")

REM Define Local Variables
DIM MSIx86 : MSIx86 = Chr(32) & RelativePath & "2-msxml\msxml6.msi"
DIM MSIx64 : MSIx64 = Chr(32) & RelativePath & "2-msxml\msxml6_x64.msi"
DIM Parameters : Parameters = Chr(32) & "/qb- /norestart"
DIM Installx86 : Installx86 = "msiexec.exe /i" & MSIx86 & Parameters
DIM Installx64 : Installx64 = "msiexec.exe /i" & MSIx64 & Parameters

If ISx86 then
oShell.Run Installx86, 1, True
End If
If ISx64 then
oShell.Run Installx64, 1, True
End If

REM Cleanup Local Variables
Set Installx86 = Nothing
Set Installx64 = Nothing
Set MSIx86 = Nothing
Set MSIx64 = Nothing
Set oShell = Nothing
Set Parameters = Nothing

End Sub

'*******************************************************************************

Sub Installdirectx()

REM Define Local Objects
DIM oShell : SET oShell = CreateObject("Wscript.Shell")

REM Define Local Variables
DIM Parameters : Parameters = Chr(32) & "/silent"
DIM Install : Install = RelativePath & "4-directx\dxsetup.exe" & Parameters

oShell.Run Install, 1, True

REM Cleanup Local Variables
Set Install = Nothing
Set oShell = Nothing
Set Parameters = Nothing

End Sub

'*******************************************************************************

Sub Installprereqs()

REM Define Local Objects
DIM oShell : SET oShell = CreateObject("Wscript.Shell")

REM Define Local Variables
DIM MSI : MSI = Chr(32) & Chr(34) & RelativePath & "5-prereqs\ProjectWise Prerequisite Runtimes V8i (SELECTseries 3).msi" & Chr(34)
DIM Parameters : Parameters = Chr(32) & "/qb- /norestart"
DIM Install : Install = "msiexec.exe /i" & MSI & Parameters

oShell.Run Install, 1, True

REM Cleanup Local Variables
Set Install = Nothing
Set MSI = Nothing
Set oShell = Nothing
Set Parameters = Nothing

End Sub

'*******************************************************************************

Sub InstallExplorer()

REM Define Local Objects
DIM oShell : SET oShell = CreateObject("Wscript.Shell")

REM Define Local Variables
DIM MSIx86 : MSIx86 = Chr(32) & Chr(34) & RelativePath & "6-explorer\ProjectWise Explorer V8i (SELECTseries 3) (x86).msi" & Chr(34)
DIM MSIx64 : MSIx64 = Chr(32) & Chr(34) & RelativePath & "6-explorer\ProjectWise Explorer V8i (SELECTseries 3) (x64).msi" & Chr(34)
DIM Parameters : Parameters = Chr(32) & "/qb- /norestart ADDLOCAL=ALL REMOVE=MSOFFICE"
DIM Installx86 : Installx86 = "msiexec.exe /i" & MSIx86 & Parameters
DIM Installx64 : Installx64 = "msiexec.exe /i" & MSIx64 & Parameters

If ISx86 then
oShell.Run Installx86, 1, True
End If
If ISx64 then
oShell.Run Installx64, 1, True
End If

REM Cleanup Local Variables
Set Installx86 = Nothing
Set Installx64 = Nothing
Set MSIx86 = Nothing
Set MSIx64 = Nothing
Set oShell = Nothing
Set Parameters = Nothing

End Sub

'*******************************************************************************

Sub Installdepsvc()

REM Define Local Objects
DIM oShell : SET oShell = CreateObject("Wscript.Shell")

REM Define Local Variables
DIM MSI : MSI = Chr(32) & Chr(34) & RelativePath & "7-depsvc\ProjectWise Dependency Service V8i (SELECTseries 3).msi" & Chr(34)
DIM Parameters : Parameters = Chr(32) & "/qb- /norestart"
DIM Install : Install = "msiexec.exe /i" & MSI & Parameters

oShell.Run Install, 1, True

REM Cleanup Local Variables
Set Install = Nothing
Set MSI = Nothing
Set oShell = Nothing
Set Parameters = Nothing

End Sub

'*******************************************************************************

Sub GlobalVariableCleanup()

Set ISx86 = Nothing
Set ISx64 = Nothing
Set LogFolder = Nothing
Set RelativePath = Nothing

End Sub
Setup Information:
Setup Type: unspecified
Deployment Method Used: unspecified
Deployment Difficulty: unspecified
Platform(s): Windows
Please log in to comment
1
Command Line

Include ADDLOCAL=ALL REMOVE=MSOFFICE as parameters to the msiexec command line to disable iDesktop integration.

Setup Information:
Setup Type: unspecified
Deployment Method Used: unspecified
Deployment Difficulty: unspecified
Platform(s): Windows
Please log in to comment

Inventory Records (1)

View inventory records anonymously contributed by opt-in users of the K1000 Systems Management Appliance.

Versions

ProjectWise Explorer Select Series 3

Version

0

Questions & Answers (0)

Questions & Answers related to Bentley Systems, Inc. ProjectWise Explorer Select Series 3

Blogs (0)

Blog posts related to Bentley Systems, Inc. ProjectWise Explorer Select Series 3

Reviews (0)

Reviews related to Bentley Systems, Inc. ProjectWise Explorer Select Series 3