Project

PSPublishModule

Build, test, version, sign, and publish PowerShell modules with reusable PowerForge pipelines.

Stars 48
Forks 16
PowerShell Gallery downloads 17,213
Release v3.0.169
Language: C# Updated: 2026-10-13

API Reference

Command

New-ConfigurationDotNetInstaller

Namespace PSPublishModule
Inputs
None
Outputs
PowerForge.DotNetPublishInstaller

Creates MSI, Debian, or macOS app-bundle installer configuration for the DotNet publish DSL.

Remarks

Creates MSI, Debian, or macOS app-bundle installer configuration for the DotNet publish DSL.

Examples

Authored help example

Create MSI installer mapping


New-ConfigurationDotNetInstaller -Id 'service.msi' -PrepareFromTarget 'My.Service' -InstallerProjectPath 'Installer/My.Service.wixproj' -Harvest Auto
        

Common Parameters

This command supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable.

For more information, see about_CommonParameters.

Syntax

New-ConfigurationDotNetInstaller [-Authoring <PowerForgeInstallerDefinition>] [-ClientLicense <DotNetPublishMsiClientLicenseOptions>] [-Debian <DotNetPublishDebianOptions>] [-Frameworks <String[]>] [-Harvest <Auto>] [-HarvestComponentGroupId <String>] [-HarvestDirectoryRefId <String>] [-HarvestExcludePatterns <String[]>] [-HarvestPath <String>] -Id <String> [-InstallerProjectId <String>] [-InstallerProjectPath <String>] [-Kind <Msi|Debian|MacApp>] [-MacApp <DotNetPublishMacAppOptions>] [-ManifestPath <String>] [-MsBuildProperties <Hashtable>] [-OutputName <String>] [-OutputPath <String>] [-PrepareFromBundleId <String>] -PrepareFromTarget <String> [-Runtimes <String[]>] [-Sign <DotNetPublishSignOptions>] [-SignOverrides <DotNetPublishSignPatch>] [-SignProfile <String>] [-StagingPath <String>] [-Styles <Portable>] [-Versioning <DotNetPublishMsiVersionOptions>] [<CommonParameters>]
#
Parameter set: All Parameter Sets

Parameters

Authoring PowerForgeInstallerDefinition optionalposition: namedpipeline: False
Optional PowerForge-owned installer authoring model used to generate a WiX SDK project.
ClientLicense DotNetPublishMsiClientLicenseOptions optionalposition: namedpipeline: False
Optional client-license injection policy.
Debian DotNetPublishDebianOptions optionalposition: namedpipeline: False
Debian package metadata used when Kind is Debian.
Frameworks String[] optionalposition: namedpipeline: False
Optional target-framework filter for installer generation.
Harvest DotNetPublishMsiHarvestMode optionalposition: namedpipeline: Falsevalues: 1
Harvest behavior for payload tree.
Possible values: Auto
HarvestComponentGroupId String optionalposition: namedpipeline: False
Optional WiX component group id template for generated harvest fragment.
HarvestDirectoryRefId String optionalposition: namedpipeline: False
Optional WiX directory reference id for generated harvest fragment.
HarvestExcludePatterns String[] optionalposition: namedpipeline: False
Optional wildcard patterns excluded from MSI harvesting.
HarvestPath String optionalposition: namedpipeline: False
Optional harvest output path template.
Id String requiredposition: namedpipeline: False
Installer identifier.
InstallerProjectId String optionalposition: namedpipeline: False
Optional installer project catalog identifier.
InstallerProjectPath String optionalposition: namedpipeline: False
Optional path to installer project file (*.wixproj).
Kind DotNetPublishInstallerKind optionalposition: namedpipeline: Falsevalues: 3
Installer format. Defaults to MSI.
Possible values: Msi, Debian, MacApp
MacApp DotNetPublishMacAppOptions optionalposition: namedpipeline: False
macOS app-bundle metadata used when Kind is MacApp.
ManifestPath String optionalposition: namedpipeline: False
Optional manifest path template for MSI prepare output.
MsBuildProperties Hashtable optionalposition: namedpipeline: False
Optional installer-specific MSBuild properties passed to msi.build.
OutputName String optionalposition: namedpipeline: False
Optional installer output file-name template.
OutputPath String optionalposition: namedpipeline: False
Optional installer output directory template.
PrepareFromBundleId String optionalposition: namedpipeline: False
Optional bundle identifier used as the installer payload source.
PrepareFromTarget String requiredposition: namedpipeline: False
Source publish target name used for prepare/build.
Runtimes String[] optionalposition: namedpipeline: False
Optional runtime filter for installer generation.
Sign DotNetPublishSignOptions optionalposition: namedpipeline: False
Optional MSI signing policy.
SignOverrides DotNetPublishSignPatch optionalposition: namedpipeline: False
Optional signing-profile overrides.
SignProfile String optionalposition: namedpipeline: False
Optional named signing profile.
StagingPath String optionalposition: namedpipeline: False
Optional staging path template for MSI payload.
Styles DotNetPublishStyle[] optionalposition: namedpipeline: Falsevalues: 7
Optional publish-style filter for installer generation.
Possible values: Portable, PortableCompat, PortableSize, SelfContained, FrameworkDependent, AotSpeed, AotSize
Versioning DotNetPublishMsiVersionOptions optionalposition: namedpipeline: False
Optional MSI version policy.

Outputs

PowerForge.DotNetPublishInstaller