PSMSI
Features
Quick Example
$OutputDirectory = Join-Path $PSScriptRoot "output"
$ConfigPath = Join-Path $PSScriptRoot "appsettings.json"
New-Installer -ProductName "My First Product" `
-Manufacturer "Example Company" `
-UpgradeCode "1a73a1be-50e6-4e92-af03-586f4a9d9e82" `
-Version "1.0.0" `
-OutputDirectory $OutputDirectory `
-Content {
New-InstallerDirectory -PredefinedDirectoryName "LocalAppDataFolder" -Content {
New-InstallerDirectory -DirectoryName "My First Product" -Content {
New-InstallerFile -Source $ConfigPath
}
}
}Feature Guides
More Information
Last updated