Evotec

Project

PSPublishModule

PSPublishModule is an open-source PowerShell and .NET project with packages, release history, and technical documentation.

Stars 43
Forks 13
Open issues 1
PowerShell Gallery downloads 13,876
Release v3.0.3
Language: C# Updated: 2026-04-14

API Reference

Cmdlet

New-ConfigurationDotNetInstaller

Namespace PSPublishModule
Inputs
None
Outputs
PowerForge.DotNetPublishInstaller

Creates installer configuration (MSI prepare/build) for DotNet publish DSL.

Remarks

Creates installer configuration (MSI prepare/build) for 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 [-ClientLicense <DotNetPublishMsiClientLicenseOptions>] [-Harvest <Auto>] [-HarvestComponentGroupId <String>] [-HarvestDirectoryRefId <String>] [-HarvestPath <String>] -Id <String> [-InstallerProjectId <String>] [-InstallerProjectPath <String>] [-ManifestPath <String>] [-MsBuildProperties <Hashtable>] -PrepareFromTarget <String> [-Sign <DotNetPublishSignOptions>] [-StagingPath <String>] [-Versioning <DotNetPublishMsiVersionOptions>] [<CommonParameters>]
#
Parameter set: All Parameter Sets

Parameters

ClientLicense DotNetPublishMsiClientLicenseOptions optionalposition: namedpipeline: False
Optional client-license injection policy.
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.
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).
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.
PrepareFromTarget String requiredposition: namedpipeline: False
Source publish target name used for prepare/build.
Sign DotNetPublishSignOptions optionalposition: namedpipeline: False
Optional MSI signing policy.
StagingPath String optionalposition: namedpipeline: False
Optional staging path template for MSI payload.
Versioning DotNetPublishMsiVersionOptions optionalposition: namedpipeline: False
Optional MSI version policy.

Outputs

PowerForge.DotNetPublishInstaller