Versions Compared

Key

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

StresStimulus supports unattended installation for automated deployment purposes.

Controller installation

To install a StresStimulus controller unattended on a controller, run the below PowerShell script below 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 upgrade a StresStimulus trial to an acquired license, your serial number should be activated on the controller manually.

Load agent installation

To install a StresStimulus load agent unattended on an agent machine change the last line of the above script as follows: Start-Process -FilePath , run the PowerShell script below on the target machine. 

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 /agent'

...

titleNote:


After installation, the load agent

...

machines do not need

...

to be activated with a license and are ready to use.

Remote unattended installation

Controllers and load agents can be deployed remotely.  To do so, execute the appropriate PowerShell script remotely following this Microsoft PowerShell Remoting guide.