The last time when I wrote about new NAV 2015 image on Microsoft Azure, I showed you how to create VM and how to change credential to NavUserPassword for really cloud using. After running the Initialize the Virtual Machine, you got possibility to run all NAV clients from VM and Web Client from your computer. Of course, for this you had to add new Endpoint on Microsoft Azure Portal: HTTPS, with 443 as port numbers. But, I suppose you want to use NAV with Windows Client from your PC. For this usage, we again got an excellent tool on Welcome screen. You need to click on Install Click Once deployment of the Windows Client link and you will find PowerShell script in DEMO folder. You need to run your PowerShell ISE as Administrator and open this script install.ps1. Now, you only need to run this PS script. After few minutes, system will show you all links, and on the end link for ClickOnce.
Now, you have to add new Endpoints on your Microsoft Azure Portal:
- HTTP, with 80 as port numbers for ClickOnce install (this port is configured in previous script)
- Windows Client, with 7046 for NAV Window Client running
When you finish with Endpoints, you have to use your ClickOnce link from URLs file on your Internet Explorer. System will open ClickOnce Online Installation page. You need to run Install and wait.
After installation is finished, you only need to fill your credentials and run your Microsoft Dynamics NAV 2015 Windows Client on Microsoft Azure.
That’s all about easy using script for ClickOnce Windows Client installation. But, I will show you something more about it few daysd
[…] Using ClickOnce to create Windows Client for NAV2015 Image on Microsoft Azure […]
LikeLike
Can I use the install.ps1 script, for any virtual machine?
I created a vm only with the OS, then I install Dynamics NAV 2016.
This vm haven’t the demo scripts and I need to configure Clickonce to get the client app and install it on my local machine, but I´m afraid about the Copyright
Can you help me, please?
LikeLike
I already published How Do I video about deploying NAV using Click Once. You can use this URL: https://msdn.microsoft.com/en-us/dynamics/nav/dn835067
This video is about NAV2013R2, but this is the same with newer versions.
LikeLike
Hi Totovic,
I am trying to deploy NAV 2016 clickonce with windows credential not (NAV User password). but getting following error:
The customHostSpecified attribute is not supported for Windows Forms applications.
does Clickonce not support windows credentials?
Thanks
Rajesh
LikeLike
[…] blogged about automated ClickOnce script, which you can find from here. I have similar script for my own purposes, but Totovic's is a very good starting point with […]
LikeLike