-
Notifications
You must be signed in to change notification settings - Fork 241
Description
Hey there !
I'm facing a problem with this script toolbox, which is, whenever I try to use a custom UnattendTemplate.xml, I encounter an issue : the WinImageBuilder.psm1 script always assume that the starting point to get the UnattendTemplate.xml is the folder of the toolbox. Unfortunately, when I need to point to an absolute path for this, through the unattend_xml_path variable in my config file, the script seems to be appending the absolute path to the path of the script root, like so :

Which, in my case as you can see, results in the following path for my UnattendTemplate.xml : C:\Users\admsrv\windows-imaging-tools\C:\Users\admsrv\windows-builds\confs\w10\UnattendTemplate.xml. I'm not sure if this is intended behaviour, but I think I can provide a fix for that. Let me know if you're interested.