Hi,
Has anyone been able to deploy IE11.msi created with IEAK to users who are admins and also to non admins? I have treied changing the Admin section of the XML to False. But the install still fails.
PsApp deploy launches but a few seconds after the first psappdeploy screen that shows the installation progress the last notification appears saying that the application has installed.
The deployment is set to run as system and allow user interaction.
The bubble then appears by the clock saying it has failed
This is the code that i am using. Have I missed a step?
<code>##*=============================================== ##* VARIABLE DECLARATION ##*=============================================== ## Variables: Application [string]$appVendor = 'Microsoft' [string]$appName = 'Internet Explorer' [string]$appVersion = '11' [string]$appArch = 'x86' [string]$appLang = 'EN' [string]$appRevision = '01' [string]$appScriptVersion = '1.0.0' [string]$appScriptDate = '11/02/2016' [string]$appScriptAuthor = 'Group IT' ##*=============================================== </code>
<code>If ($deploymentType -ine 'Uninstall') { ##*=============================================== ##* PRE-INSTALLATION ##*=============================================== [string]$installPhase = 'Pre-Installation' ## Show Welcome Message, close Internet Explorer if required, allow up to 3 deferrals, verify there is enough disk space to complete the install, and persist the prompt Show-InstallationWelcome -CloseApps 'iexplorer' -BlockExecution -AllowDefer -Deferdays 1 -CheckDiskSpace -PersistPrompt ## Prompt the user to close the following applications if they are running: Show-InstallationWelcome -CloseApps 'iexplore' ## Show Progress Message (with the default message) Show-InstallationProgress -StatusMessage ‘IE11 will now be installed/updated. This may take some time. Please wait…’ ## &lt;Perform Pre-Installation tasks here&gt; ##*=============================================== ##* INSTALLATION ##*=============================================== [string]$installPhase = 'Installation' # Install the base MSI Execute-MSI -Action Install -Path 'IE11-Setup-Full.msi' ## &lt;Perform Installation tasks here&gt; ##*=============================================== ##* POST-INSTALLATION ##*=============================================== [string]$installPhase = 'Post-Installation' ## &lt;Perform Post-Installation tasks here&gt; ## Display a message at the end of the install If (-not $useDefaultMsi) { Show-InstallationPrompt -Message 'Internet Explorer is now installed. Please contact the IT Service Desk if you have any queries' -ButtonRightText 'OK' -Icon Information -NoWait } # Prompt for a restart Show-InstallationRestartPrompt -NoCountdown } ElseIf ($deploymentType -ieq 'Uninstall') { ##*=============================================== ##* PRE-UNINSTALLATION ##*=============================================== [string]$installPhase = 'Pre-Uninstallation' ## Show Welcome Message, close Internet Explorer with a 60 second countdown before automatically closing Show-InstallationWelcome -CloseApps 'iexplore' -BlockExecution -AllowDefer -DeferTimes 2 ## Show Progress Message (with the default message) Show-InstallationProgress ## &lt;Perform Pre-Uninstallation tasks here&gt; ##*=============================================== ##* UNINSTALLATION ##*=============================================== [string]$installPhase = 'Uninstallation' ## Handle Zero-Config MSI Uninstallations If ($useDefaultMsi) { [hashtable]$ExecuteDefaultMSISplat = @{ Action = 'Uninstall'; Path = $defaultMsiFile }; If ($defaultMstFile) { $ExecuteDefaultMSISplat.Add('Transform', $defaultMstFile) } Execute-MSI @ExecuteDefaultMSISplat } # &lt;Perform Uninstallation tasks here&gt; ##*=============================================== ##* POST-UNINSTALLATION ##*=============================================== [string]$installPhase = 'Post-Uninstallation' ## &lt;Perform Post-Uninstallation tasks here&gt; } ##*=============================================== ##* END SCRIPT BODY ##*=============================================== ## Call the Exit-Script function to perform final cleanup operations Exit-Script -ExitCode $mainExitCode } Catch { [int32]$mainExitCode = 60001 [string]$mainErrorMessage = &quot;$(Resolve-Error)&quot; Write-Log -Message $mainErrorMessage -Severity 3 -Source $deployAppScriptFriendlyName Show-DialogBox -Text $mainErrorMessage -Icon 'Stop' Exit-Script -ExitCode $mainExitCode }</code>