Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics NAV (Archived)

Cannot install Navision via batch file

Posted on by Microsoft Employee

Hello,

My job is to install Navision on standard Windows 10 Pro Client in my company.

The installation is via a batch-file.

After I execute the batch file a cmd prompt appears with some text, and after that a installation a window should appear like in ausual software installation on Windows. But it doesn't

Can anyone tell me what's wrong?

*This post is locked for comments

  • Suggested answer
    Stefano Demiliani Profile Picture
    Stefano Demiliani 37,162 Most Valuable Professional on at
    RE: Cannot install Navision via batch file

    Do you want to perform a silent (automatic) installation? If so, you need to prepare a setup configuration file and then launch setup.exe by passing this file as input.

    “setup.exe” does support some different parameters for this purpose:

    /quiet <– will turn of the UI

    /log [filename] <– create a log text file in the specified location

    /config [filename]<– point to the configuration file to use during the installation

    /uninstall <– will simple un install the product

    /repair <– repairs a bad installation

    The first thing that needs to be done is to create the configuration file that we will use.

    Star “setup.exe”

    Click “next”

    Click “I accept”

    Click “Choose an installation option”

    Click “Custom Components”

    Select the product that you want to install

    Update destination folder if needed by clicking on the “destination folder” link

    Click “next”

    Click on the component that you have picked to setup the different parameters as “server name” and so on. When done apply your changes.

    Click “save configuration”

    Pick a good location, name and save the xml file

    You can create as many configuration files as you want for different purposes. Now, you can run the silent install by simply doing start -> run -> [setupExepath] /quiet /config [configfilepath.xml]. Be sure to take a look to the log file, to ensure everything went OK.

    Example D:\setup.exe /quiet /config C:\configfiles\config1.xml /log C:\log.txt

    More info here:

    docs.microsoft.com/.../running-setup-on-the-command-line

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,214 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans