Skip to content

Commit

Permalink
disable debuging of the install
Browse files Browse the repository at this point in the history
  • Loading branch information
njnes committed Oct 2, 2024
1 parent 8aed9ad commit 742ad82
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions .github/workflows/windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,13 +31,14 @@ jobs:
shell: pwsh
run: |
$msifile="c:\${{ env.MSI }}"
New-Item -Path 'C:\test.log' -ItemType File
(New-Object System.Net.WebClient).DownloadFile("http://monetdb.org/testweb/web/${{ env.MSI }}","$msifile");
#$procMain = Start-Process "$msifile" -ArgumentList '/quiet /passive /qn /norestart INSTALLLEVEL=1000 MSIRMSHUTDOWN=2' -Wait
$procMain = Start-Process "$msifile" -ArgumentList '/quiet /passive /qn /norestart INSTALLLEVEL=1000 MSIRMSHUTDOWN=2 /L*xv c:\test.log'
$procLog = Start-Process powershell 'Get-Content -Path c:\test.log -Wait' -NoNewWindow -PassThru
$procMain.WaitForExit()
$procLog.Kill()
# for debug comment previous line and use the commented out lines (except the Install-Binary one)
#New-Item -Path 'C:\test.log' -ItemType File
$procMain = Start-Process "$msifile" -ArgumentList '/quiet /passive /qn /norestart INSTALLLEVEL=1000 MSIRMSHUTDOWN=2' -Wait
#$procMain = Start-Process "$msifile" -ArgumentList '/quiet /passive /qn /norestart INSTALLLEVEL=1000 MSIRMSHUTDOWN=2 /L*xv c:\test.log'
#$procLog = Start-Process powershell 'Get-Content -Path c:\test.log -Wait' -NoNewWindow -PassThru
#$procMain.WaitForExit()
#$procLog.Kill()
# Install-Binary -Url "http://monetdb.org/testweb/web/${{ env.MSI }}" -Name "${{ env.MSI }}" -ArgumentList "/norestart /quiet /passive /qn INSTALLLEVEL=1000"
-
name: check monetdb
Expand Down

0 comments on commit 742ad82

Please sign in to comment.