Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

StresStimulus supports unattended installation for automated deployment purposes. To install StresStimulus unattended on a controller, run the below PowerShell script on the target machine. Note that after installation, StresStimulus controller must be activated.

Code Block
languagepowershell
firstline1
titleInstall StresStimulus Unattended
linenumberstrue
$DownloadPath = "${env:USERPROFILE}\Downloads\"

$ConfigScript = '<configuration>
     <startup>
          <supportedRuntime version="v4.0.30319"/>
          <supportedRuntime version="v2.0.50727"/>
     </startup>
</configuration>'

Invoke-WebRequest -Uri "http://update.stimulustechnology.com/stresstimulus/StresStimulusInstaller_cmd.exe" -OutFile "${DownloadPath}StresStimulusInstaller_cmd.exe"
New-Item -Path "${DownloadPath}" -Name "StresStimulusInstaller_cmd.exe.config" -ItemType "file" -Value "${ConfigScript}"
Start-Process -FilePath "${DownloadPath}StresStimulusInstaller_cmd.exe" -ArgumentList '/q'





To install StresStimulus unattended on an agent machine change the last line of the above script as follows:

 Start-Process -FilePath "${DownloadPath}StresStimulusInstaller_cmd.exe" -ArgumentList '/q /agent'

Info
titleNote:

StresStimulus Agent machines do not need a to be activated with a license.