first of all, thank you for this great tool, it saved me a huge amount of time for past half year
My question is , i have software which has 2 parts ( second part is optional ) , i want create install script with Show-InstallationPrompt at the beggining just after installwelcomeprompt, with 2 buttons with options “Install All” and “Install only part 1”
Can you please help me , or push me?
How can i define what will happen when user clicks on button 1 or button 2 ? Cannot find it anywhere, or im searching it badly
$a=(Show-InstallationPrompt -Message “Restart will be required after the installation, do you want to continue?”-ButtonRightText “No” -ButtonLeftText “Yes”)
if ($a -eq “No”) {Exit-Script -ExitCode 1603}