oggge Posted October 6, 2011 Posted October 6, 2011 I'm looking for a way to add several folders so they are there upon install, are there any instructions or place to start in doing this through w7t or any another program? Quote
crashfly Posted October 6, 2011 Posted October 6, 2011 Yes, they are similar to the XP way of doing things, except the location is different. Instead of in the root for XP, the $OEM$ folder has been moved to the location under sources: "\sources\$OEM$". You might have to look up the specific syntax, but as far as I remember '$OEM$\$$' refers to the Windows directory, '$OEM$\$1' is the root of the system drive and so on. There is a great explanation for it here: http://unattended.msfn.org/unattended.xp/view/web/18/ however I do not know if every convention used carries over to Win7. At least it will give you a starting point. Quote
*Reaper* Posted October 6, 2011 Posted October 6, 2011 (edited) It would be a little better with a bit more info....If your just wanting to copy a folder to a directory like Program Files or Windows... You can use the Tasks.txt file and haveWindows 7 Toolkit do it for you....Name=My FoldersCreator=*Reaper*Version=1.0.0.0Arc=x86! (x86! only for x86 source... x64 only for x64 source)Description=Copies my folder to where I want.Website=http://www.wincert.net/[CopyFolder]Example Folder::Program Files (This will copy the "Example Folder" to Program Files so after installation it would be c:\Program Files\Example Folder)MAKE SURE YOU REMOVE EVERYTHING in ()... I just put them there so you would know the use for them.Then just take the "Example Folder" and the Tasks.txt file and zip them both to a filename such as My_Example_Addon.WAThen use Windows 7 Toolkit and add it as a addon....Hope this helps.... If not, tell me exactly what you are wanting to do and I'll try and help you out. Edited October 6, 2011 by *Reaper* Quote
oggge Posted October 6, 2011 Author Posted October 6, 2011 I think that will do what i was looking for exactly, thank you! I will try it right away to be sure. Quote
compstuff Posted April 3, 2012 Posted April 3, 2012 Just found this Reaper...THANKS VERY MUCHIt would be a little better with a bit more info....If your just wanting to copy a folder to a directory like Program Files or Windows... You can use the Tasks.txt file and haveWindows 7 Toolkit do it for you....Name=My FoldersCreator=*Reaper*Version=1.0.0.0Arc=x86! (x86! only for x86 source... x64 only for x64 source)Description=Copies my folder to where I want.Website=http://www.wincert.net/[CopyFolder]Example Folder::Program Files (This will copy the "Example Folder" to Program Files so after installation it would be c:\Program Files\Example Folder)MAKE SURE YOU REMOVE EVERYTHING in ()... I just put them there so you would know the use for them.Then just take the "Example Folder" and the Tasks.txt file and zip them both to a filename such as My_Example_Addon.WAThen use Windows 7 Toolkit and add it as a addon....Hope this helps.... If not, tell me exactly what you are wanting to do and I'll try and help you out. Quote
Legolash2o Posted April 4, 2012 Posted April 4, 2012 (edited) Thanks *Reaper*, i've also finished a standard guide for users too : http://www.wincert.n...00-addon-maker/P.S. Keep up the great work! It's much appreciated. Edited April 4, 2012 by Legolash2o Quote
ElmerBeFuddled Posted April 4, 2012 Posted April 4, 2012 Excellent stuff Reaper, so much easier than slipping in to each image. Quote
compstuff Posted April 8, 2012 Posted April 8, 2012 Reaper I am just about to do some tests and was wondering a few things:1) If the folders I am copying are already created will this just add the files to the folders?2) Is there a way to copy just files to a particular sub-folder in the Program Files (x86) directory.One task I am looking to do is always copy the same three files to my Malwarebytes directoryIt would be a little better with a bit more info....If your just wanting to copy a folder to a directory like Program Files or Windows... You can use the Tasks.txt file and haveWindows 7 Toolkit do it for you....Name=My FoldersCreator=*Reaper*Version=1.0.0.0Arc=x86! (x86! only for x86 source... x64 only for x64 source)Description=Copies my folder to where I want.Website=http://www.wincert.net/[CopyFolder]Example Folder::Program Files (This will copy the "Example Folder" to Program Files so after installation it would be c:\Program Files\Example Folder)MAKE SURE YOU REMOVE EVERYTHING in ()... I just put them there so you would know the use for them.Then just take the "Example Folder" and the Tasks.txt file and zip them both to a filename such as My_Example_Addon.WAThen use Windows 7 Toolkit and add it as a addon....Hope this helps.... If not, tell me exactly what you are wanting to do and I'll try and help you out. Quote
*Reaper* Posted April 9, 2012 Posted April 9, 2012 Reaper I am just about to do some tests and was wondering a few things:1) If the folders I am copying are already created will this just add the files to the folders?2) Is there a way to copy just files to a particular sub-folder in the Program Files (x86) directory.One task I am looking to do is always copy the same three files to my Malwarebytes directory1: I beleive so.. (But Im not 100% sure) I think it will just merge whatever files you are copying into the already created folder.2: Yes... Just use the [FileCopy] command.[CopyFile]MyFile.exe::Program Files (x86)\Other Dir\Mine (This will copy the "MyFile.exe" to c:\Program Files (x86)\Other Dir\Mine) Quote
compstuff Posted April 9, 2012 Posted April 9, 2012 Thanks trying it now...1: I beleive so.. (But Im not 100% sure) I think it will just merge whatever files you are copying into the already created folder.2: Yes... Just use the [FileCopy] command.[CopyFile]MyFile.exe::Program Files (x86)\Other Dir\Mine (This will copy the "MyFile.exe" to c:\Program Files (x86)\Other Dir\Mine) Quote
Worf Posted April 30, 2012 Posted April 30, 2012 Why don't you just add them straight to the Mount folder?I add all my font's, wallpaper, themes, small apps ect this way without any problems.Use Imagex to mount the .wim file to say 'C:\Mount'.Once mounted, open the 'C:\Mount' directory'. This will display the contents of the .wim file. ( (Program Files) - (Program Files(x86)) - (Windows) - ect)Goto the directory where you want these folders, and just create a new folder.Copy any Fonts, Wallpapers, Themes, ect into the correct folders.When you have done everything use Imagex to unmount the .wim image. Make sure you use the /Commit argument to commit the changes.This is how i do it and also things like 'Adobe Flash Player - Shockwave Player - Adobe Reader - DirectX 10.1', and their registry settings.I also do the same with some of my applications all registered and ready to run when i do a fresh install. Quote
*Reaper* Posted April 30, 2012 Posted April 30, 2012 Yeah.. You can do it that way.. But using WinKit to do it for you by way of a addon is just less "hands on"...And it helps others actually learn how to make simple addons... Quote
Worf Posted April 30, 2012 Posted April 30, 2012 Yes that is true *Reaper*, just thought i would give an alternative way of doing it. But like you said using addons is less hands-on, and it is much safer. Quote
*Reaper* Posted April 30, 2012 Posted April 30, 2012 Yeah.. Having more than one way is always good...Like they say... There is more than one way to skin a cat Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.