initial commit

This commit is contained in:
2022-09-30 11:48:18 -04:00
parent cb885412ef
commit 4ca356264e
+15
View File
@@ -0,0 +1,15 @@
## Path to the MSI installer
$MSIURL = 'https://enscape-installer.chaosgroup.com/installer.enscape.io/Enscape-3.4.1%2B87719.msi'
## Run the installer
$INSTALLER = Download-File -URL $MSIURL
LogMsg "Installing Enscape from ""${INSTALLER}"""
Try { Start-Process "msiexec.exe" -ArgumentList "/i ${INSTALLER} /qn /norestart" -Wait -ErrorAction Stop }
Catch { LogErr $_.Exception.Message }
## Delete installer
Try {
LogMsg "Deleting downloaded installation package"
Remove-Item $INSTALLER -Force -ErrorAction SilentlyContinue
}
Catch { LogErr $_.Exception.Message }