I_(USE)_*Nix Posted August 3, 2006 Share Posted August 3, 2006 (edited) Hello all! I recently have gotten into customizing my XP CD for my use and I have come across some pretty nice tweaks that I would liek to implement into my CD. Thay are command line items that tweak objects in the registry mainly and, using the guide on MSFN, I can't figure how to implement them?I want them to be implemented on the CD already. Or they can be run after the installation is done. I can't think of anyway to get them to run. I use the windows deployment tools and I figured the Run After section would work but I dont know the commands. Can anyone help me?*EDIT*I think I will try the GUIRunOnce option... Altho im not sure how to implement it. Does the "%systemdrive%\install\batch_file1.cmd" mean it will look for and execute the "batch file" in "C:\install"? Meaning I jsut put a folder named "install" on my XP_CD and it will execute the batch files there?Do I list a different command for each batch file? Or can I list them sequentially with a comma(s)?This is what I have so far [GuiRunOnce] "%systemdrive%\Install\xp_tweaks.cmd" "%systemdrive%\Install\SFC_Hack.cmd" "%systemdrive%\Install\network.cmd" Edited August 3, 2006 by I_(USE)_*Nix Link to comment Share on other sites More sharing options...
a_annouar Posted August 3, 2006 Share Posted August 3, 2006 no u must creat this path in ur CD $OEM$\$1\install and put your cmd files on it it will work with [GuiRunOnce] "%systemdrive%\Install\xp_tweaks.cmd" "%systemdrive%\Install\SFC_Hack.cmd" "%systemdrive%\Install\network.cmd" Link to comment Share on other sites More sharing options...
I_(USE)_*Nix Posted August 3, 2006 Author Share Posted August 3, 2006 So my folder now looks like this in relation to where the batch files are located...C:...\XPCD\$OEM$\$1\install\network.cmd etc...This will then proceed to run the tweaks?But I thought the code in the WINNT.SIF meant it to read from c:\install, but now that I think of it, i suppose it makes more sense your way, tho Im not sure what the $OEM$\$1 refers too? Link to comment Share on other sites More sharing options...
Takeshi Posted August 3, 2006 Share Posted August 3, 2006 $1 on the CD is equivalent to the %systemdrive% environment variable. Link to comment Share on other sites More sharing options...
I_(USE)_*Nix Posted August 3, 2006 Author Share Posted August 3, 2006 (edited) OhI think I got it now.Hmm... I will go test this in VM. Thanks for the help. Edited August 4, 2006 by I_(USE)_*Nix Link to comment Share on other sites More sharing options...
I_(USE)_*Nix Posted August 4, 2006 Author Share Posted August 4, 2006 So after installling in VM I get an error that said "Windows could not find C:\Install\network.cmd" Did I miss something? And the actual path does NOT exist on my c drive. Why didnt it get created? Link to comment Share on other sites More sharing options...
a_annouar Posted August 4, 2006 Share Posted August 4, 2006 look in this linkhttp://unattended.msfn.org/unattended.xp/view/web/30/ Link to comment Share on other sites More sharing options...
I_(USE)_*Nix Posted August 4, 2006 Author Share Posted August 4, 2006 I think I knwo why it wasn't working. I had put the %systemdrive%\Install\network.cmd in quotes... It isnt supposed to be I dun think. So Ill try that and see waht happens.BTW, I have read that page a few times... But I think I got it now. so well see Link to comment Share on other sites More sharing options...
I_(USE)_*Nix Posted August 4, 2006 Author Share Posted August 4, 2006 nope... Didnt work... Same error as before. Is there anything I need to run WITH the GUIRunOnce option? Im at a loss here... Link to comment Share on other sites More sharing options...
Takeshi Posted August 5, 2006 Share Posted August 5, 2006 Pls check the directory structure on the CD if the dir didn't get copied over. Link to comment Share on other sites More sharing options...
I_(USE)_*Nix Posted August 5, 2006 Author Share Posted August 5, 2006 I think I was supposed to turn on the ""OemPreinstall" I had it to "No"... Which is probly why it wasn't working. I switched it too yes, so I will see if that is why nothing was getting copied over. Link to comment Share on other sites More sharing options...
tjhart85 Posted August 6, 2006 Share Posted August 6, 2006 yeah, that would prolly be your problem. I forgot that too when i first started these CD's and same thing happened.....nothing. Link to comment Share on other sites More sharing options...
I_(USE)_*Nix Posted August 6, 2006 Author Share Posted August 6, 2006 thanks youall for the help. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now