API Reference
Cmdlet
New-ConfigurationDotNetInstaller
Creates installer configuration (MSI prepare/build) for DotNet publish DSL.
Remarks
Creates installer configuration (MSI prepare/build) for DotNet publish DSL.
Examples
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 SetsParameters
- ClientLicense DotNetPublishMsiClientLicenseOptions
- Optional client-license injection policy.
- Harvest DotNetPublishMsiHarvestMode
- Harvest behavior for payload tree.
- Possible values:
Auto - HarvestComponentGroupId String
- Optional WiX component group id template for generated harvest fragment.
- HarvestDirectoryRefId String
- Optional WiX directory reference id for generated harvest fragment.
- HarvestPath String
- Optional harvest output path template.
- Id String
- Installer identifier.
- InstallerProjectId String
- Optional installer project catalog identifier.
- InstallerProjectPath String
- Optional path to installer project file (*.wixproj).
- ManifestPath String
- Optional manifest path template for MSI prepare output.
- MsBuildProperties Hashtable
- Optional installer-specific MSBuild properties passed to msi.build.
- PrepareFromTarget String
- Source publish target name used for prepare/build.
- Sign DotNetPublishSignOptions
- Optional MSI signing policy.
- StagingPath String
- Optional staging path template for MSI payload.
- Versioning DotNetPublishMsiVersionOptions
- Optional MSI version policy.
Outputs
PowerForge.DotNetPublishInstaller