This project is read-only.

Change DeployMode during the pre-installation?

Topics: Archive - Deployment Scripts
Sep 12, 2014 at 8:39 PM
Edited Sep 12, 2014 at 8:40 PM
Is there a way to change the deploy mode from Interactive to Silent during the pre-installation?
I can get it to not show-installationprogress but it still shows the balloon popup at the end saying installation is complete. How can I get rid of the balloon prompt? My attempted script below still shows the balloon....

added variable for show-installationprogress. looks for the fadesktop process.

$processActive = Get-Process FADesktop -ErrorAction SilentlyContinue

if/else looks for the active process. if not running it installs silently. if running it prompts to close and shows installation progress window.

If($processActive -eq $null) { [string] $DeployMode = "Silent" }

Else {
Show-InstallationWelcome -CloseApps "FADesktop"
Show-InstallationProgress "Installing UpdatennPlease wait...nnInstallation will take 1-2 minutes"
}
Sep 15, 2014 at 1:29 PM
Set deployment mode to silent in the Deploy-Application.ps1 script using variable or Params. Other option is doable balloon notifications in XML configuration.
Marked as answer by foldzan1 on 9/17/2014 at 7:09 AM