Jump to content

Internal Error 2836


Guest Infinity
 Share

Recommended Posts

Guest Infinity

The installer for Opera 9.01 crashes with "Internal Error 2836. InstallTypeSelection, InstallTypeRadioButtons" when I try to set the "Custom" optionbutton using AutoIt. I've tried ControlClick and ControlCommand. Is this a bug? After all, it works when I click it with the mouse.

Link to comment
Share on other sites

My script:

Run("Opera 9.01.exe")
WinWaitActive("Opera 9.01 - InstallShield Wizard")
ControlClick("Opera 9.01 - InstallShield Wizard", "", 1462) ; Start Setup
WinWaitActive("Opera 9.01 - InstallShield Wizard", "Installation of Opera requires that you agree to this license agreement")
ControlClick("Opera 9.01 - InstallShield Wizard", "", 1462) ; I Accept
WinWaitActive("Opera 9.01 - InstallShield Wizard", "Select your preferred install type")
ControlCommand("Opera 9.01 - InstallShield Wizard", "", 2527, "Check")  ; Custom

The window info tool output for said option button:

CODE
>>>>>>>>>>>> Window Details <<<<<<<<<<<<<

Title: Opera 9.01 - InstallShield Wizard

Class: MsiDialogNoCloseClass

Size: X: 198 Y: 152 W: 504 H: 386

>>>>>>>>>>> Mouse Details <<<<<<<<<<<

Screen: X: 287 Y: 368

Cursor ID: 2

>>>>>>>>>>> Pixel Color Under Mouse <<<<<<<<<<<

RGB: Hex: 0xECE9D8 Dec: 15526360

>>>>>>>>>>> Control Under Mouse <<<<<<<<<<<

Size: X: 57 Y: 178 W: 333 H: 18

Control ID: 2527

ClassNameNN: Button7

Text: Separate install

Style: 0x40002004

ExStyle: 0x00000000

(Control is hidden)

>>>>>>>>>>> Status Bar Text <<<<<<<<<<<

>>>>>>>>>>> Visible Window Text <<<<<<<<<<<

Lets you adjust the install settings of Opera.

NewBinary1

This wizard will install Opera on your computer. Select your preferred install type.

Welcome to the Opera installer

Will install Opera with the standard settings.

Location: C:\Program Files\Opera\

&Next >

Standard

Custom

< &Back

&Cancel

InstallShield

InstallShield

>>>>>>>>>>> Hidden Window Text <<<<<<<<<<<

Quick upgrade of Opera by installing over your last installation. All your settings will be kept.

Upgrade or install Opera to a different location than the previous installation.

Upgrade

Separate install

Screenshot attached.

post-20238-1170015000_thumb.png

Link to comment
Share on other sites

Um....I don't quite understand. If I was misusing the commands, then it would be support related. But as far as I can see, I'm using them correctly, they just aren't working properly with this particular dialog.

As a coder myself, I assume the manner in which ControlClick performs its duties isn't 100% identical to physically clicking the mouse. Therefore, due to bad design, the installer is crashing. But surely the solution here is to make ControlClick more compatible in operation?

Link to comment
Share on other sites

Some concerns I see from your AutoIt Info Tool display.

>>>>>>>>>>>> Window Details <<<<<<<<<<<<<

Title: Opera 9.01 - InstallShield Wizard

Class: MsiDialogNoCloseClass

Size: X: 198 Y: 152 W: 504 H: 386

>>>>>>>>>>> Mouse Details <<<<<<<<<<<

Screen: X: 287 Y: 368

Cursor ID: 2

>>>>>>>>>>> Pixel Color Under Mouse <<<<<<<<<<<

RGB: Hex: 0xECE9D8 Dec: 15526360

>>>>>>>>>>> Control Under Mouse <<<<<<<<<<<

Size: X: 57 Y: 178 W: 333 H: 18

Control ID: 2527

ClassNameNN: Button7

Text: Separate install

Style: 0x40002004

ExStyle: 0x00000000

(Control is hidden)

>>>>>>>>>>> Status Bar Text <<<<<<<<<<<

>>>>>>>>>>> Visible Window Text <<<<<<<<<<<

...

...

...

Link to comment
Share on other sites

Ah yes, quite so. I stand corrected. It's not a bug in AutoIt.

It's a bug in the AutoIt Info Tool.

A quick session with Winspector (a tool similar to Spy++) makes the problem painfully obvious. Your info tool doesn't take into account control visibility. Which it should. Or, at least, offer the user a choice between intersecting controls.

Will this flaw be corrected, do you think?

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
 Share

  • Recently Browsing   0 members

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