I create these deployments in our ImmyBot tenant. I wrote the below powershell script, created a new ImmyBot Software item, used this for the install script, the one important part is to ensure you provide the correct version for the “Verify” script. This powershell script can be adapted to any Autodesk product installation.
EDIT: You can remove the 7z portions if the download is not in a 7z format
$ProgressPreference = ‘SilentlyContinue’
$lnk = “DOWNLOAD-URL-HERE”
$dest = “C:\Windows\Temp\Revit_2025_English_Win_64bit_dlm_002_002.7z”
Invoke-WebRequest -Uri $lnk -OutFile $dest
Check if the file already exists
if (-Not (Test-Path $dest)) {
Write-Host “File does not exist. Downloading…”
# Download the file using Invoke-WebRequest
Invoke-WebRequest -Uri $lnk -OutFile $dest
# Check if the download was successful
if (Test-Path $dest) {
Write-Host "File downloaded successfully."
} else {
Write-Host "File download failed."
}
} else {
Write-Host “File already exists. Skipping download.”
}
#Ensure the AutoDesk directory exists
if (!(Test-Path “C:\Autodesk\Revit 2025”)) {
mkdir “C:\Autodesk\Revit 2025”;
}
Define the path to the 7-Zip executable (adjust if necessary)
$sevenZipPath = “C:\Program Files\7-Zip\7z.exe”
Define the 7z archive file path
$archivePath = “C:\Windows\Temp\Revit_2025_English_Win_64bit_dlm_002_002.7z”
Define the destination folder
$destinationPath = “C:\Autodesk\Revit 2025”
Extract the 7z file using 7-Zip
& $sevenZipPath x $archivePath -o"$destinationPath" -y
Begin the Revit 2025 installation silently. You have no idea how long I spent finding -q was the right switch
Start-Process -FilePath “C:\Autodesk\Revit 2025\setup.exe” -ArgumentList “-q” -Wait
Check if the process completed successfully
if ($LASTEXITCODE -eq 0) {
Write-Host “Autodesk Revit 2025 installed successfully.”
} else {
Write-Host “Installation failed.”
exit 1
}
Let’s cleanup the c:\Autodesk folder to save space as well as the compressed download
Wite-Host “Commencing cleanup of C:\Autodesk folder contents”
Remove-Item -Path “C:\Autodesk*” -Recurse -Force
Remove-Item -Path “C:\Windows\Temp\Revit_2025_English_Win_64bit_dlm_002_002.7z” -Force
Verify the deletion
$folderContents = Get-ChildItem -Path “C:\Autodesk”
if ($folderContents) {
Write-Host “Some items were not deleted.” -ForegroundColor Red
} else {
Write-Host “All items successfully deleted.” -ForegroundColor Green
Write-Host “Installation completed successfully!!!” -ForegroundColor Green
exit 0
}