trying a folder

This commit is contained in:
Roy Ashbrook
2021-11-16 15:18:37 -05:00
parent f1d20ed163
commit 72f44ebcb9

View File

@@ -25,7 +25,7 @@ jobs:
inputs:
key: ace
restoreKeys: ace
path: ace.exe
path: .\ace
cacheHitVar: CACHE_RESTORED
displayName: Cache ACE
@@ -35,12 +35,13 @@ jobs:
- powershell: |
$ProgressPreference = 'SilentlyContinue'
$uri = 'https://download.microsoft.com/download/3/5/C/35C84C36-661A-44E6-9324-8786B8DBE231/accessdatabaseengine_X64.exe'
irm $uri -outfile ace.exe
md .\cache
irm $uri -outfile .\ace\ace.exe
$ProgressPreference = 'Continue'
displayName: 'Download ACE'
condition: ne(variables.CACHE_RESTORED, 'true')
- powershell: Start-Process .\ace.exe -Wait -ArgumentList "/quiet /passive /norestart"
- powershell: Start-Process .\ace\ace.exe -Wait -ArgumentList "/quiet /passive /norestart"
displayName: 'Install ACE'
- powershell: (New-Object system.data.oledb.oledbenumerator).GetElements().SOURCES_NAME