Summary
The ClinSpark Agent is regularly updated to accommodate new device interfaces, implement improvements, or to fix issues. In order to gain the benefits of these updates, customers typically must organize and implement an update strategy that fits their site support model. However, when a need to update the Agent occurs, it may not always be possible to apply changes through standard uninstall/install procedures using the MSI installer. Therefore a ‘script’ was developed to provide a more automated mechanism to support remote update efforts.
This article will provide a brief overview of a Windows PowerShell script that can be used for updating/installing the ClinSpark Agent.
Agent update script on an IQVIA provided laptop
This script should only be used as directed by the study team.
Once authorized to do so, follow the steps below:
Open a Windows PowerShell window by pressing the Windows Start Button, searching for ‘PowerShell’ and choosing the ‘Windows PowerShell’ app.
Copy the appropriate command from this page by clicking the ‘Copy’ button.
Paste the command into the PowerShell window by right-clicking in the window and hit the ‘Enter’ key.
Click to allow access to modify your machine when prompted.
The script should open a second PowerShell window and display messages indicating that the ClinSpark agent is being updated.
Any errors will be presented in red text. If errors are observed then please contact IQVIA Support.
Copy
Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; iex ('$requiredVersion=”1.5.2.142”; $agentUrl="https://files-agentupdater-iqvia.clinspark.com/ClinSparkAgent-1.5.2.142.msi?AWSAccessKeyId=AKIATVBCQA4QQN23FN22&Expires=1712963724&Signature=jPqrnbcbSw6dgIzgXBf7gChwpcM%3D”; $scriptURL=”https://files-agentupdater-iqvia.clinspark.com/UpdateAgent.ps1?AWSAccessKeyId=AKIATVBCQA4QQN23FN22&Expires=1711850521&Signature=ASGFNp74sgQpCe%2FpWBbTp3Op%2Fmo%3D”' + (New-Object System.Net.WebClient).DownloadString('https://files-agentupdater-iqvia.clinspark.com/QuipmentLauncher.ps1?AWSAccessKeyId=AKIATVBCQA4QQN23FN22&Expires=1711850564&Signature=%2BEVacmh5TijtBlHnV7FTSNImn3Y%3D'))