invoke a reboot after installation

Topics: Archive - Deployment Scripts
Jan 25, 2015 at 6:22 PM

I'm installing 3 MSI each after one.
Execute-MSI -Action Patch -Path "eDocs DM 5.3.1 Extensions (x64) Patch 5.msp" -Paramters "Reboot=ReallySuppress /QN"
    Execute-MSI -Action Install -Path "Open Text Hotfix.msi" -Parameters "Reboot=ReallySuppress /QN"   
    Execute-MSI -Action Install -Path "Open Text settings.msi" -Parameters "Reboot=ReallySuppress /QN"
After all 3 MSI are processed I would like to invoke a reboot. Can I do that with the script?

This application will be installed only when no user is logged in, after the Installation the System should reboot. I hope there is a reboot command to add in the script instead of using TS.

Feb 23, 2015 at 7:43 PM
Edited Feb 23, 2015 at 7:43 PM
I am also attempting to do this... I have added this to my Deploy-Application.ps1
    [string]$installPhase = 'Post-Installation'

    ## <Perform Post-Installation tasks here>
    __Show-InstallationRestartPrompt -NoCountdown

This seems to have no effect I know that this wants to reboot ?
Feb 24, 2015 at 1:09 PM
It is a small bug in the code... After reviewing the new code (beta) I noticed 1 change and it resolved the issue.