Jump to content

NOOBIE SIMPLE QUESTION


ebin25

Recommended Posts

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 by ebin25
Link to comment
Share on other sites


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.cmd
c:\install\Applications\QT\qtalt.bat

the 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

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

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.htm

and stop calling yourself as a noob, it wouldn't give you extra rights.

Link to comment
Share on other sites

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

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...