Skip to content

Install MSI Wildcard path #12

@agentq15

Description

@agentq15

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")

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions