If the package is already installed, nothing happens. If the currently installed package is older, then this action will upgrade with the new version.
Of course, all dependencies will be installed too. If a required dependency is not found in the repository, the installation will fail.
Maybe you have a package with an MSI installer. In this case, it can be possible that this MSI needs a reboot in order to continue the installation. If it happens, you must restart the system, then you can send the same command again, then the next dependencies will be installed as expected.
Note that the detection about a reboot necessity is still WIP.
See [xcraft-core-process] for more informations.