Questions about NTLite post-setup

Dear all,
I would like to automate some manual actions I do on my ISO after NTLite and therefore I need the help of you experts about the post-setup phase.
In details, these are my questions:

- I would like to copy some files from a source folder on DVD to a specified folder in my system, possibily inside %windows%\utils. What is the best way to do this with NTLite? Shall I copy them to sources\$oem$\$$\Setup\scripts and then add many copy commands in post setup page?
Or shoud I copy all source files in sources\$oem$\$$\Setup\Files and create sources\$oem$\$$\Setup\scripts\SetupComplete.cmd which does all my needed tasks?
Has anyone a good sample for this?

- I would like to run dism to change default file associations while image is still offline. Is there a way to do this in NTLite? Or should I put dism call in post-setup page? When I call dism from post-setup page, which is the current path? Differently said, if I call dism /Import-DefaultAppAssociations:appassoc.xml, where should I put xml file so that it can be read?
Anyone has a good sample for calling dism from within NTLite?

Thank you very much for your help,
Fil
 
- I would like to copy some files from a source folder on DVD to a specified folder in my system, possibily inside %windows%\utils. What is the best way to do this with NTLite? Shall I copy them to sources\$oem$\$$\Setup\scripts and then add many copy commands in post setup page?
Or shoud I copy all source files in sources\$oem$\$$\Setup\Files and create sources\$oem$\$$\Setup\scripts\SetupComplete.cmd which does all my needed tasks?
Has anyone a good sample for this?

$$ = C:\Windows
$1 = C:\

Copy commands are not necessary if you use these folders:
sources\$oem$\$$\utils = C:\Windows\utils
 
Thank you Kasual, you are the man, this simplifies a lot.
Have you ever tried running post-setup commands from NTLite? Which is the execution path for them?
Do you have any good samples you can share to better understand how this works? Also SetupComplete.cmd scripts would be nice.

Thank you again,
Fil
 
I had copied, moved, renamed files and folders with setupcomplete.cmd

I'm not sure what do you mean, what would you like to execute and from where?
 
My idea was to run some commands in setupcomplete.cmd (for example some dism commands) but I need to know which is the execution path when commands are called.
 
Back
Top