OSDeploy/OSDBuilder

content start layout file not found

skipthompson81 opened this issue · 1 comments

while building a task in which i added start layout.xml and unattend.xml files, it fails claiming

    f:\osdbuilder4\Content\F:\osdbuilder4\Content\StartLayout\Win10 StartLayout.xml
Copy-Item : Cannot find path 'F:\osdbuilder4\Content\F:\osdbuilder4\Content\StartLayout\Win10 StartLayout.xml' because it does not exist.
At C:\Program Files\WindowsPowerShell\Modules\OSDBuilder\22.4.20.1\Private\AllFunctions.ps1:426 char:9
+         Copy-Item -Path "$SetOSDBuilderPathContent\$StartLayoutXML" - ...
+         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : ObjectNotFound: (F:\osdbuilder4\...StartLayout.xml:String) [Copy-Item], ItemNotFoundException
    + FullyQualifiedErrorId : PathNotFound,Microsoft.PowerShell.Commands.CopyItemCommand
 
2022-05-18-152406 OS: Use Content Unattend
    f:\osdbuilder4\Content\F:\osdbuilder4\Content\Unattend\unattend.xml
Copy-Item : Cannot find path 'F:\osdbuilder4\Content\F:\osdbuilder4\Content\Unattend\unattend.xml' because it does not exist.
At C:\Program Files\WindowsPowerShell\Modules\OSDBuilder\22.4.20.1\Private\AllFunctions.ps1:451 char:5
+     Copy-Item -Path "$SetOSDBuilderPathContent\$UnattendXML" -Destina ...
+     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : ObjectNotFound: (F:\osdbuilder4\...nd\unattend.xml:String) [Copy-Item], ItemNotFoundException
    + FullyQualifiedErrorId : PathNotFound,Microsoft.PowerShell.Commands.CopyItemCommand

the obvious error is a duplication in the path of F:\ twice within the command.