Wednesday, December 14, 2016

How to install Retail mPOS using Powershell

3-21-2017 UPDATE: after speaking with a technical support at Microsoft they have suggested that using powershell to install mPOS is not the best way as it tends to leave out a few features especially the offline service for mPOS. So please ignore this post, and install mPOS using the AX Setup Wizard.

Prereq: Make sure to install mPOS using the AX install media first, but don't configure anything on there just yet.

Run PowerShell as Admin.

Change your directory to: C:\Program Files (x86)\Microsoft Dynamics AX\60\Retail Modern POS\Tools

Then you want to type this and hit enter: .\Install-RetailModernPOS.ps1 -Path "C:\Program Files (x86)\Microsoft Dynamics AX\60\Retail Modern POS"

               1) If you run into an error about "script execution policy" then you want to change the
                    policy by typing in this command. Set-ExecutionPolicy RemoteSigned

more information can be found in this link: https://technet.microsoft.com/en-us/library/ee176961.aspx

2)  If you run the script and you get an error about “group policy” then you need to do the following.

Click start and type run, hit enter.
Then type regedit and navigate to the path indicated from the screenshot. HKLM is short for “host key local machine”.
After changing the “Data” value to 1 then run the script again and it should work.

After successfully installing mPOS you should be able to search for it in the start menu.


1 comment: