And if I want to run a PS1 file, in the After Logon section, I would do type File and add the PS1 script (like in the screenshot). Anything in parameters? "-F" in parameters? Sorry once I understand what NTLite is looking for I can figure it out further.
I THINK I am following now. Entering the task as powershell and the parameters as the add-app, NTLite will run that as "powershell -command" from CMD.
And adding the 3 files to the "Updates" section will make them available to the Post-Setup command, I assume?
Sorry, In your link it says to run "Add-AppxPackage -RegisterByFamilyName -MainPackage Microsoft.DesktopAppInstaller_8wekyb3d8bbwe" but you cannot run that sitting in CMD as it's a powershell command.
One would expect that to be "powershell -command "Add-AppxPackage -RegisterByFamilyName...
Like I said, I do not have the option to run a powershell command. Only Command Prompt. In the link you shared it says "PowerShell". Sorry I just found and started playing with NTLite yesterday. If I am missing something, my apologies. In Post-Setup I have commands for before and after login...
Just playing around with NTLite and I am hoping to install WINGET to the ISO or after. I have seen several posts with 10+ steps of goofy things to do, some appear to be no longer in NTLite.
In the Updates section you can add packages, if I have the appx package and the prerequisites shouldn't...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.