Installing AdvaniaGIT – Video Help

We need to add DotNet 3.5 to the standard Windows installation to be able to do NAV report design in our development environment.  The following video will show you how.  We also need to make changes to PowerShell execution policy.  The scripts and functions in AdvaniaGIT have not yet been signed.  Therefore we need to allow for execution of unsigned scripts.

From Administrative PowerShell run

Set-ExecutionPolicy -ExecutionPolicy Unrestricted

This you can also see in this video.

Install SQL Server 2016 Developer Edition.  AdvaniaGIT will work with SQL Express as well.

Install GIT, SourceTree and AdvaniaGIT module.  Make sure to have your NAV development license at hand.

There is an alternate ending to the above video.  If you have already installed NAV on your Windows machine you will need to perform the environment preparation as well.  This is demoed in the update video below.  Under normal circumstances doing Fetch and Pull will be enough to update the AdvaniaGIT module installation.  If you have manually updated or installed NAV make sure to execute the update steps shown here.

Now you machine should be ready for NAV installation.  By cloning my 2016 demo repository and using the custom actions in SourceTree you will be able to download and install NAV easily.  Our method have been to always use the latest CU from Microsoft.  The update and installation functions in AdvaniaGIT will read CU information from Microsoft and update/install the latest version.  Installation requires both the application setup and also it needs to extract the database backup and database object export from the version.  The backup and the object export are saved in your AdvaniaGIT folder.  If you have enabled the connection to a FTP server these files will also be uploaded to that server.

Here is how to install NAV 2016.

And the video from NAV 2017 is almost identical.  Using my 2017 demo repository.

Now your Windows machine should no be ready to start NAV development with Source Control Management.

Soon to come are more videos and demos on how to use SCM for your organization.  Stay tuned…

5 Replies to “Installing AdvaniaGIT – Video Help”

  1. I don’t know if this it the correct place to post questions about the AdvaniaGit Demo. But I’m stuck on both the Nav 2016 and Nav 2017 installation.
    Because most of the posted You-Tube demo’s don’t contain sound it’s pretty difficult to follow. For instance why and how to modify the GITSettings.json and BranchSettings.json.

    On the Nav 2016 Installation I receive following error while running the “Update-NAVSource.ps1” file:

    Downloading CU information from Microsoft Blog…
    Downloading installation for 2016 W1…
    CU 22 NAV 2016 W1.zip already downloaded…
    Extracting C:AdvaniaGITDownloadCU 22 NAV 2016 W1.zip to C:AdvaniaGIT2016W1…
    Copying backup file from installation media…
    Requesting new NAV Environment for branch master
    System.Management.Automation.MethodInvocationException Exception calling “GetResponse” with “0” argument(s): “De externe server heeft een fout geretourneerd: (530) Niet aangemeld.”
    Press enter to continue…:

    On the Nav 2017 installation I receive following error while running the “Update-NAVSource.ps1” file:

    Copying backup file from installation media…
    Set-Content : Could not open the alternate data stream ‘AdvaniaGITDataBranchSettings.Json’ of the file ‘C:AdvaniaGI
    TC’.
    At C:AdvaniaGITScriptsAdvaniaGITGet-BranchSettings.ps1:24 char:9
    + Set-Content -Path (Join-Path (Split-Path -Parent (Split-Path …
    + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo : ObjectNotFound: (C:AdvaniaGITC:String) [Set-Content], FileNotFoundException
    + FullyQualifiedErrorId : GetContentWriterFileNotFoundError,Microsoft.PowerShell.Commands.SetContentCommand

    Requesting new NAV Environment for branch master
    System.Management.Automation.MethodInvocationException Exception calling “GetResponse” with “0” argument(s): “De externe server heeft een fout geretourneerd: (530) Niet aangemeld.”
    Press enter to continue…: .

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.