Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FYI: Can not start a container 2013R2 #501

Closed
KristofKlein opened this issue Aug 17, 2021 · 1 comment
Closed

FYI: Can not start a container 2013R2 #501

KristofKlein opened this issue Aug 17, 2021 · 1 comment

Comments

@KristofKlein
Copy link

Hi,

This is kind of a follow up on Issue #379.

We also got stuck with dism not able to enable the dotnet3 feature(s). What helped me (but not my collegue) was to change the given code of 71\navinstall.ps1 to:

Write-Host "Installing .NET 3"

Set-Service -Name wuauserv -StartupType "Manual"

DISM /Online /Quiet /Add-Package /PackagePath:"C:\NAVDVD\Prerequisite Components\microsoft-windows-netfx3-ondemand-package.cab" | Out-Null

Dism /online /enable-feature /all /featurename:NetFX3 /Source:"C:\NAVDVD\Prerequisite Components" /limitaccess | Out-Null

I don't expect that there will be much energy put into this. But maybe it gives you or others a hint what causes issues with that part of the script...

to find out what works I did as suggested: went into the container (yes it is there even if it fails to get NAV running) and worked my way through this dism stuff until I found a combo that worked. I than took a copy of the navinstall.ps1 , changed it accordingly and handed it into new-navcontainer -myScripts @("C:\temp\run71\navinstall.ps1")

@freddydk
Copy link
Contributor

Thanks for sharing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants