Jump to content

Silently register O&O Defrag Prol V.6 B 851 ?


Bebbetufs

Recommended Posts

My RunOnceEx.cmd now successfully installs O&O Defrag Pro.

I still have to register it manually however.

Is there a way around this?

REG ADD %KEY%\001 /VE /D "O&O Professional Defrag 6" /f
REG ADD %KEY%\001 /V 1 /D "%cdrom%\Apps\DfrgPro\OODefrag.msi /qn" /f

Link to comment
Share on other sites


Thanks!

I added the last two lines to my RunOnceEx.cmd:

REG ADD %KEY%\001 /VE /D "O&O Defrag Professional v.6" /f
REG ADD %KEY%\001 /V 1 /D "%cdrom%\Apps\DfrgPro\OODefrag.msi /qn" /f

REG ADD %KEY%\002 /VE /D "Registering O&O Defrag Professional" /f
REG ADD %KEY%\002 /V 1 /D "%cdrom%\Apps\DfrgPro\regDefrag.cmd" /f

Running:

ECHO.
ECHO Registering OO Defrag Professional...
REGEDIT /S %cdrom%\Apps\DfrgPro\regDefr.reg

Which again should run regDefr.reg which goes:

Windows Registry Editor Version 5.00 

[HKEY_LOCAL_MACHINE\SOFTWARE\O&O\O&O Defrag\6.0\Pro]
"User"="XXXXX"
"Company"="XXXX"
"SerialNo"="XXXX-XXXX-XXXX-XXX-XXXX"

Will this work corectly or do I need to specify "wait" somewhere for this to finish before the rest of the RunOnceEx.cmd continues?

Link to comment
Share on other sites

I think this is ok:

REG ADD %KEY%\001 /VE /D "OO Defrag Professional v.6" /f
REG ADD %KEY%\001 /V 1 /D "%cdrom%\Apps\DfrgPro\OODefrag.msi /qn" /f
REG ADD %KEY%\010 /VE /D "Registering OO Defrag Professional" /f
REG ADD %KEY%\010 /V 1 /D "REGEDIT /S %cdrom%\Apps\DfrgPro\regDefr.reg" /f

And, please check this reg key in your registry to see if it's the same name or not:

[HKEY_LOCAL_MACHINE\SOFTWARE\O&O\O&O Defrag\4.0\Pro]

I think it should be 6.0

Link to comment
Share on other sites

I'm using a .inf File to register O&O Defrag.

[Version]
Signature=$Windows NT$

[DefaultInstall]
AddReg=OODefrag

[OODefrag]
HKLM,"SOFTWARE\O&O\O&O Defrag\6.0\Pro\licenses","Company",,"YourCompany"
HKLM,"SOFTWARE\O&O\O&O Defrag\6.0\Pro\licenses","SerialNo",,"1234-1234"
HKLM,"SOFTWARE\O&O\O&O Defrag\6.0\Pro\licenses","User",,"Username"

Link to comment
Share on other sites

  • 1 month later...

hallo

I'm using this too:

REG ADD %KEY%\001 /VE /D "O&O Professional Defrag 6" /f
REG ADD %KEY%\001 /V 1 /D "%cdrom%\Apps\DfrgPro\OODefrag.msi /qn" /f

but, there's a way to pass the installation path to msi installer? Something like "%ProgramFiles%\Defrag Professional" instead of "%ProgramFiles%\O&O Software\Defrag Professional"!

mrmr

Link to comment
Share on other sites

@mazin

eheh...you are a Turbo replier :)

btw, something like this?

REG ADD %KEY%\001 /VE /D "O&O Professional Defrag 6" /f
REG ADD %KEY%\001 /V 1 /D "%cdrom%\Apps\DfrgPro\OODefrag.msi /INSTALLDIR="%ProgramFiles%\Defrag Professional" /qn" /f

or

REG ADD %KEY%\001 /VE /D "O&O Professional Defrag 6" /f
REG ADD %KEY%\001 /V 1 /D "%cdrom%\Apps\DfrgPro\OODefrag.msi INSTALLDIR="%ProgramFiles%\Defrag Professional" /qn" /f

which one? :unsure:

mrmr

EDIT: OK solved....it's seen the second choice...without "/"

Thank you

Link to comment
Share on other sites

REG ADD %KEY%\001 /VE /D "O&O Professional Defrag 6" /f
REG ADD %KEY%\001 /V 1 /D "%cdrom%\Apps\DfrgPro\OODefrag.msi INSTALLDIR="%ProgramFiles%\Defrag Professional" /qn" /f

EDIT: OK solved....it's seen the second choice...without "/"

          Thank yo

@mrmr

I'm currently at work and can't do anything till I get home in 5 hours, but...

did that also register O&O?

Edit:

Looks like you also extracted the .exe to get the .msi file. Do you need any of the other files?

Link to comment
Share on other sites

...so...here my RunOnceEx part...

REG ADD %KEY%\020 /VE /D "Defrag Professional Edition v6.5.851" /f
REG ADD %KEY%\020 /V 1 /D "%systemdrive%\install\Defrag-Pro-Ed-v6.5.851.msi INSTALLDIR=%ProgramFiles%\Defrag /qb" /f
REG ADD %KEY%\020 /V 2 /D "REGEDIT /S %systemdrive%\install\RegTweaks\Defrag.reg" /f

i've noticed that if i use INSTALLDIR="%ProgramFiles%\Defrag Professional" (path quoted with " ") it doesn't work, so i've menaged for above path.

Don't know if there's a workaround...next, my Defrag.reg

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\O&O\O&O Defrag\6.0\Pro\licenses]
"User"="my.user"
"Company"="my.company"
"SerialNo"="XXXX-XXXX-XXXX-XXXX-XXXX"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\DefragPath]
@="\"%ProgramFiles%\\Defrag\\oodcnt.exe\""

I hope this help

mrmr

P.S.

Looks like you also extracted the .exe to get the .msi file. Do you need any of the other files?

mmm, i've started the installer...and then, from TEMP directory i've copied the .msi only...

Link to comment
Share on other sites

...so...here my RunOnceEx part...

REG ADD %KEY%\020 /VE /D "Defrag Professional Edition v6.5.851" /f
REG ADD %KEY%\020 /V 1 /D "%systemdrive%\install\Defrag-Pro-Ed-v6.5.851.msi INSTALLDIR=%ProgramFiles%\Defrag /qb" /f
REG ADD %KEY%\020 /V 2 /D "REGEDIT /S %systemdrive%\install\RegTweaks\Defrag.reg" /f

I kept getting an error here.

I changed paths to fit my XPCD, but they should have worked.

cause it keeps giving me an error saying windows cannot find 'C:\install\defrag-pro-v6.5.851.msi. Make sure you typed the name correctly, and then try again. To search for a file, click the Start button and then click Search.

I checked after the install completed on VMware and it shows the folder and file in c:\

bah.

I'll mess with it a little more.

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