& $PSScriptRoot\mastercam2019-update3_1-patch.exe /s /v"/qb" & $PSScriptRoot\mastercam2019-update2_1-patch.exe /s /v"/qb" & $PSScriptRoot\mastercam2019-update2-patch.exe /s /v"/qb" Write-Host "Installing Mastercam 2019 Patches" # Copy nethasp.ini to Mastercam Program directoryĬopy-Item -Path (Join-Path $PSScriptRoot -ChildPath nethasp.ini) -Destination %ProgramFiles%\MCAM2019 & $PSScriptRoot\mastercam2019-update1-web.exe -sp"/silent /action=install /language=en-US /CNC_SIM_TYPE=N" The batch file would run the executables once the batch file was executed elevated. I am in the process of converting a batch file I have used and modified over the years to install Mastercam on 40 to 50 computers to powershell.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |