tech_boy Posted May 10, 2007 Share 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 Link to comment Share on other sites More sharing options...
grzesiek Posted May 10, 2007 Share Posted May 10, 2007 It'll be good if you post here content of your RunOnceEx file. Link to comment Share on other sites More sharing options...
tech_boy Posted May 11, 2007 Author Share 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 Link to comment Share on other sites More sharing options...
Kelsenellenelvian Posted May 11, 2007 Share 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). Link to comment Share on other sites More sharing options...
grzesiek Posted May 11, 2007 Share 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. Link to comment Share on other sites More sharing options...
tech_boy Posted May 11, 2007 Author Share 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 Link to comment Share on other sites More sharing options...
tech_boy Posted May 11, 2007 Author Share 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 Link to comment Share on other sites More sharing options...
Kelsenellenelvian Posted May 11, 2007 Share 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" Link to comment Share on other sites More sharing options...
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