Installing Multiple Applications

Topics: Archive - General
May 8, 2014 at 7:08 PM
I am a powershell newby and wondering the correct syntax if I want to install more than one msi in the template provided. For example the below example seems to stop and fails after installing the first msi:

*===============================================

* INSTALLATION

$installPhase = "Installation"

*===============================================

# Install Avaya CMSSupervisor 15

  Execute-MSI -Action Install -Path "Avaya_CMSSupervisor_15.0_R1.msi" 



# Install Microsoft Remote Desktop GenesysCCPulse 7.5

Execute-MSI -Action Patch -Path "Microsoft_RemoteDesktopGenesysCCPulse_7.5_R1.msi" 
May 8, 2014 at 9:14 PM
dlynch wrote:
I am a powershell newby and wondering the correct syntax if I want to install more than one msi in the template provided. For example the below example seems to stop and fails after installing the first msi:

*===============================================

* INSTALLATION

$installPhase = "Installation"

*===============================================

# Install Avaya CMSSupervisor 15

  Execute-MSI -Action Install -Path "Avaya_CMSSupervisor_15.0_R1.msi" 



# Install Microsoft Remote Desktop GenesysCCPulse 7.5

Execute-MSI -Action Patch -Path "Microsoft_RemoteDesktopGenesysCCPulse_7.5_R1.msi"
never mind I see the error I made. All is good!