13 lines
410 B
PowerShell
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"
|
|
} |