Jump to content

Real and Quicktime Alternative (setup.exe -MakeUnattended)


Recommended Posts

Posted

Hi ^^

Real and Quicktime alternative could be installed with ini file.

1. launch real or quicktime alternative setup with this switch: -MakeUnattended

eg. setup.exe -MakeUnattended

2. Follow installer and choose your option, every choice will be put in a single ini file, nothing is installed... this is just for creating ini file used by unattended install.

ini file is: qtalt.ini or realalt.ini depending of chosen product launch with -MakeUnattended

For installing: realalt144.exe" /silent /LoadInf=".\realalt.ini"

(this is an example)

Ok all of this works fine in cmd prompt but do nothing in RunOnceEx.cmd !!!!! Sometime depending on wich cmd i've tried soft has been installed silent but not with my options present in my ini file.

In fact, i've tried many command line in RunOnceEx.cmd and none of them works like it should (pffff sorry french translation inside lol)

--> my dir structure:

\ (root)

\SETUP\SOFT\Quickalt\quickalt163.exe

\SETUP\SOFT\Quickalt\qtalt.ini

\SETUP\SOFT\Realalt\realalt144.exe

\SETUP\SOFT\Realalt\realalt.ini

\SETUP\XPUA\$OEM$\$1\install\RunOnceEx.cmd

qtalt.ini

[setup]Lang=en

Group=Codec\QuickTime Alternative

NoIcons=0

Components=player\mpclassic,qt\codec,qt\codec\browser,qt\codec\plugins,qt\directshow

realalt.ini

[setup]Lang=en

Group=Codec\Real Alternative

NoIcons=0

Components=player\mpclassic,real\codec,real\codec\browser,real\directshow

RunOnceEx.cmd

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:\CD.txt SET CDROM=%%i:

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

REG ADD %KEY% /V TITLE /D "Configuration de Windows" /f

.....blabla

REG ADD %KEY%\025 /VE /D "Codec Video" /f

REG ADD %KEY%\025 /V 1 /D "%cdrom%\SETUP\SOFT\Codec.exe" /f

REG ADD %KEY%\025 /V 2 /D "%cdrom%\SETUP\SOFT\ffdshow.exe /S" /f

REG ADD %KEY%\025 /V 3 /D "%cdrom%\SETUP\SOFT\Realalt\realalt144.exe" /silent /LoadInf="%cdrom%\SETUP\SOFT\Realalt\realalt.ini"" /f

REG ADD %KEY%\025 /V 4 /D "%cdrom%\SETUP\SOFT\Quickalt\quickalt163.exe" /silent /LoadInf="%cdrom%\SETUP\SOFT\Quickalt\qtalt.ini"" /f

REG ADD %KEY%\025 /V 5 /D "%cdrom%\SETUP\SOFT\xvid\xvid.cmd" /f

REG ADD %KEY%\025 /V 6 /D "%cdrom%\SETUP\SOFT\HaaliSplit.exe /S" /f

REG ADD %KEY%\025 /V 7 /D "%cdrom%\SETUP\SOFT\codec.cmd" /f

blabla.....

I've tried many command line none of them works in runonceex....

eg.

REG ADD %KEY%\025 /V 3 /D "%cdrom%\SETUP\SOFT\Realalt\realalt144.exe" /silent /LoadInf="%cdrom%\SETUP\SOFT\Realalt\realalt.ini"" /f

REG ADD %KEY%\025 /V 4 /D "%cdrom%\SETUP\SOFT\Quickalt\quickalt163.exe" /silent /LoadInf="%cdrom%\SETUP\SOFT\Quickalt\qtalt.ini"" /f

or

REG ADD %KEY%\025 /V 3 /D "\%cdrom%\SETUP\SOFT\Realalt\realalt144.exe\" /silent /LoadInf="%cdrom%\SETUP\SOFT\Realalt\realalt.ini"" /f

REG ADD %KEY%\025 /V 4 /D "\%cdrom%\SETUP\SOFT\Quickalt\quickalt163.exe\" /silent /LoadInf="%cdrom%\SETUP\SOFT\Quickalt\qtalt.ini"" /f

or

REG ADD %KEY%\025 /V 3 /D "%cdrom%\SETUP\SOFT\Realalt\realalt144.exe" /silent /LoadInf=".\realalt.ini"" /f

REG ADD %KEY%\025 /V 4 /D "%cdrom%\SETUP\SOFT\Quickalt\quickalt163.exe" /silent /LoadInf=".\qtalt.ini"" /f

or

REG ADD %KEY%\025 /V 3 /D "\%cdrom%\SETUP\SOFT\Realalt\realalt144.exe\" /silent /LoadInf=".\realalt.ini"" /f

REG ADD %KEY%\025 /V 4 /D "\%cdrom%\SETUP\SOFT\Quickalt\quickalt163.exe\" /silent /LoadInf=".\qtalt.ini"" /f

Did someone had the good command in runonceex for doing this ?

Please help or I'll become crazy with this !%µ$€!!! command line.......!

ps: sorry for my bad english :whistle:


Posted

You have to use a backslash in front of every quotattion mark in the command, so use the following (I think, it isn't contained in your tries):

REG ADD %KEY%\025 /V 3 /D "%cdrom%\SETUP\SOFT\Realalt\realalt144.exe /silent /LoadInf=\"%cdrom%\SETUP\SOFT\Realalt\realalt.ini\"" /f
REG ADD %KEY%\025 /V 4 /D "%cdrom%\SETUP\SOFT\Quickalt\quickalt163.exe /silent /LoadInf=\"%cdrom%\SETUP\SOFT\Quickalt\qtalt.ini\"" /f

Didn't try it for myself, but I think this should work.

Posted

just use their bat files, i'll convert the bat files into exe if you want.. i've bought that converter..

pm me the 'exact' code you want and i'll do it

Posted

SET FULLPATH=%cdrom%\SETUP\SOFT\Realalt
REG ADD %KEY%\025 /V 3 /D "\"%FULLPATH%\realalt144.exe\" /silent /LoadInf=\"%FULLPATH%\realalt.ini\"" /f
SET FULLPATH=%cdrom%\SETUP\SOFT\Quickalt
REG ADD %KEY%\025 /V 4 /D "\"%FULLPATH%\quickalt163.exe\" /silent /LoadInf=\"%FULLPATH%\qtalt.ini\"" /f

This goes into the registry fine.

Posted

Thanks guys for all your reply :-)

I'll test this tomorow and post my result here of course.

ps: didn't know the backslash trick at the end of the command line....

Posted (edited)

Ok, working command line is:

REG ADD %KEY%\025 /V 3 /D "%cdrom%\SETUP\SOFT\Realalt\realalt144.exe /silent /LoadInf=\"%cdrom%\SETUP\SOFT\Realalt\realalt.ini\"" /f

REG ADD %KEY%\025 /V 4 /D "%cdrom%\SETUP\SOFT\Quickalt\quickalt163.exe /silent /LoadInf=\"%cdrom%\SETUP\SOFT\Quickalt\qtalt.ini\"" /f

Backslash resolve this problem ^^

BIG Thanks again to all of you for your help and offer ;)

:thumbup

Edited by cyberyeye

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
  • Recently Browsing   0 members

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