Jump to content

registry mechanic trouble


kalle_mod

Recommended Posts


Ahhhhhhhhh thats your issue too. Windows does not recognize the au3 file normally therefore it cannot run it as it has no clue what to do. You must compile to an exe.

$SF_1 = "registrymech.exe"

Run($SF_1)
If WinExists( $SF_1 ) Then Exit
AutoItWinSetTitle ( $SF_1)
WinWait("Setup - Registry Mechanic","Welcome to the Regis")
If Not WinActive("Setup - Registry Mechanic","Welcome to the Regis") Then WinActivate("Setup - Registry Mechanic","Welcome to the Regis")
WinWaitActive("Setup - Registry Mechanic","Welcome to the Regis")
Send("{ALTDOWN}n{ALTUP}")
WinWait("Setup - Registry Mechanic","Please read the foll")
If Not WinActive("Setup - Registry Mechanic","Please read the foll") Then WinActivate("Setup - Registry Mechanic","Please read the foll")
WinWaitActive("Setup - Registry Mechanic","Please read the foll")
Send("{ALTDOWN}an{ALTUP}")
WinWait("Setup - Registry Mechanic","Select Destination L")
If Not WinActive("Setup - Registry Mechanic","Select Destination L") Then WinActivate("Setup - Registry Mechanic","Select Destination L")
WinWaitActive("Setup - Registry Mechanic","Select Destination L")
Send("{ALTDOWN}n{ALTUP}")
WinWait("Setup - Registry Mechanic","Select Additional Ta")
If Not WinActive("Setup - Registry Mechanic","Select Additional Ta") Then WinActivate("Setup - Registry Mechanic","Select Additional Ta")
WinWaitActive("Setup - Registry Mechanic","Select Additional Ta")
Send("{ALTDOWN}i{ALTUP}")
WinWait("Setup - Registry Mechanic","Completing the Regis")
If Not WinActive("Setup - Registry Mechanic","Completing the Regis") Then WinActivate("Setup - Registry Mechanic","Completing the Regis")
WinWaitActive("Setup - Registry Mechanic","Completing the Regis")
Send("{SPACE}{ALTDOWN}f{ALTUP}")

Compiled into an exe and in the same folder as : registrymech.exe works just fine.

Edited by Kelsenellenelvian
Link to comment
Share on other sites

Thx, I'll try that later, btw. do you know the command for moving and overwriting a file from install.cmd, I have:

move /y source destination but it doesn't work

Kalle_mod

Examples:

move /y G:\info.txt C:\
move /y G:\info.txt C:\fgfdg.txt
move /y G:\info.txt C:\trtyrff.mntzjkh

Need quotes if have spaces in paths.

Link to comment
Share on other sites

It is possible to specify to do not install google toolbar for the silent install?

Google Toolbar is not installed during silent or normal installation.

You're wrong. I tried it today and it install the google toolbar. I have version 7.0.0.1010

Link to comment
Share on other sites

You're wrong. I tried it today and it install the google toolbar. I have version 7.0.0.1010

No I'm not. I have Opera set as default browser. In this case, that option don't appear

when I have installed Registry Mechanic. Installer detect which is default browser and if

I.E. is that, will offer to install Google Toolbar for I.E.

Link to comment
Share on other sites

You're wrong. I tried it today and it install the google toolbar. I have version 7.0.0.1010

No I'm not. I have Opera set as default browser. In this case, that option don't appear

when I have installed Registry Mechanic. Installer detect which is default browser and if

I.E. is that, will offer to install Google Toolbar for I.E.

I don't use opera. Do you have a tweak to change the default browser before installing. I don't know in registry where I can set the default browser. Maybe we can make a false value and restore it at the end of the installation.

Link to comment
Share on other sites

Do you have a tweak to change the default browser before installing. I don't know in registry where I can set the default browser. Maybe we can make a false value and restore it at the end of the installation.

The problem is here:

[HKEY_CLASSES_ROOT\HTTP\shell\open\command]
@="\"C:\\Program Files\\Internet Explorer\\iexplore.exe\" -nohome"

Before you start the installation, you need to delete this:

"\"C:\\Program Files\\Internet Explorer\\iexplore.exe\" -nohome"

and restore after installation is done.

I can do this task very easy in AutoIt, but in batch scripting no.

Edited by radix
Link to comment
Share on other sites

Do you have a tweak to change the default browser before installing. I don't know in registry where I can set the default browser. Maybe we can make a false value and restore it at the end of the installation.

The problem is here:

[HKEY_CLASSES_ROOT\HTTP\shell\open\command]
@="\"C:\\Program Files\\Internet Explorer\\iexplore.exe\" -nohome"

Before you start the installation, you need to delete this:

"\"C:\\Program Files\\Internet Explorer\\iexplore.exe\" -nohome"

and restore after installation is done.

I can do this task very easy in AutoIt, but in batch scripting no.

Works great! I tried it. Thanks

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