gotnho Posted April 10, 2004 Posted April 10, 2004 i'm just starting to learning all these unattending installs. I followed the guide and come across the batch files. You guys know all about that. I dont! anyway .... when cmdline.txt is mention it refered to the file .cmd right? Like start.cmd? i'm confused about the terminology. If the cmdline.txt refered to the .cmd file then i want to ask what's the different between cmdline.txt and RunOnceEx.cmd? I looked in the example codes of the two files and see the code to install the same application but different syntax. For example: start.cmd:ECHO.ECHO Installing Flashget 1.4ECHO Please wait...start /wait %systemdrive%\install\Applications\flashget\fgf140.exe /SECHO.ECHO Registering Flashget 1.4...REGEDIT /S %systemdrive%\install\Applications\flashget\register.regRunOnceEx.cmd:REG ADD %KEY%\035 /VE /D "Flashget 1.4" /fREG ADD %KEY%\035 /V 1 /D "%systemdrive%\apps\flashget\fgf140.exe /S" /fREG ADD %KEY%\035 /V 2 /D "REGEDIT /S %systemdrive%\apps\flashget\register.reg" /fI see in some of the application switch post, people listed instructions in the "RunOnceEx.cmd" format, how do i convert it to "start.cmd"? I'm very new in all these batch and command line stuffs. Please give me some pointers. Thanks.
bonedaddy Posted April 10, 2004 Posted April 10, 2004 @ gotnoho cmdlines.txt goes in $OEM$ and containsrunonceex.cmd and useracconts.cmd just mention a couplelike thiscmdlines.txt[commands]runonceex.cmduseraccounts.cmdyou need to go to the ui cd guideall is therebonedaddy
Aaron Posted April 10, 2004 Posted April 10, 2004 One is for batch files, and the other is for RunOnceEx. The only difference is they're cosmetic, however they use the same switch in either one, i.e. fgf140.exe /S
gotnho Posted April 10, 2004 Author Posted April 10, 2004 i still dont understand? i already read the UI guide but still dont understand much. how do i convert the runonceex syntax to batch file syntax?also what's in cmdlines.txt?
Alanoll Posted April 10, 2004 Posted April 10, 2004 instead of REG ADD %KEY%\035 /V 1 /D "%systemdrive%\apps\flashget\fgf140.exe /S" /fin your batch file, it would bestart /wait systemdrive%\apps\flashget\fgf140.exe /Sthat's it. If you had indeed read the guide, you would have saw that RunOnceEX is in the advanced topics, while the majority is not.
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