Jump to content
Strawberry Orange Banana Lime Leaf Slate Sky Blueberry Grape Watermelon Chocolate Marble
Strawberry Orange Banana Lime Leaf Slate Sky Blueberry Grape Watermelon Chocolate Marble

MSFN is made available via donations, subscriptions and advertising revenue. The use of ad-blocking software hurts the site. Please disable ad-blocking software or set an exception for MSFN. Alternatively, register and become a site sponsor/subscriber and ads will be disabled automatically. 



Sign in to follow this  
hatsumi

Switches needed for 2 progs

Recommended Posts

Have tried Azurues using this entry in runonceex

REG ADD %KEY%\036 /VE /D "Azureus" /f

REG ADD %KEY%\036 /V 1 /D "%CDROM%\install\Azureus\azureus.exe /s" /f

REG ADD %KEY%\036 /V 2 /D "xcopy /Y /e /k /i /c %CDROM%\install\Azureus\plugins\*.* %systemroot%\Program Files\Azureus\plugins\" /f

Is there a correct syntax for copying files in runonceex? xcopy doesn't work as written here, but then I did not have my hopes up :)

And easyrecover using

REG ADD %KEY%\038 /VE /D "Easyrecover"

REG ADD %KEY%\038 /V 1 /D "%CDROM%\install\Easyrecover\Setup.exe -s -f1\"%CDROM%\install\Easyrecover\setup.iss" -f2\"%systemdrive%\easyrec.log" /f

Paths are all correct, easyrecover seems to blatently ignore the .iss file.

Share this post


Link to post
Share on other sites

xcopy /Y /e /k /i /c %CDROM%\install\Azureus\plugins\*.* %systemroot%\Program Files\Azureus\plugins\
first of all are you sure the %cdrom% variable is being set correctly?

you could try writing a .cmd file with that above line in and see if that works

also you need to put quotes round your paths as 'Program Files' won't work correctly, it would look like this:

xcopy /Y /e /k /i /c "%CDROM%\install\Azureus\plugins\*.*" "%systemroot%\Program Files\Azureus\plugins\"

that's a start for you anyway... hope it helps

Share this post


Link to post
Share on other sites

the %CDROM% variable is ok, these are the only 2 progs I have trouble with.

Never thought about quotes round Program Files :)

My Runonceex for posterity :D

cmdow @ /HID

@echo off

IF EXIST D:\CD.txt set CDROM=D:

IF EXIST E:\CD.txt set CDROM=E:

IF EXIST F:\CD.txt set CDROM=F:

IF EXIST G:\CD.txt set CDROM=G:

IF EXIST H:\CD.txt set CDROM=H:

IF EXIST I:\CD.txt set CDROM=I:

IF EXIST J:\CD.txt set CDROM=J:

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 "%CDROM%\install\prepare.cmd" /f

REG ADD %KEY%\005 /VE /D "Adobe Reader 6" /f

REG ADD %KEY%\005 /V 1 /D "%CDROM%\install\Applications\AdobeReader6\AR6.msi /qb" /f

REG ADD %KEY%\010 /VE /D "Alcohol 120" /f

REG ADD %KEY%\010 /V 1 /D "%CDROM%\install\alcohol\setup.exe /qb Reboot=Supress" /f

REG ADD %KEY%\010 /V 2 /D "REGEDIT /S %CDROM%\install\alcohol\register.reg" /f

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

REG ADD %KEY%\011 /V 1 /D "%CDROM%\install\Diskkeeper\setup.exe /s /v/qb" /f

REG ADD %KEY%\025 /VE /D "Microsoft .NET" /f

REG ADD %KEY%\025 /V 1 /D "%CDROM%\install\dotnet\netfx.msi /qb" /f

REG ADD %KEY%\030 /VE /D "WinRAR" /f

REG ADD %KEY%\030 /V 1 /D "%CDROM%\install\Applications\winrar\winrar.exe /s" /f

REG ADD %KEY%\035 /VE /D "Java" /f

REG ADD %KEY%\035 /V 1 /D "%CDROM%\install\Applications\java\java.exe /s /v/qb" /f

REG ADD %KEY%\036 /VE /D "Azureus" /f

REG ADD %KEY%\036 /V 1 /D "%CDROM%\install\Azureus\azureus.exe /s" /f

REG ADD %KEY%\036 /V 2 /D "xcopy /Y /e /k /i /c %CDROM%\install\Azureus\plugins\*.* %systemroot%\Program Files\Azureus\plugins\" /f

REG ADD %KEY%\037 /VE /D "PowerDVD 5"

REG ADD %KEY%\037 /V 1 /D "%CDROM%\install\Applications\PowerDVD\Setup.exe -s -f1\"%CDROM%\Install\Applications\PowerDVD\setup.iss" -f2\"%systemdrive%\powerdvd.log"" /f

REG ADD %KEY%\038 /VE /D "Easyrecover"

REG ADD %KEY%\038 /V 1 /D "%CDROM%\install\Easyrecover\setup.exe -s -f1\"%CDROM%\install\Easyrecover\setup.iss" -f2\"%systemdrive%\easyrec.log" /f

REG ADD %KEY%\040 /VE /D "MSN Messenger 6.1" /f

REG ADD %KEY%\040 /V 1 /D "%CDROM%\install\MSN\MsnMsgs.msi /qb" /f

REG ADD %KEY%\041 /VE /D "Google Toolbar" /f

REG ADD %KEY%\041 /V 1 /D "%CDROM%\install\Google\Google.exe /q /d" /f

REG ADD %KEY%\042 /VE /D "SpyBot Search And Destroy 1.3" /f

REG ADD %KEY%\042 /V 1 /D "%cdrom%\install\Applications\Spybot\spybotsd13.exe /silent /nocancel /taskbarhide /autoclose" /f

REG ADD %KEY%\045 /VE /D "Nero Burning ROM 6.3.0.0" /f

REG ADD %KEY%\045 /V 1 /D "REGEDIT /S %CDROM%\install\Applications\nero\register.reg" /f

REG ADD %KEY%\045 /V 2 /D "%CDROM%\install\Applications\Nero\Nero6300.exe /silent /noreboot /noui /nolicence" /f

REG ADD %KEY%\046 /VE /D "Zonealarm" /f

REG ADD %KEY%\046 /V 1 /D "%CDROM%\install\Applications\Zonealarm\zonealarm.exe /s /noreboot" /f

REG ADD %KEY%\047 /VE /D "Office XP Professional"

REG ADD %KEY%\047 /V 1 /D "%CDROM%\install\Applications\OfficeXP\setup.exe TRANSFORMS=Unattended.MST /qb-" /f

REG ADD %KEY%\095 /VE /D "ATI CATALYST" /f

REG ADD %KEY%\095 /V 1 /D "%CDROM%\\install\ATI\Setup.exe /s /sms /f2\"%systemdrive%\ATI.txt\"" /f

REG ADD %KEY%\096 /VE /D "Importing Registry Tweaks" /f

REG ADD %KEY%\096 /V 1 /D "REGEDIT /S %CDROM%\install\regtweaks.reg" /f

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

REG ADD %KEY%\097 /V 1 /D "%CDROM%\install\cleanup.cmd" /f

EXIT

I have just added the catalyst entry, dunno how its gonna go yet. have added it at the end so it installs before the reboot ordered in cleanup.cmd.

just realised I missed the double quotes at the end of easyrecover, might be why it didn't work :rolleyes:

Share this post


Link to post
Share on other sites
I tried the /S on latest Azureus 2.3.0.2, but it didnt work.
It pops up the "I AGREE" window.

Share this post


Link to post
Share on other sites
Try this Au3 script, it works perfectly for me.

also, when using "program files", use %ProgramFiles% instead, it's more proper and better understood by the computer.

So it would be like this

[code]xcopy /Y /e /k /i /c %CDROM%\install\Azureus\plugins\*.* "%ProgramFiles%\Azureus\plugins\" /f[/code]

That should work fine.

Hope this helps.

Regards,

Marthax

Share this post


Link to post
Share on other sites
is anyone aware of a switch to select the language for azureus?
something like /Sellang=TR for skype...

cheers

Share this post


Link to post
Share on other sites
Here is my inf file that I use to install

[code]HKLM,"%RunOnceEx%\0015",,,"Azureus 2.3.0.4"
HKLM,"%RunOnceEx%\0015",1,,"%01%\installs\common\azureus\setup.exe /S"
HKLM,"%RunOnceEx%\0015",2,,"%01%\installs\common\azureus\azureus.cmd"[/code]

and here is azureus.cmd:
[code]cmdow @ /HID
@ECHO OFF

FOR %%i IN (D E F G H I J K L M N O P Q R S T U V W X Y Z) DO IF EXIST %%i:\spnotes.htm SET CDROM=%%i:

XCOPY /E /Q /Y "%CDROM%\$OEM$\Installs\common\azureus\safepeer\*" "%Programfiles%\Azureus\Plugins\safepeer\"

EXIT[/code]

I haven't try the cmd file yet (just wrote it after I saw you copied over plugins).

]Bonkers[

Share this post


Link to post
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

Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×