# New-ConfigurationProjectInstaller

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

Project

PSPublishModule

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

[View on GitHub](https://github.com/EvotecIT/PSPublishModule) [Visit Website](#) [Releases](https://github.com/EvotecIT/PSPublishModule/releases/tag/v3.0.124) [Changelog](#) [Get package](https://www.powershellgallery.com/packages/PSPublishModule/2.0.27)

Stars **48**

Forks **15**

Open issues **1**

PowerShell Gallery downloads **17,213**

Release **v3.0.195**

Language: C# Updated: 2026-11-25

Command 

**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>]
```

[#](#method-new-configurationprojectinstaller-string-switchparameter-dotnetpublishmsiharvestmode-string-string-string-hashtable-string-dotnetpublishstyle-string)

Parameter set: `All Parameter Sets`

## Examples

### Example 1

```powershell
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](https://learn.microsoft.com/powershell/module/microsoft.powershell.core/about/about_commonparameters).

Evotec API Reference Copyright 2026 Evotec Services

<!-- PowerForge markdown artifact sha256:BAAA93830C6B4DCA13C5EE252482BC6F74A4BE62A293A61864BB5B85CB1CE9F8 -->
