Gremo Posted May 10, 2011 Posted May 10, 2011 (edited) I usually restore my Windows 7 usign an hidden system partition, and the applying the image using ImageX. I kown that SetupComplete.cmd works when you put it in DVD\Sources\$OEM$\$\Setup\Scripts; is there a way to run it with /apply switch? I mean putting it in the .wim file?Thanks Edited May 10, 2011 by Gremo
nice_guy75 Posted May 10, 2011 Posted May 10, 2011 (edited) Yes, you can also put it in "Windows\Setup\Scripts" of Install.wim as well. Edited May 10, 2011 by nice_guy75
Gremo Posted May 10, 2011 Author Posted May 10, 2011 Yes, you can also put it in "Windows\Setup\Scripts" of Install wim as well.Thanks for helping. Do you think i can use the variable %~dp0 for referring to C:\ Windows\Setup\Scripts? And, will this work (removing the entire directory after completion)?@ECHO OFFregedit /s %~dp0Tweaks.reg%~dp0Runthis.execd %~dp0attrib -R -A -S -H *.*RMDIR /S /Q "%WINDIR%\Setup\Scripts"
nice_guy75 Posted May 10, 2011 Posted May 10, 2011 Yes, you can also put it in "Windows\Setup\Scripts" of Install wim as well.Thanks for helping. Do you think i can use the variable %~dp0 for referring to C:\ Windows\Setup\Scripts? And, will this work (removing the entire directory after completion)?@ECHO OFFregedit /s %~dp0Tweaks.reg%~dp0Runthis.execd %~dp0attrib -R -A -S -H *.*RMDIR /S /Q "%WINDIR%\Setup\Scripts"Sorry mate I am not so comfortable with dos commands, I usually capture my install.wim to integrate applications and registry tweaks.
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