Blog Post
When I try and install the MSI it goes to the following location C:\Users\*useraccount*\Local Settings\Application Data\Programs\MYOB\MYOB AccountRight 2016.2
This is in a Terminal Server Environment in Windows Server 2008 R2.
When i try to install it it says there is an older version already installed. So I removed the old version via the instructions on how to install the update and tried to install it again and still the same issue. Goes to the wrong location.
I want it to go to C:\Program Files (x86)\MYOB\MYOB AccountRight 2016.2 but even when trying to run in elevated command prompt msiexec /i "MYOB_AccountRight_Client_2016_2_2.msi" TARGETDIR="C:\Program
Files (x86)\MYOB\MYOB AccountRight 2016.2" /qb it still installs in the same location aboved.
The program works but still does this.
Anyone have any idea why this is the case?
UPDATE:
Managed to sort this out myself by doing the following:
1. Went into cmd as administrator
2. Typed "change user /install"
3. Went to "Install Application on Remote Desktop" in control panel
4. Selected the MSI which was "MYOB_AccountRight_Client_2016_2_2.msi"
5. Followed the prompts and once completed it installed successfully to "C:\Program Files (x86)\MYOB\MYOB AccountRight 2016.2"