Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot provide absolute path for UnattendTemplate #378

Open
DohouM opened this issue Dec 19, 2022 · 1 comment
Open

Cannot provide absolute path for UnattendTemplate #378

DohouM opened this issue Dec 19, 2022 · 1 comment

Comments

@DohouM
Copy link

DohouM commented Dec 19, 2022

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 :
image

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.

@ader1990
Copy link
Member

Hello,

The behaviour is indeed a legacy one from the previous version of the imaging tools. If you can provide a fix, it would be great!

Thank you,
Adrian.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants