Completed View 7.0 support
All the installers run correctly added "-verb runas" to start-process cmdletspull/45/head
parent
4441b8c9e6
commit
ce80804955
|
@ -100,7 +100,6 @@ if (([bool]($emailto -as [Net.Mail.MailAddress])) -and ($SmtpServer -ne "none"))
|
|||
$mailmessage.Body = $Summary
|
||||
$attach = new-object Net.Mail.Attachment("C:\buildlog.txt")
|
||||
$mailmessage.Attachments.Add($attach)
|
||||
$message.Attachments.Add($attach)
|
||||
$SMTPClient.Send($mailmessage)
|
||||
}
|
||||
Read-Host "Rebooting after VMTools Install"
|
||||
|
|
|
@ -104,7 +104,6 @@ if (([bool]($emailto -as [Net.Mail.MailAddress])) -and ($SmtpServer -ne "none"))
|
|||
$mailmessage.Body = $Summary
|
||||
$attach = new-object Net.Mail.Attachment("C:\buildlog.txt")
|
||||
$mailmessage.Attachments.Add($attach)
|
||||
$message.Attachments.Add($attach)
|
||||
$SMTPClient.Send($mailmessage)
|
||||
}
|
||||
Read-Host "Reboot?"
|
||||
|
|
|
@ -602,7 +602,6 @@ if (($vmtools) -and (-Not (Test-Path "C:\Program Files\VMware\VMware Tools\VMwar
|
|||
$mailmessage.Body = $Summary
|
||||
$attach = new-object Net.Mail.Attachment("C:\buildlog.txt")
|
||||
$mailmessage.Attachments.Add($attach)
|
||||
$message.Attachments.Add($attach)
|
||||
$SMTPClient.Send($mailmessage)
|
||||
}
|
||||
Start-Process B:\VMTools\setup64.exe -ArgumentList '/s /v "/qn"' -verb RunAs -Wait
|
||||
|
|
|
@ -94,7 +94,6 @@ if (([bool]($emailto -as [Net.Mail.MailAddress])) -and ($SmtpServer -ne "none"))
|
|||
$mailmessage.Body = $Summary
|
||||
$attach = new-object Net.Mail.Attachment("C:\buildlog.txt")
|
||||
$mailmessage.Attachments.Add($attach)
|
||||
$message.Attachments.Add($attach)
|
||||
$SMTPClient.Send($mailmessage)
|
||||
}
|
||||
Read-Host "Rebooting after VMTools Install"
|
||||
|
|
Loading…
Reference in New Issue