ebin25 Posted November 4, 2005 Share Posted November 4, 2005 (edited) I just statrted customixing my xp installations and so far I LOVE IT. I have made several .cmd files in (C:\XPCD\$OEM$\$1\install\Applications.) My question is, How do i tell [GuiRunOnce] to install one cmd file at a time?i.e. If i wanted to run two files, would i type (into winnt.sif)"[GuiRunOnce]c:\install\Applications\2003_batch.cmd[GuiRunOnce]c:\instal\Applications\QT\qtalt.bat"or something more along the lines of"[GuiRunOnce]c:\install\Applications\2003_batch.cmd ,wait, c:\instal\Applications\QT\qtalt.bat"sorry for my ignorance but i am eager to learn.My second question is how do I get the "C:\install" folder to be automatically deleted after the .cmd and .bat are done running?Thank you for your patience. Edited November 4, 2005 by ebin25 Link to comment Share on other sites More sharing options...
oioldman Posted November 4, 2005 Share Posted November 4, 2005 to delete your C:\Install folder, add rd /g /s /f to your cleanup.bat.I think that to run two btch files they need to be placed like this[GuiRunOnce]c:\install\Applications\2003_batch.cmdc:\install\Applications\QT\qtalt.batthe last line of your first .cmd can contain a line that calls the second, doing a quick search should get your reults.hope it helps Link to comment Share on other sites More sharing options...
Shark007 Posted November 4, 2005 Share Posted November 4, 2005 GuiRunOnce is setup like this to run several commands:[GuiRunOnce]command7="%systemdrive%\install\Applications\2003_batch.cmd"command8="%systemdrive%\install\Applications\QT\qtalt.bat"HINT: change .bat extensions to .cmdshark Link to comment Share on other sites More sharing options...
ebin25 Posted November 4, 2005 Author Share Posted November 4, 2005 to delete your C:\Install folder, add rd /g /s /f to your cleanup.bat.can you explain this further. as i said. I am a COMPLETE noob and have never read anything about cleanup bat.again. my appologies for ignorance.thank you for your help btw. I have run several trials on msvpc and so far so good. just gotta get rid of that install folder. Link to comment Share on other sites More sharing options...
Solid as a rock Posted November 4, 2005 Share Posted November 4, 2005 to delete your C:\Install folder, add rd /g /s /f to your cleanup.bat.can you explain this further. as i said. I am a COMPLETE noob and have never read anything about cleanup bat.again. my appologies for ignorance.thank you for your help btw. I have run several trials on msvpc and so far so good. just gotta get rid of that install folder.Have you read this?: http://unattended.msfn.org/index.htmand stop calling yourself as a noob, it wouldn't give you extra rights. Link to comment Share on other sites More sharing options...
MHz Posted November 4, 2005 Share Posted November 4, 2005 to delete your C:\Install folder, add rd /g /s /f to your cleanup.bat.can you explain this further. as i said. I am a COMPLETE noob and have never read anything about cleanup bat.again. my appologies for ignorance.thank you for your help btw. I have run several trials on msvpc and so far so good. just gotta get rid of that install folder.bat or cmd should not be any issue with an NT OS as both are run by the same interpreter but 9x OSes know only bats and the langauge that is used only to bat files without the newer NT commands. If you use the NT command replacements then you should use cmd extension, else bat is fine if 9x compatable. Link to comment Share on other sites More sharing options...
ebin25 Posted November 5, 2005 Author Share Posted November 5, 2005 thanks for all the help. I have learned a lot in the past 4 days. So far these are my only added apps to install, but i will keep learning [GuiRunOnce]command1="%systemdrive%\installs\Applications\Office2003\2003.bat"command2="%systemdrive%\installs\Applications\K-Lite Codec Pack\klcpf.bat"command3="%systemdrive%\installs\Applications\QuickTime Alternative\qtalt.bat"command4="%systemdrive%\installs\Applications\Real Alternative\realalt.bat"command5="%systemdrive%\installs\Applications\****\****.bat" 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