May 30, 200422 yr 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
May 30, 200422 yr Author Sorry just realised i put this in the wrong forum, could someone please move it for me.
May 30, 200422 yr Author 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"
May 30, 200422 yr 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
May 30, 200422 yr Author 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.
May 30, 200422 yr Author 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.
Create an account or sign in to comment