Hi there,
I have a problem with silent installation of this exe file - I cannot get any arguments to argument list from this exe file. How can I get some arguments from this file (NintexWorkflow2013int.exe)? I have tried Process Explorer but without any optimal result.
Any advice?
Below is my code sequence:
$UrlList = @{
"NintexWorkflow2013.exe" = "http://nintexdownload.com/sl/supportfiles/NintexWorkflow2013int.exe";
}
foreach ($filename in $UrlList.Keys) {
$url = $UrlList.Get_Item($filename)
try {
## Check if destination file already exists
if (!(Test-Path "$WebPIfolder\$filename")) {
## Begin download
Start-BitsTransfer -Source $url -Destination
$WebPIfolder\$filename -DisplayName "Downloading `'$filename`' to
$WebPIfolder" -Priority High -Description "From $url..." -ErrorVariable
err
If ($err) {Throw ""}
Start-Process '$($WebPIfolder)\$($filename)' -ArgumentList "$arguments" -Wait
} else {
Write-Host " - File $fileName exists, skipping..."
}
} catch {
Write-Warning " - Failed to install `'$fileName`'"
break
}
}