We don't re-version the toolkit until it's released. This is a pre-4.1.6 release that contains fixes not in 4.1.5, which is why I was wanting you to test it.
Hi @mjr4077au, I tested pre-4.1.6 and this worked perfectly using my Admin account. I tested an install from an elevated-admin PS prompt using Invoke-AppDeployToolkit.ps1, and I also tested using run-as-admin on Invoke-AppDeployToolkit.exe.
praise to you, send you the log by email
================== 4.1.6 Beta Version ==================
via cmd/Invoke-AppDeployToolkit.exe = viaexe 101160-harmonie10.7.10006x64-MUI_PSAppDeployToolkit_Install.log
via Powershell powershell.exe -executionpolicy bypass -file Invoke-AppDeployToolkit.ps1 = 101160-harmonie10.7.10006x64-MUI_PSAppDeployToolkit_Install.log
Dialogs appear, open application is closed, completion dialog appears
open application is closed Show-ADTInstallationWelcome @saiwParams
uninstall works Uninstall-ADTApplication -Name $MyRemove -ApplicationType 'MSI'
installation works Start-ADTMsiProcess -Action 'Install' -FilePath $MyMSIFile
For what it's worth, if the big warning when using your admin account is annoying you, you can grant your admin account the necessary privileges to impersonate other users if you wish. The privilege SeAssignPrimaryTokenPrivilege translates into "Replace a process level token" within User Rights Assigment: