Forum Discussion
I'm having massive issues when trying to deploy this software to my users.
Context, I manage an AVD and normal workstation fleet via Intune
This application does not allow the delivery via the SYSTEM user context mandated by this platform, it simply hangs in the background without progressing.
Attempted using
-allusers -silent
Any combination of the above, just doesn't progress the install.
I've tried using an invoked session as suggested in this forum - AccountRight release August 3rd - what you need to know | MYOB Community and there is no change.
Absolutely impossible to deploy this software in it's current state.
Same switches above, using an elevated shell window with a normal administrator works fine.
Please fix asap as I am not deploying this to several hundred hosts manually.
Hi jbiskit
Could you please help to answer some questions below which will help us better understand the installation issues with InTune
- Were you using AllUsers (the equivalent of MSI's /AllUsers=1) parameter before for MSI installation?
- If yes, how did you pass the parameters to InTune?
- Could you provide the detailed steps you used to deploy the installation package through Intune?
- If No, how did you install at machine level instead from Intune?
- When you installed using only -silent, were there any errors captured in the logs you could share as well?
- jbiskit19 days agoMember
Hi Mike,
Through Intune (along with other remote shells that execute as SYSTEM) I've always used the following/qn /norestart ALLUSERS=1
This has typically worked without any issue for the past several years.Through Intune in particular though, this would have been as an MSI wrapped as a Win32 application simply with those as the install command.
Since being forced to use the .exe version, I've been unsuccessful in any SYSTEM context deployment using a combination of '-silent -allusers' or simply just '-allusers'
In every instance, I can see the process just sit there in the background, failing to proceed.
As this is in SYSTEM context, there is no UI visible to me, even when using PSEXEC to execute as SYSTEM.Are you able to advise exactly which logs you'd like me to review?
EDIT:
It should be noted that using '-allusers' as a local user, not SYSTEM works perfectly fine, but this is just not a feasible or realistic solution if this is expected to be deployed at scale.- The_Doc19 days agoUltimate Cover User
Hi Mike_MYOB , jbiskit
We host 1000s of users on cloud terminal server platforms - many are MYOB users - interesting I spoke with our tech guy who handles problems with MYOB - and he told me he has been using my suggested hack for years without problem to install the PC version to ALLUSERS and the msi...... why this is important is that he came to me asking where the .msi is for PC Edition 2026.6....
I gave him the following information last week as an update
and he has just confirmed, contrary to my experience further down this post - that it worked fine for a terminal server client this morning installing the PC Edition 2026.6 for ALLUSERS.
We have an internal MYOB staff server that I am administrator for - I will attempt an ALLUSER installation as per the screenshot above, tomorrow, and see if it works.
As to why it didn't work my clients server - any thoughts - it seems to be intermittent.
The Doc
- Mike_MYOB18 days agoCommunity Manager
Thank you for the additional info jbiskit , and sorry for the delayed response.
For the logs, can you please check: %localappdata%\SquirrelTempI have enabled private messaging for you if you want to share the logs to me via direct message.
- jbiskit18 days agoMember
Hi Mike,
I've checked the %localappdata% path for the SYSTEM account after a failed install attempt and there was no output of a SquirrelTemp folder.
For reference, this is the script I've used previously. When running as SYSTEM it fails, when running as a local administrator, it works fine.
TLDR: Save the below as a .ps1 file, call it using `ScriptName.ps1 -version 2026.6`
It will download the latest version, and attempt to install it.[CmdletBinding()] param( # Version to install; this is passed through to URL and installer args. [Parameter(Mandatory = $true)] [string]$Version, # URL template must contain "{version}" placeholder. [string]$DownloadUrlTemplate = "https://download.myob.com/arl/MYOB_AccountRight_Setup_{version}.exe", # Extra installer arguments passed through as-is. [string[]]$InstallerArguments = @("-allusers") ) $ErrorActionPreference = "Stop" function Get-InstalledMyobVersion { param( [Parameter(Mandatory = $true)] [string]$TargetVersion ) $uninstallPaths = @( "HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\*", "HKLM:\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\*" ) $entries = foreach ($path in $uninstallPaths) { Get-ItemProperty -Path $path -ErrorAction SilentlyContinue } $expectedDisplayName = "MYOB AccountRight $TargetVersion" $myobEntry = $entries | Where-Object { $_.DisplayName -eq $expectedDisplayName } | Select-Object -First 1 return $myobEntry.DisplayName } $installedVersion = Get-InstalledMyobVersion -TargetVersion $Version if ($installedVersion) { Write-Output "MYOB version $Version is already installed. Nothing to do." exit 0 } $downloadUrl = $DownloadUrlTemplate.Replace("{version}", $Version) $tempInstaller = Join-Path 'c:\temp' ("MYOB_AccountRight_Setup_{0}.exe" -f $Version) Write-Output "Download URL: $downloadUrl" Write-Output "Temporary installer path: $tempInstaller" if (-Not (Test-Path -Path $tempInstaller)) { Write-Output "Temporary installer not found at $tempInstaller. Will download." Write-Output "Downloading from $downloadUrl" try { Invoke-WebRequest -Uri $downloadUrl -OutFile $tempInstaller } catch { throw "Failed to download MYOB installer from $downloadUrl. $_" } if (-not (Test-Path -Path $tempInstaller)) { throw "Downloaded installer not found at $tempInstaller." } } else { Write-Output "Temporary installer already exists at $tempInstaller. Will re-download." } Write-Output 'Swapping Install Mode...' change user /install ##Tested to see if this would fix the SYSTEM issue on Terminal / Multi-user hosts. It doesn't Write-Output "Running installer..." $process = Start-Process -FilePath $tempInstaller -ArgumentList $InstallerArguments -Wait if ($process.ExitCode -ne 0) { throw "MYOB installer failed with exit code $($process.ExitCode)." } $postInstallVersion = Get-InstalledMyobVersion -TargetVersion $Version if ($postInstallVersion) { Write-Output "MYOB $Version installed successfully." Remove-Item -Path $tempInstaller -Force } else { throw "Install completed but expected app name 'MYOB AccountRight $Version' was not detected." }
Looking for something else?
Search the Community Forum for answers or find your topic and get the conversation started!
Learn, solve, grow
Level up your skills and find answers across all MYOB products