-
Notifications
You must be signed in to change notification settings - Fork 459
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Backport Access runtime setup changes on CI (#4470)
* thanks, micro$oft (not really) (cherry picked from commit 08a76f6) # Conflicts: # Build/Azure/pipelines/templates/test-matrix.yml * disable failing queries
- Loading branch information
Showing
8 changed files
with
41 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
#choco install msaccess2010-redist-x86 | ||
Invoke-WebRequest -Uri https://raw.githubusercontent.com/linq2db/linq2db.ci/access/providers/access/AccessDatabaseEngine.exe -OutFile AccessDatabaseEngine.exe | ||
$process = Start-Process -FilePath AccessDatabaseEngine.exe -ArgumentList ('/Passive', '/Quiet', '/NoRestart', '/Log:$($env:temp)\MSAccess210-redist.log') -Wait -PassThru | ||
$exitCode = $process.ExitCode | ||
if ($exitCode -eq 0) | ||
{ | ||
Write-Host -Object 'Installation successful' | ||
return $exitCode | ||
} | ||
else | ||
{ | ||
Write-Host -Object "Non zero exit code returned by the installation process : $exitCode." | ||
Get-Content '$($env:temp)\MSAccess210-redist.log' | ||
exit $exitCode | ||
} | ||
|
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
#choco install msaccess2010-redist-x64 --allow-empty-checksums | ||
Invoke-WebRequest -Uri https://raw.githubusercontent.com/linq2db/linq2db.ci/access/providers/access/AccessDatabaseEngine_X64.exe -OutFile AccessDatabaseEngine_X64.exe | ||
$process = Start-Process -FilePath AccessDatabaseEngine_X64.exe -ArgumentList ('/Passive', '/Quiet', '/NoRestart', '/Log:$($env:temp)\MSAccess210-redist.log') -Wait -PassThru | ||
$exitCode = $process.ExitCode | ||
if ($exitCode -eq 0) | ||
{ | ||
Write-Host -Object 'Installation successful' | ||
return $exitCode | ||
} | ||
else | ||
{ | ||
Write-Host -Object "Non zero exit code returned by the installation process : $exitCode." | ||
Get-Content '$($env:temp)\MSAccess210-redist.log' | ||
exit $exitCode | ||
} | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters