Status showing as complete before install ends

//Status showing as complete before install ends
Status showing as complete before install ends 2017-12-04T12:17:34+00:00

The Toolkit Forums General Status showing as complete before install ends

  • Author
    Posts
  • Chris
    Participant
    Post count: 3
    #2447 |

    Good afternoon
    I am trying to deploy Visio 365 via the PSAppdeploy toolkit.
    I have one query, the setup.exe I am using has to go to the internet to pull the actual content down.
    As a result Visio shows as complete when infact its spawning the sub processes to download and install the data from Microsoft.
    Can you advise is there a way to make it wait until its completed all processes? or if a file is present or something like that?
    it does work but the user will just tell me its installed when its still finishing up:)

    Thank you!

  • Nick
    Participant
    Post count: 4

    As an example you want to use the -WaitforMSIExec parameter since it is probably calling the MSI from within the EXE.

    Execute-process -Path “$dirFiles\setup.exe” -parameters “/s /f1$dirFiles\setup.iss” -WaitForMsiExec -WindowStyle Hidden -IgnoreExitCodes “3010” -ContinueOnError $true

    • This reply was modified 1 month, 2 weeks ago by  Nick.
    • This reply was modified 1 month, 2 weeks ago by  Nick.
  • Chris
    Participant
    Post count: 3

    Hello
    thanks for your help
    this does work
    however if someone opens word in the meantime it still reports a success which is going to cause confusion as it shows as a success

    Regards

    • This reply was modified 1 month, 2 weeks ago by  Chris. Reason: change of status

You must be logged in to reply to this topic.