Closed JohannesDrexler closed 4 years ago
I believe you should be inside the sub folder and simply use -Path "."
Sorry for letting you wait so long for feedback... i set the current directory to the directory of the extrated package and tried using "." as path. this resulted in the following output:
PS C:\Temp\pu31> Invoke-D365SDPInstall -Path . -QuickInstallAll
[14:47:13][Test-PathExists] The C:\windows\system32\DefaultTopologyData.xml path wasn't found. Please ensure the path exists and you have enough permission to access the path.
[14:47:13][Test-PathExists] The C:\windows\system32\AXUpdateInstaller.exe path wasn't found. Please ensure the path exists and you have enough permission to access the path.
WARNING: [14:47:13][Test-PathExists] Stopping because of missing paths.
using .\.
as path resulted in the same messages as in the initial message in this issue
Could you please try with the Verbose parameter enabled? 🤔
And could you confirm what version you are running? 😉
i used version 0.5.61 of d365fo.tools. i'll try again with -verbose and post results here once my vm is ready again
I believe I have found the bug - 0.5.63 should solve the issue.
Please give it 10-15 minutes to upload to the PowerShellGallery
I tried to install a package on my local VM like this:
Invoke-D365SDPInstall -Path .\LAC365FO_Version_6100\ -QuickInstallAll -verbose
and it exits with the following logs:
However when i use the full path the command works as expected:
Invoke-D365SDPInstall -Path "C:\Users\Administrator\Downloads\LAC365FO_Version_6100" -QuickInstallAll -verbose
I believe the way the path is handled needs a bit tweaking. I'll try to set up a PR later