Command
New-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 SetsExamples
EXAMPLE 1
New-ConfigurationProjectInstaller -Id 'Value' -Target 'Value' -InstallerProjectPath 'C:\Path'Parameters
- -Frameworks String[]
- Optional framework filter.
- -FromPublishOutput SwitchParameter
- When set, prepares from the raw publish output instead of an auto-generated portable bundle.
- -Harvest DotNetPublishMsiHarvestMode
- Harvest mode used during MSI prepare.
- Possible values:
Auto - -HarvestDirectoryRefId String
- Optional WiX DirectoryRef identifier for generated harvest output.
- -Id String
- Installer identifier.
- -InstallerProjectPath String
- Path to the installer project file.
- -MsBuildProperty Hashtable
- Optional installer-specific MSBuild properties.
- -Runtimes String[]
- Optional runtime filter.
- -Styles DotNetPublishStyle[]
- Optional style filter.
- Possible values:
Portable,PortableCompat,PortableSize,SelfContained,FrameworkDependent,AotSpeed,AotSize - -Target String
- 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.