Last active
May 17, 2018 16:46
-
-
Save nshores/1c6caaa397249528988d7c78bd25e9fb to your computer and use it in GitHub Desktop.
sage_install.ps1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Note - For no UAC POP Requires UAC to be disabled. Also, Requires executionpoliy set to bypass, or unrestricted. | |
$arg = 'RESPONSEFILE="\\WCI-APP\Timberline Office\Install Scripts\ClientResponse.log"', | |
'SUPPRESS_REBOOT_DIALOG=true', | |
'/silent', | |
'/debuglog"c:\temp\install_log.log"' | |
#Check for .net 3.5 | |
$fxstate = Get-WindowsCapability -Online -Name NetFX3~~~~ | |
if ($fxstate.state -ne "Installed"){write-host "Installing .Net Framework 3.5"} | |
Add-WindowsCapability –Online -Name NetFx3~~~~ | |
write-host "Installing Sage 300" | |
start-process -Verb runas "\\WCI-APP\Timberline Office\9.5\Accounting\WinInst\SETUP.EXE" -ArgumentList $arg |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment