I have a question about $$ and $1 and other related directories under $OEM$. Would I summon $1 and $$ depending on different tasks, say pre-activation and integrating updates. Is it a means to organise them?
Thanks, I'll have a read. By the way, is there something else that I should read about Windows scripting before I proceed with more scripts? A course maybe?
I am no professional by any means but i dived in at the deep end when i took over the MRP project here on MDL in 2016, took me a few attempts to get new bits added and fix old errors but i still can have bad days when things just not go to plan! (a good job not many see my f ups )
From what I understand, $$ and $1 call up different directories. Is that right? EDIT: No, I read too fast. Will read it later. Thanks anyways!
yes , $1 refers to the root of the drive example C:\ $$ refers to the Windows directory so anything placed there will be put in the Windows folder of the installation during the setup phase.
Cool. But if $1 refers to Drive C and can refer to the Windows directory itself, why even have one that goes directly to the Windows directory, why have $$?
Because the scripts folder put in "c:\windows\setup\" by "ISO:\Sources\$OEM$\$$\Setup\" is automatically checked by windows for scripts to run at OOBE.
Yes, unless you use a unattended xml which can point to another folder (mentioned in the msdn website i linked to regarding $OEM$), but then it gets complicated, easier to use the mechanism via $OEM$\xx to do what you wish. As @Enthousiast mentioned that the windows setup looks for specific folders and files to perform certain actions etc so using stuff outside of the $oem$ method can get messy and complex to keep a eye on what is doing what more so for a beginner.
With windows 8.x and above that uses a MSDM for its 'key' activation via the bios tables, windows setup will ignore the oobe.cmd /early stages completely unless you use a ei.cfg or PID.txt in the sources folder to tell setup to ignore the MSDM key. Nothing is simple as the XP days now once you master the hurdles you can pretty much get setup to do your bidding