This project is read-only.

Show-InstallationWelcome when uninstalling ?

Topics: Archive - Deployment Scripts
Sep 1, 2014 at 5:33 PM
Is there a way to use the function "Show-InstallationWelcome" to show a different message when application is uninstalling ?
Sep 1, 2014 at 5:43 PM
Sorry not at the moment.
Sep 1, 2014 at 7:58 PM
Ok, but how can you tell the user that you are about to uninstall the program ? "no welcome message" and a messagebox ?
Sep 1, 2014 at 8:44 PM
There are a few different ways you can work around it.

You could provide alternative text for the Show-InstallationWelcome message by specifying the relevant variables in the uninstallation phase of the Deploy-Application.ps1 script.


You could also use the extensions to reference an alternative XML file which you could call only -
If ($installPhase -match "Uninstall")

Hope that makes sense.
Sep 1, 2014 at 11:28 PM
Thanx, worked like a charm, used the parameters.

One thing, when I install Acrobat, I still get a window from acrobat installation : (Windows installer : Configuring Acrobat reader, and also process). Is there a way to hide that windows also ?
Sep 2, 2014 at 7:10 PM
Change default MSI parameters in the XML file from QB to QN if that is your preference or else override the default per application using -Parameters "/QN" with Execute-MSI.
Dec 28, 2014 at 12:37 PM

I ran into the same issue.. when uninstalling it show the wrong info.

How did you work around it. Could you post the needed changes.

Did not understand "PowerSheller" input on the solution.