Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Install MSI Wildcard path #12

Open
agentq15 opened this issue Feb 14, 2020 · 0 comments
Open

Install MSI Wildcard path #12

agentq15 opened this issue Feb 14, 2020 · 0 comments

Comments

@agentq15
Copy link

We have one artifact with a lot of applications with different names and folders.

We would like to use $(System.ArtifactsDirectory)*\Package name.msi. as the path.
Right now I have solved it by doing a powershell script before and saving it to a variable.

$path = Get-ChildItem -Path "E:\Agent\_work\r3\a\**" -Filter "Package Name*.msi" -Recurse -ErrorAction SilentlyContinue -Force

Write-Output ("##vso[task.setvariable variable=MSIPath;]$path")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants