Jump to content

Recommended Posts

Posted

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

ECHO Please wait...

start /wait %systemdrive%\install\Applications\flashget\fgf140.exe /S

ECHO.

ECHO Registering Flashget 1.4...

REGEDIT /S %systemdrive%\install\Applications\flashget\register.reg

RunOnceEx.cmd:

REG ADD %KEY%\035 /VE /D "Flashget 1.4" /f

REG ADD %KEY%\035 /V 1 /D "%systemdrive%\apps\flashget\fgf140.exe /S" /f

REG ADD %KEY%\035 /V 2 /D "REGEDIT /S %systemdrive%\apps\flashget\register.reg" /f

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


Posted

@ gotnoho

cmdlines.txt goes in $OEM$ and contains

runonceex.cmd and useracconts.cmd just

mention a couple

like this

cmdlines.txt

[commands]

runonceex.cmd

useraccounts.cmd

you need to go to the ui cd guide

all is there

bonedaddy

Posted

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?

Posted

instead of

REG ADD %KEY%\035 /V 1 /D "%systemdrive%\apps\flashget\fgf140.exe /S" /f

in your batch file, it would be

start /wait systemdrive%\apps\flashget\fgf140.exe /S

that'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.

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