Jump to content

Command line switches for nLite


Recommended Posts

Posted

Welcome everyone :) !

Is there anyone who knows, how to run nLite from a command prompt without starting a GUI?

Perhaps, it's imposible ;-), so below explanation why I'm asking and what I tried to achive.

I'm using syntax like this:

nlite /preset:"FULL_PATH_TO_MY_INI_FILE" /path:"FULL_PATH_TO_DIRECTORY_CONTAINS_I386"

but, this way, I can't run nLite in a fully unattended mode (without a need for human interaction ;-)).

I'd like to run nLite from a batch script, and don't want to do any mouse clicking.

Thanks in advance for any help :-)

BTW Sorry for my english :blushing:


Posted

It shouldn't require any mouse clicking, when does it exactly stops? And did you wait for those 3 seconds it automatically waits after it's done and proceeds?

Posted

Thanks for response :-)

It stops on first step (screenshot as attachment).

Bellow my batch script (only fragment):


REM ...

SET logFile=".\CreateUWCDs.log"

SET workDirectory="E:\UNATTENDED\system\wxpp_en_sp2\output\work"

REM ...

SET nLite="C:\PROGRAMS\USER\Utilities\Backup\nLite\nLite.exe"
SET nLitePreset="E:\UNATTENDED\system\wxpp_en_sp2\output\presets\UWXPP.EN.SP2.-.NLITE.ini"

REM ...

ECHO RUNNING %nLite% /preset:%nLitePreset% /path:%workDirectory% & ECHO.
(ECHO RUNNING %nLite% /preset:%nLitePreset% /path:%workDirectory% & ECHO.) >> %logFile%

%nLite% /preset:%nLitePreset% /path:%workDirectory%

REM ...

I tried to fix it using AutoIt, but in this case it's difficuilt

post-71410-1167849370_thumb.jpg

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