Skip to content

Fails if the psd1 contains scriptblocks and the selected version is not the latest one. #22

@JustinGrote

Description

@JustinGrote

$manifestData = Import-PowerShellDataFile -Path $manifestPath -ErrorAction stop

Example: PRTGAPI Already Installed

Try to install PRTGAPI, it reads the existing manifest and fails with a dynamic because there is script logic in the .psd1 file.

Probably should skip and force overwrite if a newer version is found, this has to be handled both in the above code and in the installer code for when it encounters a same-name same-version folder

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions