Jump to content

Recommended Posts

Posted

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


Posted

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 Off

SET PP=%SystemDrive%\Install\

SET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx

REG ADD %KEY% /V TITLE /D "Installing Programs" /f

REG ADD %KEY /VE /D "Microsoft .Net 1.1" /f
REG ADD %KEY /V 1 /D "%PP%dotnetfx.exe /qb" /f

EXIT

Thanks again for looking guys!

Jonny

Posted

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.

Posted

Ah... that would explain a lot! :blushing: thanks guys, most appreciated! I'll try a different switch and let you know how it goes, or post my next problem :thumbup

Jonny :hello:

Posted (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 :wacko:

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 by tech_boy

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...