Resource Type: dsc_xmsipackage

Defined in:
lib/puppet/type/dsc_xmsipackage.rb
Providers:
powershell

Overview

The DSC xMsiPackage resource type. Automatically generated from ‘xPSDesiredStateConfiguration/DSCResources/MSFT_xMsiPackage/MSFT_xMsiPackage.schema.mof’

To learn more about PowerShell Desired State Configuration, please visit technet.microsoft.com/en-us/library/dn249912.aspx.

For more information about built-in DSC Resources, please visit technet.microsoft.com/en-us/library/dn249921.aspx.

For more information about xDsc Resources, please visit github.com/PowerShell/DscResources.

Properties

  • ensure

    The basic property that the resource should be in.

    Supported values:
    • exists?
    • present
    • absent

Parameters

  • dsc_arguments

    Arguments - The arguments to be passed to the MSI package during installation or uninstallation.

  • dsc_credential

    Credential - The credential of a user account to be used to mount a UNC path if needed.

  • dsc_ensure

    Ensure - Specifies whether or not the MSI file should be installed or uninstalled. Valid values are Present, Absent.

  • dsc_filehash

    FileHash - The expected hash value of the MSI file at the given path.

  • dsc_hashalgorithm

    HashAlgorithm - The algorithm used to generate the given hash value. Valid values are SHA1, SHA256, SHA384, SHA512, MD5, RIPEMD160.

  • dsc_installedon

    InstalledOn - The date that the MSI package was installed on or serviced on, whichever is later.

  • dsc_installsource

    InstallSource - The path to the MSI package.

  • dsc_logpath

    LogPath - The path to the log file to log the output from the MSI execution.

  • dsc_name

    Name - The display name of the MSI package.

  • dsc_packagedescription

    PackageDescription - The description of the MSI package.

  • dsc_path

    Path - The path to the MSI file that should be installed or uninstalled.

  • dsc_productid

    ProductId - The identifying number used to find the package, usually a GUID.

  • dsc_psdscrunascredential

    PsDscRunAsCredential

  • dsc_publisher

    Publisher - The publisher of the MSI package.

  • dsc_runascredential

    RunAsCredential - The credential of a user account under which to run the installation or uninstallation of the MSI package.

  • dsc_servercertificatevalidationcallback

    ServerCertificateValidationCallback - PowerShell code that should be used to validate SSL certificates for paths using HTTPS.

  • dsc_signersubject

    SignerSubject - The subject that should match the signer certificate of the digital signature of the MSI file.

  • dsc_signerthumbprint

    SignerThumbprint - The certificate thumbprint that should match the signer certificate of the digital signature of the MSI file.

  • dsc_size

    Size - The size of the MSI package in MB.

  • dsc_version

    Version - The version number of the MSI package.

  • name (namevar)
  • provider

    The specific backend to use for this ‘dsc_xmsipackage` resource. You will seldom need to specify this — Puppet will usually discover the appropriate provider for your platform.