NaDer_GenKO Posted August 25, 2007 Posted August 25, 2007 (edited) Hi all I have inserted some command to the cmdliens.txt file that was made by nLite to import some registry values.How Can i test the cmdliens.txt file ? to be sure it will work.and this my cmdlines.txt file. if any one see any Mistake Please tell me[Commands]"rundll32 advpack.dll,LaunchINFSection nLite.inf,U""REGEDT32.EXE /S ..\Unattend\HKCU.reg""REGEDT32.EXE /S ..\Unattend\LogonBoxBackground.reg""RunDll32.exe setupapi,InstallHinfSection DefaultInstall 132 .\$$\Cursors\Aero cursors\Install.inf" /fThanks in advance Edited August 27, 2007 by NaDer_GenKO
NaDer_GenKO Posted August 27, 2007 Author Posted August 27, 2007 Hey I Waiting for Help pleassssssssss and today i have anthor Question i want a silent install to internet download manager 5.11 ?please Help me
Henkes Posted August 28, 2007 Posted August 28, 2007 Well you can test it by:Copy the file.rename the copy to cmdlines.cmdremove the [Commands] sectionSave the file.open a command windowbrowse to the folder you saved the cmdand then type cmdlines.cmdif it doesn't return any errors, the syntax in the cmdlines.txt is correct.Hope this helps,-Henk
NaDer_GenKO Posted August 28, 2007 Author Posted August 28, 2007 @Henkes : Thank you very much Ok i also remove the quotations(" ") from all the lines. and the Switch /f form the last lineand every thing working Ok. else the frist line that is was Written by nLite give me error that is "Could not locate the inf file" and in the last line a sow the copying files progress. I dont want to see it ( what can i do ? )there any ideas for this
Henkes Posted August 28, 2007 Posted August 28, 2007 The first line looks for file called NLite.inf which probably isnt in the same folder as your .cmd file. Therefore it cannot find it.if you want to hide the filecopy, but this at the top of your .cmdI don't know if this is gonna work if you run it from commandlines.txt seeing as that's being called at some point in the installation processBut just give it a try @echo off-Henk
NaDer_GenKO Posted August 28, 2007 Author Posted August 28, 2007 The first line looks for file called NLite.inf which probably isnt in the same folder as your .cmd file. Therefore it cannot find it.if you want to hide the filecopy, but this at the top of your .cmdI don't know if this is gonna work if you run it from commandlines.txt seeing as that's being called at some point in the installation processBut just give it a try @echo off-Henk Not work at the cmdlines.cmd i still see the copying files progress (do you think i try it in cmdlines.txt or no )i made my win with nLite and the first line written by the program. and i let him as it. idont know it working or no !! i think its not very important for me.what i want now that is hide the copying files progress at the installation of my win
Henkes Posted August 28, 2007 Posted August 28, 2007 Well the easiest thing you can do, is pipe the output of the last command (that is responsible for the filecopy) to a temporary fileyou do this by adding >tempfile.txt add the end of the command and then delete the tempfile.so for example[codeRunDll32.exe setupapi,InstallHinfSection DefaultInstall 132 .\$$\Cursors\Aero cursors\Install.inf >tempfile.txtdel tempfile.txtThat will route the output to the file tmpfile.txt instead of to the screen and then delete the tmpfile.txtThis what you're looking for?-Henk
NaDer_GenKO Posted August 28, 2007 Author Posted August 28, 2007 Not work also.Just create the tempfile.txt and then del it.i think there is should be a switch or somthing else maybe recover this problem
Henkes Posted August 28, 2007 Posted August 28, 2007 Can't help you then, i'm sorry.not used to RunDLL. I always use .cmd or .bat scripts
NaDer_GenKO Posted August 28, 2007 Author Posted August 28, 2007 Thank you very much for your Great hepl that's Enough you lead me to test my file and Now There is any one left has an idea
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now