change installation to manual
This commit is contained in:
@@ -15,18 +15,16 @@ switch ( $Edition.ToLower() ) {
|
||||
default { $URL = $ECB_WIN_URL; $AgentEdition = 'desktop' }
|
||||
}
|
||||
|
||||
# Install and import additional Powershell module
|
||||
Install-MSP360Module
|
||||
Import-Module -Name MSP360
|
||||
|
||||
# Download the installer
|
||||
$Installer = Download-File -URL $URL
|
||||
|
||||
# Install the agent
|
||||
LogMsg "Installing Emberkom Cloud Backup agent"
|
||||
Try {
|
||||
$JobName = "MSP360AgentInstall"
|
||||
Start-Job -Name $JobName -Scriptblock {
|
||||
Install-MSP360Module
|
||||
Import-Module -Name MSP360
|
||||
Install-MBSAgent -URL $URL -Force
|
||||
}
|
||||
Wait-Job -Name $JobName
|
||||
Remove-Job -Name $JobName -Force
|
||||
}
|
||||
Try { Start-Process "${Installer}" -ArgumentList "/S" -Wait }
|
||||
Catch { LogErr $_.Exception.Message }
|
||||
|
||||
# Add backup user to installed product
|
||||
|
||||
Reference in New Issue
Block a user