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-17
Command

New-ConfigurationProjectInstaller

Module PSPublishModule
Inputs
None
Outputs
PowerForge.ConfigurationProjectInstaller

Creates an installer entry for a PowerShell-authored project build.

Syntax

New-ConfigurationProjectInstaller [-Frameworks <String[]>] [-FromPublishOutput] [-Harvest <Auto>] [-HarvestDirectoryRefId <String>] -Id <String> -InstallerProjectPath <String> [-MsBuildProperty <Hashtable>] [-Runtimes <String[]>] [-Styles <DotNetPublishStyle[]>] -Target <String> [<CommonParameters>]
#
Parameter set: All Parameter Sets

Examples

Authored help example

EXAMPLE 1

New-ConfigurationProjectInstaller -Id 'Value' -Target 'Value' -InstallerProjectPath 'C:\Path'

Parameters

-Frameworks String[] optionalaliases: Framework
Optional framework filter.
-FromPublishOutput SwitchParameter optional
When set, prepares from the raw publish output instead of an auto-generated portable bundle.
-Harvest DotNetPublishMsiHarvestMode optional
Harvest mode used during MSI prepare.
Possible values: Auto
-HarvestDirectoryRefId String optional
Optional WiX DirectoryRef identifier for generated harvest output.
-Id String required
Installer identifier.
-InstallerProjectPath String required
Path to the installer project file.
-MsBuildProperty Hashtable optional
Optional installer-specific MSBuild properties.
-Runtimes String[] optionalaliases: Runtime
Optional runtime filter.
-Styles DotNetPublishStyle[] optional
Optional style filter.
Possible values: Portable, PortableCompat, PortableSize, SelfContained, FrameworkDependent, AotSpeed, AotSize
-Target String required
Name of the source target.

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.