Post-Setup order of operations

Magic

New Member
Messages
2
Reaction score
0
So is there a way to copy a .msi file to the directory then run command to execute it and activate the license. Without licensing it won't install the agent. Also, some commands I am using are used for custom backgrounds and lockscreen. But of course, I need to copy the wallpaper first then run a command after. So, is there a way to copy files then run all the commands?
 
Sure. After dropping files to the Post-setup page, put them to Before Logon and choose for the type on each Copy only.

However, consider direct MSI execution from that page, mark only the license file as copy only and use it in MSI parameters as indicated in the license file row description.
 
Okay, do I just copy all the files before logon and after logon to run all commands/scripts? I have group policies that I am implementing in the ISO, but I need to copy the files into the directory before using LGPO. I am also facing a error when booting from the ISO created in NTLite and I am not sure what it could be, it states "Windows could not update the computer's boot configuration. Installation cannot proceed." Please advise, thank you
 
Boot configuration errors are normally related to missing or wrong disk controller drivers.
 
Okay, do I just copy all the files before logon and after logon to run all commands/scripts? I have group policies that I am implementing in the ISO, but I need to copy the files into the directory before using LGPO.
All file copying is done only before logon, while some executions if user needs after user logon, can be added to After logon.
The UI will guide you, try the page, play with it a bit, test in a virtual machine the result, and feel free to ask if something didn't work as expected.

I am also facing a error when booting from the ISO created in NTLite and I am not sure what it could be, it states "Windows could not update the computer's boot configuration. Installation cannot proceed." Please advise, thank you
This one might be a Windows issue, it does come and go on the forum, not a clear indication what is causing it and if the tool contributes to it.
Let me throw a few ideas, then we'll see how it goes:

- Try editing the ISO again from a fresh one
- Include latest updates (after loading the image, updates page, add - add latest updates)
Make sure to include the Dynamic Setup Update from the list of updates, and vice-versa, if you did, try without it.
- Enable boot.wim Setup edition on the Apply - Reapply - Integrate updates to include those updates as well while editing install.wim edition of choice.
- Boot in EFI mode, enable secure boot
- Check these further steps if the above didn't help, even garlin is there with the disk cleanup idea, which might help but be careful
 
Check what boot mode your BIOS is using (UEFI vs MBR legacy), and if that matches your disk layout.
 
Back
Top