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

Command

New-ConfigurationProjectInstaller

Namespace PSPublishModule
Inputs
None
Outputs
PowerForge.ConfigurationProjectInstaller

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

Remarks

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

Examples

Authored help example

EXAMPLE 1


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

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-ConfigurationProjectInstaller [-Frameworks <String[]>] [-FromPublishOutput] [-Harvest <Auto>] [-HarvestDirectoryRefId <String>] -Id <String> -InstallerProjectPath <String> [-MsBuildProperty <Hashtable>] [-Runtimes <String[]>] [-Styles <Portable>] -Target <String> [<CommonParameters>]
#
Parameter set: All Parameter Sets

Parameters

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

Outputs

PowerForge.ConfigurationProjectInstaller