Installer UI
$UserInterface = New-InstallerUserInterface `
-Eula ".\eula.rtf" `
-TopBanner ".\banner.png" `
-WelcomeAndCompletionBackground ".\welcome.png" `
-ExitDialogText "My App has been installed."
New-Installer -ProductName "My App" `
-UpgradeCode "66ad7f2c-e176-4a91-b73b-5dced490ec67" `
-OutputDirectory ".\output" `
-UserInterface $UserInterface `
-Content {
New-InstallerDirectory -PredefinedDirectoryName "LocalAppDataFolder" -Content {
New-InstallerDirectory -DirectoryName "My App" -Content {
New-InstallerFile -Source ".\MyApp.exe"
}
}
}Last updated