Unattended JIWA install  Topic is solved

Discussions relating to plugin development, and the Jiwa API.

Unattended JIWA install  Topic is solved

Postby Joe.Thorpe » Fri Jul 05, 2024 6:25 pm

Hopefully this saves someone some time figuring out how to do an unattended install.

change /qb to /qn if you want a completely silent install.

Code: Select all
$SetupExePath = 'JiwaSetup.exe'
$SetupMsiPath = 'Setup.msi'
$PatchPath = 'JiwaPatch.msp'
$CrystalReportsMsiPath = 'CRRuntime_32bit_13_0_22.msi' # Obtain online or from JIWA support

if (-not (Test-Path $CrystalReportsMsiPath)) {
    Write-Host "$CrystalReportsMsiPath Not found" -ForegroundColor Red
}

if (-not (Test-Path $SetupExePath)) {
    Write-Host "$SetupExePath Not found" -ForegroundColor Red
}

if (-not (Test-Path $PatchPath)) {
    Write-Host "$PatchPath Not found" -ForegroundColor Red
}

Start-Process -filepath 'msiexec' -Wait -PassThru -ArgumentList "/install $CrystalReportsMsiPath", "/qb!", "/l*v cr_install.log"
Start-Process -filepath "./$SetupExePath" -Wait -PassThru -ArgumentList "/extract"

if (-not (Test-Path $SetupMsiPath)) {
    Write-Host "Failed to extract $SetupExePath. $SetupMsiPath Not found" -ForegroundColor Red
}
Start-Process -filepath 'msiexec' -Wait -PassThru -ArgumentList "/package $SetupMsiPath", "/update `"$((Resolve-Path $PatchPath).Path)`"", "/qb", "/l*vx install.log", "/norestart"



Batch version

Code: Select all
msiexec /i CRRuntime_32bit_13_0_22.msi /qb! /l*v install.log
JiwaSetup.exe /extract
msiexec /package Setup.msi /update <Absolute Path to Patch>\JiwaPatch.msp /qb /l*vx install.log /norestart
Joe.Thorpe
Occasional Contributor
Occasional Contributor
 
Posts: 23
Joined: Fri Jun 11, 2021 1:57 pm
Topics Solved: 1

Return to Technical and or Programming

Who is online

Users browsing this forum: No registered users and 2 guests

cron