Problem adding config file to working preset

slownumb

New Member
Messages
22
Reaction score
4
Hello all!
I've been baking a deep component removal preset for some time and everything is great so far. Few things broken, none bothers me.
Today, when I was trying to add a config file for installing Office 365, for the first time I got an image that doesn't finish the installation process.
The weird thing is, if I try the SAME preset but without adding the config file, the image finishes the installation and boots normally.
I've tried this twice with the config file and twice without it, and get same results everytime. Always on VM. I have not tried it yet on the hardware.
This was done on Win11 24H2 ISO straight from MS site. I've only added the latests updates got from NTlite itself.

Below is a SS of the error message that I get when trying to install the image.
I know that these presets that removes a lot components ends up with weird behaviours. It would be nice if someone with more expertise than me would look into it.
I've attached the preset, both logs with and without the config file added and the file itself (its a simple xml config).



photo_2024-11-07_20-51-59.jpg
 

Attachments

Are you trying to install Office from just an xml ? is it in the same folder as the office install files ?

I would suggest reading through this ....

 
Last edited:
Are you trying to install Office from just an xml ? is it in the same folder as the office install files ?
Sorry, i read again my text and the information was really ambiguous.

I use the config file to override the predefined config when installing Office from winget. Been doing this for awhile and it works.
The command I was using in the past was:

winget install -h -e --id Microsoft.Office --override "/configure %WINDIR%\Setup\FilesU\Office-Config.xml" --accept-package-agreements --accept-source-agreements

In fact, this worked ok last weekend when I formatted my laptop. But I was adding the file xml and typing the winget command manually.

The problem started when I tried to add it using the Post Setup tab.

I have tested today against a full ISO, without any component removal. Just adding the xml file to the Post Setup tab and the installation went throught. This weekend I'll try reverting to previous builds of my preset to see if I can pinpoint whats wrong.
 
I ran into something similar and figured out that the issue had to do with how the config file was linked—make sure the path is correct and double-check the syntax. Also, if you're setting up a complete build and need productivity tools, I managed to buy Office 2024 Professional Plus key UK at a decent price, which saved me some effort on the software side.
 
Last edited:
Back
Top