Dirago Posted July 28, 2004 Share Posted July 28, 2004 I will admit that I am new to this and I have read (and downloaded) the tutorials. I am able to get alot (around 24 apps) to install unattended but, I am having problems with these five. I am using the RunOnceEX to install all these but, like I said the following I am having trouble with. Can anyone tell me what I have done wrong?REG ADD %KEY%\105 /VE /D "Acrobat Pro 6.0" /fREG ADD %KEY%\105 /V 1 /D "%systemdrive%\install\Applications\Acrobat\AcroPro.msi /QR REG ADD %KEY%\112 /VE /D "Diskeeper 8" /fREG ADD %KEY%\112 /V 1 /D "%systemdrive%\install\Applications\DK8\DKPro.exe /s" /fREG ADD %KEY%\125 /VE /D "Quicken Deluxe 2003" /fREG ADD %KEY%\125 /V 1 /D "%systemdrive%\install\Applications\Quicken2003\Quicken2003.exe /s" /fREG ADD %KEY%\165 /VE /D "BPS" /fREG ADD %KEY%\165 /V 1 /D "%systemdrive%\install\Applications\BPS Spyware\bpssr82-FV.exe /s" /fREG ADD %KEY%\175 /VE /D "LimeWire Pro" /fREG ADD %KEY%\175 /V 1 /D "%systemdrive%\install\Applications\LimeWire\LimeWireWin.exe /s" /fMods: Please move if I am in the wrong place.Thanks Link to comment Share on other sites More sharing options...
RichTJ99 Posted July 28, 2004 Share Posted July 28, 2004 Can you post your whole runonceex.cmd file? I want to see the other apps you installed & the switches. Link to comment Share on other sites More sharing options...
Aaron Posted July 29, 2004 Share Posted July 29, 2004 REG ADD %KEY%\105 /VE /D "Acrobat Pro 6.0" /fREG ADD %KEY%\105 /V 1 /D "%systemdrive%\install\Applications\Acrobat\AcroPro.msi /QR" /fREG ADD %KEY%\112 /VE /D "Diskeeper 8" /fREG ADD %KEY%\112 /V 1 /D "%systemdrive%\install\Applications\DK8\DKPro.exe /s" /f (bad switch? Its /s /v/qn on mine.)REG ADD %KEY%\165 /VE /D "BPS" /fREG ADD %KEY%\165 /V 1 /D "%systemdrive%\install\Applications\BPS Spyware\bpssr82-FV.exe /s" /fYou should proof-read it. As for the rest, they could be wrong application switches, did you test them before placing them into RunOnceEx code? Link to comment Share on other sites More sharing options...
Dirago Posted July 29, 2004 Author Share Posted July 29, 2004 Ok, here is the whole RunOnce Command:cmdow @ /HID@echo offSET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceExREG ADD %KEY% /V TITLE /D "Installing Applications" /fREG ADD %KEY%\001 /VE /D "Preparing Installation..." /fREG ADD %KEY%\001 /V 1 /D "%systemdrive%\install\prepare.cmd" /fREG ADD %KEY%\010 /VE /D "MDAC 2.7 SP1 Hotfix" /fREG ADD %KEY%\010 /V 1 /D "%systemdrive%\install\hotfixes\Q832483.EXE /C:\"dahotfix.exe /q /n\" /q" /fREG ADD %KEY%\015 /VE /D "Q817787 for Windows Media Player 8" /fREG ADD %KEY%\015 /V 1 /D "%systemdrive%\install\hotfixes\Q817787.EXE /Q:A /R:N" /fREG ADD %KEY%\020 /VE /D "Q817778 Advanced Networking Pack" /fREG ADD %KEY%\020 /V 1 /D "%systemdrive%\install\hotfixes\Q817778.exe /Q /N /Z" /fREG ADD %KEY%\025 /VE /D "Q835732 Security Update" /fREG ADD %KEY%\025 /V 1 /D "%systemdrive%\install\hotfixes\Q835732.exe /quiet /n /norestart /o" /fREG ADD %KEY%\030 /VE /D "Q826939 SP1 Security Rollup" /fREG ADD %KEY%\030 /V 1 /D "%systemdrive%\install\hotfixes\Q826939.exe /quiet /n /norestart /o" /fREG ADD %KEY%\100 /VE /D "WinRAR 3.00" /fREG ADD %KEY%\100 /V 1 /D "%systemdrive%\install\Applications\Winrar\wrar300.exe /silent" /fREG ADD %KEY%\105 /VE /D "Acrobat Pro 6.0" /fREG ADD %KEY%\105 /V 1 /D "%systemdrive%\install\Applications\Acrobat\AcroPro.msi /QR REG ADD %KEY%\107 /VE /D "Office 2003 Pro" /fREG ADD %KEY%\107 /V 1 /D "%systemdrive%\install\Applications\Office2003\Pro11.msi /QBREG ADD %KEY%\110 /VE /D "**** NFO Viewer" /fREG ADD %KEY%\110 /V 1 /D "%systemdrive%\install\Applications\****\****.msi /qn" /fREG ADD %KEY%\112 /VE /D "Diskeeper 8" /fREG ADD %KEY%\112 /V 1 /D "%systemdrive%\install\Applications\DK8\DKPro.exe REG ADD %KEY%\115 /VE /D "Daemon Tools" /fREG ADD %KEY%\115 /V 1 /D "%systemdrive%\install\Applications\d-tools\dtools.msi /qb REBOOT=Suppress" /fREG ADD %KEY%\120 /VE /D "FFDShow" /fREG ADD %KEY%\120 /V 1 /D "%systemdrive%\install\Applications\ffdshow\ffdshow.exe /S" /fREG ADD %KEY%\125 /VE /D "Quicken Deluxe 2003" /fREG ADD %KEY%\125 /V 1 /D "%systemdrive%\install\Applications\Quicken2003\Quicken2003.exeREG ADD %KEY%\130 /VE /D "Flash Player" /fREG ADD %KEY%\130 /V 1 /D "%systemdrive%\install\Applications\flash\flashplayer7installer.exe /s" /fREG ADD %KEY%\135 /VE /D "Shockwave" /fREG ADD %KEY%\135 /V 1 /D "%systemdrive%\install\Applications\flash\Shockwave_Installer_Full.exe /s" /fREG ADD %KEY%\140 /VE /D "Flashget" /fREG ADD %KEY%\140 /V 1 /D "REGEDIT /S %systemdrive%\install\Applications\flashget\register.reg" /fREG ADD %KEY%\140 /V 2 /D "%systemdrive%\install\Applications\flashget\fgf160a.exe /s" /fREG ADD %KEY%\145 /VE /D "hkSFV" /fREG ADD %KEY%\145 /V 1 /D "%systemdrive%\install\Applications\hksfv\hksfvsetup.exe /S" /fREG ADD %KEY%\145 /V 2 /D "taskkill /IM explorer.exe" /fREG ADD %KEY%\150 /VE /D "Sun Java VM 1.5.0" /fREG ADD %KEY%\150 /V 1 /D "%systemdrive%\install\Applications\Java\j2re-1_5_0-beta-windows-i586.exe /s /v\"/qn ADDLOCAL=jrecore IEXPLORER=1 MOZILLA=1\"" /fREG ADD %KEY%\155 /VE /D "Nero Burning ROM v6.3.0.3" /fREG ADD %KEY%\155 /V 1 /D "%systemdrive%\install\Applications\Nero\nero6303.exe /silent /noreboot /no_ui /sn=1A23-0033-6030-1243-5611-1943 /write_sn" /fREG ADD %KEY%\160 /VE /D "OggDS" /fREG ADD %KEY%\160 /V 1 /D "%systemdrive%\install\Applications\oggds\oggds0995.exe /S" /fREG ADD %KEY%\165 /VE /D "BPS" /fREG ADD %KEY%\165 /V 1 /D "%systemdrive%\install\Applications\BPS Spyware\bpssr82-FV.exe /s" /fREG ADD %KEY%\170/VE /D "Textpad" /fREG ADD %KEY%\170 /V 1 /D "%systemdrive%\install\Applications\textpad\textpad.msi /qb REBOOT=Suppress" /fREG ADD %KEY%\175 /VE /D "LimeWire" /fREG ADD %KEY%\175 /V 1 /D "%systemdrive%\install\Applications\LimeWire\LimeWireWin.exe /s" /fREG ADD %KEY%\180 /VE /D "TweakUI 2.10 Powertoy" /fREG ADD %KEY%\180 /V 1 /D "%systemdrive%\install\PowerToys\TweakUI.msi /qb" /fREG ADD %KEY%\185 /VE /D "Open CMD Window Here Powertoy" /fREG ADD %KEY%\185 /V 1 /D "%systemdrive%\install\PowerToys\cmdinstall.exe /q" /fREG ADD %KEY%\190 /VE /D "Activating Windows XP Firewall" /fREG ADD %KEY%\190 /V 1 /D "%systemdrive%\Windows\System32\oemfwall.exe" /fREG ADD %KEY%\195 /VE /D "Cleaning Up and Rebooting" /fREG ADD %KEY%\195 /V 1 /D "%systemdrive%\install\cleanup.cmd" /fEXITAaron: I did test them (sort of) what I am getting is what is coded in red is prompting me for action. What is coded in Blue is not installing at all, the window with the exe pops up but, dosen't install. Link to comment Share on other sites More sharing options...
Dirago Posted July 29, 2004 Author Share Posted July 29, 2004 I forgot that I was able to get Adobe Acrobat Pro 6.0 to install (silently) but, when I start up adobe I get: "No Valid Acrobat Serial Number Found. Acrobat will now quit." (I removed the Serial Number for security purposes)Here is the Abcpy.ini file:;***************************************************************;Adobe Installer External Configuration File: Abcpy.ini;***************************************************************;***************************************************************;Main Section;The (Product) key is a required key;***************************************************************[MAIN]Product=Adobe® Acrobat® 6.0AbcpyVersion=2.0;***************************************************************;OEM Installation Options;***************************************************************[OEM Install]ISX_SERIALNUMBER=XXXXXXXXXXXXXXXXXXXXXXXXUSERNAME=MarkCOMPANYNAME=HomeINSTALLDIR=ALLOW_LOCKDOWN_BROWSE=YESALLOW_LOCKDOWN_MEDIA=YESARPHELPLINK=ARPHELPTELEPHONE=ARPNOMODIFY=;ARPNOMODIFY=YES disables the "Change" button in Add/Remove Programs;***************************************************************;Launches - Set for any other applications you wish to launch; 1. Define 1 or more custom section names -> MyLaunch; 2. Enable your custom section(s) -> MyLaunch=YES; 3. Set up your custom section:; [MyLaunch]; TYPE= (Can be EXE or OTHER - default is OTHER); PROGRAM= (can be null type is EXE and if included in commandline); COMMANDLINE= (add program arguments here); CHANGEDIR= (add working dir here); WAIT=YES (Can be YES or NO if type is EXE); PLATFORM= (Any delimited combination of the following:; WIN_XP; WIN_2K; WIN_ME; WIN_98; WIN_NT4; (delimiters: any printable char) ;***************************************************************;--Launch Objects[Launches]MyLaunch1=NO[MyLaunch1]TYPE=PROGRAM=COMMANDLINE=CHANGEDIR=WAIT=PLATFORM= Link to comment Share on other sites More sharing options...
fillalph Posted July 29, 2004 Share Posted July 29, 2004 First off, I think you should read this post: http://www.msfn.org/board/index.php?showtopic=21582Secondly, you can try your image in an emulator like VirtualPC or VMWare and test your cd out. Have a pen and paper and make any notes on typos like links to files being incorrect or programs not running unattendly. Then go back to your source files (always keep the folder where your source is compiled from) and make any modifications and retest. That my friend, is the fool proof way.]Bonkers[ Link to comment Share on other sites More sharing options...
Dirago Posted July 29, 2004 Author Share Posted July 29, 2004 First off my appologizes on the post.Secondly, I am using VirturalPC to test my image hence my first post with the code for 5 apps that I am having trouble with. I am trying Aaron suggestions now and hopefuly that works. The trouble I am having is as follows:Adobe Acrobat Pro, loads silently with no problems but, when I start the app after install I get this error: "No Valid Acrobat Serial Number Found. Acrobat will now quit" I do have the correct serial number in so I am guessing that there is something wrong with the Abcpy.ini file that's why the post on that.Diskeeper Pro 8 Loads but, it prompts for action ie: click next to install etc, just as if I were installing it normally from windows.Quicken Deluxe 2003 does the same thing as Diskeeper Pro 8.BPS SpyWare and LimeWire Pro, when Windows gets to them to install them it just opens the folder up with the exe in it and that's it. So it dosen't install them. I am guessing I have the wrong switch for them also.Again my appologies for not following the rules, I didn't mean to and yes I should have read them...... Link to comment Share on other sites More sharing options...
fillalph Posted July 29, 2004 Share Posted July 29, 2004 For Adobe Acrobat Pro your serial shouldn't have any dashes. It should be in the following form: 123456790.... (ie. no spaces, no dashes).[OEM Install]ISX_SERIALNUMBER=100897567462354687112546USERNAME=BobertCOMPANYNAME=MSFNINSTALLDIR=C:\Program Files\Adobe\Acrobat\ALLOW_LOCKDOWN_BROWSE=YESALLOW_LOCKDOWN_MEDIA=YESARPHELPLINK=ARPHELPTELEPHONE=ARPNOMODIFY=NO;ARPNOMODIFY=YES disables the "Change" button in Add/Remove Programs;***************************************************************;Launches - Set for any other applications you wish to launch; 1. Define 1 or more custom section names -> MyLaunch; 2. Enable your custom section(s) -> MyLaunch=YES; 3. Set up your custom section:; [MyLaunch]; TYPE=EXE (Can be EXE or OTHER - default is OTHER); PROGRAM=C:\My.exe (can be null type is EXE and if included in commandline); COMMANDLINE= (add program arguments here); CHANGEDIR= (add working dir here); WAIT=YES (Can be YES or NO if type is EXE); PLATFORM= (Any delimited combination of the following:; WIN_XP; WIN_2K; WIN_ME; WIN_98; WIN_NT4; (delimiters: any printable char) ;***************************************************************;--Launch ObjectsThat is what mine looks like.For diskeeper (and Quicken I imagine), my guess is an incorrect switch or maybe just the syntax. Here is what mine looks like:setup.exe /S /v"/qn"Good luck]Bonkers[ Link to comment Share on other sites More sharing options...
Dirago Posted July 29, 2004 Author Share Posted July 29, 2004 Thanks Bonkers for the help. I am not putting any dashes in my serial but, from what you have posted (abcpy.ini) I see a change I need to make. I will give the switches you have suggested a try.Thanks again. 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