Jump to content

Are These Right?


Recommended Posts

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" /f

REG ADD %KEY%\105 /V 1 /D "%systemdrive%\install\Applications\Acrobat\AcroPro.msi /QR

REG ADD %KEY%\112 /VE /D "Diskeeper 8" /f

REG ADD %KEY%\112 /V 1 /D "%systemdrive%\install\Applications\DK8\DKPro.exe /s" /f

REG ADD %KEY%\125 /VE /D "Quicken Deluxe 2003" /f

REG ADD %KEY%\125 /V 1 /D "%systemdrive%\install\Applications\Quicken2003\Quicken2003.exe /s" /f

REG ADD %KEY%\165 /VE /D "BPS" /f

REG ADD %KEY%\165 /V 1 /D "%systemdrive%\install\Applications\BPS Spyware\bpssr82-FV.exe /s" /f

REG ADD %KEY%\175 /VE /D "LimeWire Pro" /f

REG ADD %KEY%\175 /V 1 /D "%systemdrive%\install\Applications\LimeWire\LimeWireWin.exe /s" /f

Mods: Please move if I am in the wrong place.

Thanks

Link to comment
Share on other sites


REG ADD %KEY%\105 /VE /D "Acrobat Pro 6.0" /f

REG ADD %KEY%\105 /V 1 /D "%systemdrive%\install\Applications\Acrobat\AcroPro.msi /QR" /f

REG ADD %KEY%\112 /VE /D "Diskeeper 8" /f

REG 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" /f

REG ADD %KEY%\165 /V 1 /D "%systemdrive%\install\Applications\BPS Spyware\bpssr82-FV.exe /s" /f

You 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

Ok, here is the whole RunOnce Command:

cmdow @ /HID

@echo off

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

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

REG ADD %KEY%\001 /VE /D "Preparing Installation..." /f

REG ADD %KEY%\001 /V 1 /D "%systemdrive%\install\prepare.cmd" /f

REG ADD %KEY%\010 /VE /D "MDAC 2.7 SP1 Hotfix" /f

REG ADD %KEY%\010 /V 1 /D "%systemdrive%\install\hotfixes\Q832483.EXE /C:\"dahotfix.exe /q /n\" /q" /f

REG ADD %KEY%\015 /VE /D "Q817787 for Windows Media Player 8" /f

REG ADD %KEY%\015 /V 1 /D "%systemdrive%\install\hotfixes\Q817787.EXE /Q:A /R:N" /f

REG ADD %KEY%\020 /VE /D "Q817778 Advanced Networking Pack" /f

REG ADD %KEY%\020 /V 1 /D "%systemdrive%\install\hotfixes\Q817778.exe /Q /N /Z" /f

REG ADD %KEY%\025 /VE /D "Q835732 Security Update" /f

REG ADD %KEY%\025 /V 1 /D "%systemdrive%\install\hotfixes\Q835732.exe /quiet /n /norestart /o" /f

REG ADD %KEY%\030 /VE /D "Q826939 SP1 Security Rollup" /f

REG ADD %KEY%\030 /V 1 /D "%systemdrive%\install\hotfixes\Q826939.exe /quiet /n /norestart /o" /f

REG ADD %KEY%\100 /VE /D "WinRAR 3.00" /f

REG ADD %KEY%\100 /V 1 /D "%systemdrive%\install\Applications\Winrar\wrar300.exe /silent" /f

REG ADD %KEY%\105 /VE /D "Acrobat Pro 6.0" /f

REG ADD %KEY%\105 /V 1 /D "%systemdrive%\install\Applications\Acrobat\AcroPro.msi /QR

REG ADD %KEY%\107 /VE /D "Office 2003 Pro" /f

REG ADD %KEY%\107 /V 1 /D "%systemdrive%\install\Applications\Office2003\Pro11.msi /QB

REG ADD %KEY%\110 /VE /D "**** NFO Viewer" /f

REG ADD %KEY%\110 /V 1 /D "%systemdrive%\install\Applications\****\****.msi /qn" /f

REG ADD %KEY%\112 /VE /D "Diskeeper 8" /f

REG ADD %KEY%\112 /V 1 /D "%systemdrive%\install\Applications\DK8\DKPro.exe

REG ADD %KEY%\115 /VE /D "Daemon Tools" /f

REG ADD %KEY%\115 /V 1 /D "%systemdrive%\install\Applications\d-tools\dtools.msi /qb REBOOT=Suppress" /f

REG ADD %KEY%\120 /VE /D "FFDShow" /f

REG ADD %KEY%\120 /V 1 /D "%systemdrive%\install\Applications\ffdshow\ffdshow.exe /S" /f

REG ADD %KEY%\125 /VE /D "Quicken Deluxe 2003" /f

REG ADD %KEY%\125 /V 1 /D "%systemdrive%\install\Applications\Quicken2003\Quicken2003.exe

REG ADD %KEY%\130 /VE /D "Flash Player" /f

REG ADD %KEY%\130 /V 1 /D "%systemdrive%\install\Applications\flash\flashplayer7installer.exe /s" /f

REG ADD %KEY%\135 /VE /D "Shockwave" /f

REG ADD %KEY%\135 /V 1 /D "%systemdrive%\install\Applications\flash\Shockwave_Installer_Full.exe /s" /f

REG ADD %KEY%\140 /VE /D "Flashget" /f

REG ADD %KEY%\140 /V 1 /D "REGEDIT /S %systemdrive%\install\Applications\flashget\register.reg" /f

REG ADD %KEY%\140 /V 2 /D "%systemdrive%\install\Applications\flashget\fgf160a.exe /s" /f

REG ADD %KEY%\145 /VE /D "hkSFV" /f

REG ADD %KEY%\145 /V 1 /D "%systemdrive%\install\Applications\hksfv\hksfvsetup.exe /S" /f

REG ADD %KEY%\145 /V 2 /D "taskkill /IM explorer.exe" /f

REG ADD %KEY%\150 /VE /D "Sun Java VM 1.5.0" /f

REG 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\"" /f

REG ADD %KEY%\155 /VE /D "Nero Burning ROM v6.3.0.3" /f

REG 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" /f

REG ADD %KEY%\160 /VE /D "OggDS" /f

REG ADD %KEY%\160 /V 1 /D "%systemdrive%\install\Applications\oggds\oggds0995.exe /S" /f

REG ADD %KEY%\165 /VE /D "BPS" /f

REG ADD %KEY%\165 /V 1 /D "%systemdrive%\install\Applications\BPS Spyware\bpssr82-FV.exe /s" /f

REG ADD %KEY%\170/VE /D "Textpad" /f

REG ADD %KEY%\170 /V 1 /D "%systemdrive%\install\Applications\textpad\textpad.msi /qb REBOOT=Suppress" /f

REG ADD %KEY%\175 /VE /D "LimeWire" /f

REG ADD %KEY%\175 /V 1 /D "%systemdrive%\install\Applications\LimeWire\LimeWireWin.exe /s" /f

REG ADD %KEY%\180 /VE /D "TweakUI 2.10 Powertoy" /f

REG ADD %KEY%\180 /V 1 /D "%systemdrive%\install\PowerToys\TweakUI.msi /qb" /f

REG ADD %KEY%\185 /VE /D "Open CMD Window Here Powertoy" /f

REG ADD %KEY%\185 /V 1 /D "%systemdrive%\install\PowerToys\cmdinstall.exe /q" /f

REG ADD %KEY%\190 /VE /D "Activating Windows XP Firewall" /f

REG ADD %KEY%\190 /V 1 /D "%systemdrive%\Windows\System32\oemfwall.exe" /f

REG ADD %KEY%\195 /VE /D "Cleaning Up and Rebooting" /f

REG ADD %KEY%\195 /V 1 /D "%systemdrive%\install\cleanup.cmd" /f

EXIT

Aaron: 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

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.0

AbcpyVersion=2.0

;***************************************************************

;OEM Installation Options

;***************************************************************

[OEM Install]

ISX_SERIALNUMBER=XXXXXXXXXXXXXXXXXXXXXXXX

USERNAME=Mark

COMPANYNAME=Home

INSTALLDIR=

ALLOW_LOCKDOWN_BROWSE=YES

ALLOW_LOCKDOWN_MEDIA=YES

ARPHELPLINK=

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

First off, I think you should read this post: http://www.msfn.org/board/index.php?showtopic=21582

Secondly, 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

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

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=100897567462354687112546
USERNAME=Bobert
COMPANYNAME=MSFN
INSTALLDIR=C:\Program Files\Adobe\Acrobat\
ALLOW_LOCKDOWN_BROWSE=YES
ALLOW_LOCKDOWN_MEDIA=YES
ARPHELPLINK=
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 Objects

That 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

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

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