kemicalx Posted May 30, 2004 Share Posted May 30, 2004 G'day everyone,So I'm basically finished my unattended installation and you guys have been a great help. Only have a few small problem left to debug, and here is one of them.cmdow @ /HID@echo offSET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceExREG ADD %KEY% /V TITLE /D "kemicalXP Automatic Program Installaion" /fREG ADD %KEY%\001 /VE /D "Adobe Reader 6" /fREG ADD %KEY%\001 /V 1 /D "%systemdrive%\install\Applications\AdobeReader6\AdbeRdr60_enu_full.exe -p\"-s /v\"/qn\"\"\" /fREG ADD %KEY%\002 /VE /D "Microsoft JavaVM" /fREG ADD %KEY%\002 /V 1 /D "%systemdrive%\install\JavaVM\MSJavx86_3809full.exe /Q:A /R:N" /fREG ADD %KEY%\002 /V 2 /D "%systemdrive%\install\JavaVM\MSJavx86_3810update.exe /Q:A /R:N" /fREG ADD %KEY%\003 /VE /D "Lavasoft Ad-Aware 6" /fREG ADD %KEY%\003 /V 1 /D "%systemdrive%\install\Applications\AdAware\aaw6.exe /s" /fREG ADD %KEY%\004 /VE /D "Kazza Lite 2.43" /fREG ADD %KEY%\004 /V 1 /D "%systemdrive%\install\Applications\KazaaLite\klitekpp243e.exe /silent" /fREG ADD %KEY%\005 /VE /D "MSN Messenger" /fREG ADD %KEY%\005 /V 1 /D "%systemdrive%\install\MSN\MsnMsgs.msi /QB" /fREG ADD %KEY%\006 /VE /D "WinRAR 3.00" /f REG ADD %KEY%\006 /V 1 /D "%systemdrive%\install\Applications\WinRAR\wrar300.exe /s" /fREG ADD %KEY%\007 /VE /D "Windows Media Player" /fREG ADD %KEY%\007 /V 1 /D "%systemdrive%\install\hotfixes\Q817787.EXE /Q:A /R:N" /fREG ADD %KEY%\008 /VE /D "MDAC HotfiX" /fREG ADD %KEY%\008 /V 1 /D "%systemdrive%\install\hotfixes\Q832483.EXE /C:"dahotfix.exe /q /n" /q" /fREG ADD %KEY%\009 /VE /D "Advanced Networking Pack" /fREG ADD %KEY%\009 /V 1 /D "%systemdrive%\install\hotfixes\Q817778.exe /Q /O /N /Z" /fthats my runonceex.cmd and i get an error at the start concerning the Adobe Reader 6 switches, Im pretty sure it will have something to do with the \"s i have put in because after reading the guide on dealing with "s in RunOnceEx i had no real idea on what i was really doing.Any help would be greatly appreciated, Ashlin Link to comment Share on other sites More sharing options...
kemicalx Posted May 30, 2004 Author Share Posted May 30, 2004 Sorry just realised i put this in the wrong forum, could someone please move it for me. Link to comment Share on other sites More sharing options...
jrzycrim Posted May 30, 2004 Share Posted May 30, 2004 Check this thread:http://www.msfn.org/board/index.php?showto...=0entry130996 Link to comment Share on other sites More sharing options...
kemicalx Posted May 30, 2004 Author Share Posted May 30, 2004 SET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceExREG ADD %KEY% /V TITLE /D "kemicalXP Automatic Program Installaion" /fREG ADD %KEY%\001 /VE /D "Adobe Reader 6" /fREG ADD %KEY%\001 /V 1 /D "%systemdrive%\install\Applications\AdobeReader6\AdbeRdr60_enu_full.exe -p -s /v\ /qn\" /fthis is what i've tried and it didn't work and produced the same error "Bad Command Line" Link to comment Share on other sites More sharing options...
MCT Posted May 30, 2004 Share Posted May 30, 2004 click the link in my signature, where the red font is pointing 2, install adobe reader with that, choose silent install and no reboots, and just run the .exe no fance switches 2 play with Link to comment Share on other sites More sharing options...
kemicalx Posted May 30, 2004 Author Share Posted May 30, 2004 i downloaded AutoIT and WinInstall.. but after having a bit of a look at em couldn't figure out how exactly to use them. don't supose you could give give us a run down on how to use em. Link to comment Share on other sites More sharing options...
kemicalx Posted May 30, 2004 Author Share Posted May 30, 2004 cmdow @ /HID@echo offSET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceExREG ADD %KEY% /V TITLE /D "kemicalXP Automatic Program Installaion" /fREG ADD %KEY%\001 /VE /D "Adobe Reader 6" /fREG ADD %KEY%\001 /V 1 /D "%systemdrive%\install\Applications\AdobeReader6\AdbeRdr60_enu_full.exe /s /v\"/qn REBOOT=Suppress\" " /fi've also used this set of switches and it still produces the "bad command line" error. 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