tech_boy Posted May 10, 2007 Posted May 10, 2007 good evening all, and a very happy thursday to you!Slight problem, when my unattended installation finishes, and i log on, the computer starts RunOnceEx, it seems to install .netframework 1.1, but then it gives the error message "command line option syntax error" and so does not work!Does anyone have a clue as to what can be wrong with this!? most annoying!cheers, jonny
grzesiek Posted May 10, 2007 Posted May 10, 2007 It'll be good if you post here content of your RunOnceEx file.
tech_boy Posted May 11, 2007 Author Posted May 11, 2007 Sorry guys, major oversight on my part, heres my runonceex file, its extremely small as i'm just trying to get it to work for one application before going the whole hog!@Echo OffSET PP=%SystemDrive%\Install\SET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceExREG ADD %KEY% /V TITLE /D "Installing Programs" /fREG ADD %KEY /VE /D "Microsoft .Net 1.1" /fREG ADD %KEY /V 1 /D "%PP%dotnetfx.exe /qb" /fEXITThanks again for looking guys!Jonny
Kelsenellenelvian Posted May 11, 2007 Posted May 11, 2007 /qb is a switch for .msi files! .net framework uses a whole set of different switches.The error is simply because you are using the wrong switch(es).
grzesiek Posted May 11, 2007 Posted May 11, 2007 Try with /Q switch. Also you can try extract installation file and run installation from .msi file with /q switch if you want to have installation without progress bar.
tech_boy Posted May 11, 2007 Author Posted May 11, 2007 Ah... that would explain a lot! thanks guys, most appreciated! I'll try a different switch and let you know how it goes, or post my next problem Jonny
tech_boy Posted May 11, 2007 Author Posted May 11, 2007 (edited) hello again!I've changed the switch in the config.txt to /s and changed the switch in the RunOnceEx.cmd to /s aswell, and still i'm getting the same error message! Is this only a switch problem or is there something else that im doing wrong?Jonny Sorry... as it turns out, when i run my RunOnceEx file on my machine, it doesnt write to the registry either! thought that might be of use to someone!thanks again Edited May 11, 2007 by tech_boy
Kelsenellenelvian Posted May 11, 2007 Posted May 11, 2007 the .net framwork uses an odd set of switches try searching the application installs section...dotnetfx.exe /q:a /c:"install.exe /qb"
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now