How to integrate a folder's worth of files

RobertX

Member
Messages
66
Reaction score
4
What I'm trying to do is go to a folder that has an install file that interacts with the other files in the same folder, something akin to DirectX.

How would I go about doing this in NTLite?
 
There's two ways of adding a folder for post-installation work.

1. From Post-Setup, Add / Directory and your imported folder will be copied under "C:\Windows\Setup\Folder". This temporary folder will be removed after Post-Setup is completed. You can now add a Post-Setup command which references this staging folder.

2. The traditional method is to create a new folder under the extracted ISO's directory, "sources\$OEM$\$1\Folder" where $1 maps to "C:\Folder". You will be responsible for cleaning up the copied folder.
 
I can understand that, but what if I was to execute just one executable from that folder?

What do I do there?
 
Then you call that executable from Post-Setup, knowing the staging folder's path. Sometimes an installer or program needs to have specific environment variables defined, started from inside a specific folder, etc. before it runs.

If that's the case, then call a small wrapper script to do those tasks before executing the target file.
 
Back
Top