You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The powershell install script for Windows supports now to supply a previously downloaded zip file ("archive") of the IoT Edge daemon. But it will still try to download and install every the VC runtime.
It should be either
made optional to download and install VC at all
or at least, give the user the chance to manually supply the path to the downloaded installer.exe similar to the IoT Edge daemon.
Especially when re-installing Edge, the VC is obviously already there and downloading it again just takes unnecessary time. Or - even worse - in cases where the device does not have internet connectivity, even behind a proxy, this might fail.
This is also needed for the newly added Moby-binaries. We need to have an installer, that is fully offline-capable. In many cases the Edge device will have no general internet connectivity at all.
- Add new `-InvokeWebRequestParameters` parameter. This can be used to specify
extra options for all `Invoke-WebRequest` calls, like `-Proxy` and
`-ProxyCredentials`. The `-Proxy` parameter to the installer function itself
is left for backward-compatibility.
- Add new `-OfflineInstallationPath` parameter for offline installs.
This should be set to a directory that contains one or more files.
For each component that the installer downloads (iotedged, Moby Engine,
Moby CLI, VC Runtime), it first checks if the corresponding file is already
present in this directory. If the file is there, it uses that instead of
downloading from the internet.
- Change Moby CLI from opt-in to opt-out. `-WithMobyCli` is renamed to
`-SkipMobyCli`
- Disable iotedge service before stopping it. If the service crashes while
being stopped, Windows restarts it instead of leaving it stopped.
- Skip VC Runtime installation if `system32\vcruntime140.dll` exists.
- Change all references to "Moby Runtime" to "Moby Engine", except for the
key in `config.yaml`
Fixes#565
The powershell install script for Windows supports now to supply a previously downloaded zip file ("archive") of the IoT Edge daemon. But it will still try to download and install every the VC runtime.
It should be either
Especially when re-installing Edge, the VC is obviously already there and downloading it again just takes unnecessary time. Or - even worse - in cases where the device does not have internet connectivity, even behind a proxy, this might fail.
Still seems the case in the latest PR regarding the installer: https://github.com/Azure/iotedge/pull/550/files#diff-8ae7a24c87a2048c653a1cfb9f7e1d8bR502
The text was updated successfully, but these errors were encountered: