Files
management-scripts/dbiarchitects/Install-SketchUp2017.ps1
T
2019-11-11 19:22:39 -05:00

13 lines
410 B
PowerShell

path = "\\va01fsx01\applications\Programs\sketchup-pro-2017"
msi = "SketchUp2017-x64.msi"
msiSwitch = "/qn"
If ( Test-Path "${path}\${msi}" )
{
Start-Process msiexec.exe -ArgumentList "/i ${path}\${msi} ${msiSwitch}" -Wait
}
If ( Test-Path "${Env:SystemDrive}\ProgramData\SketchUp\SketchUp 2017" )
{
Copy-Item "${path}\activation_info.txt" "${Env:SystemDrive}\ProgramData\SketchUp\SketchUp 2017"
}