Sign in to follow this  
Followers 0
streetglow

Exit installation

17 posts in this topic

Hi I've got a lil' problem.

I made an Auto Instal Script, it's installing some programs.

All programs works fine except Nero.

After the installation is finished it doesn't want to push enter or anything at all!

Here's a screenshot and beneath there, there is my script.

================================

Screenshot

================================

Posted Image

================================

================================

My script:

================================

WinWait("Nero Burning ROM Installatiewizard","Welkom bij de installatiewizard voor Nero Burning ROM")
    If Not WinActive("IC Card Reader Driver Setup","IC Card Reader Driver v1.9e2") Then WinActivate("Nero Burning ROM Installatiewizard","Welkom bij de installatiewizard voor Nero Burning ROM")
    WinWaitActive("Nero Burning ROM Installatiewizard","Welkom bij de installatiewizard voor Nero Burning ROM")
    Send("{ENTER}")
    
    WinWait("Nero Burning ROM Installatiewizard")
    If Not WinActive("Nero Burning ROM Installatiewizard") Then WinActivate("Nero Burning ROM Installatiewizard")
    WinWaitActive("Nero Burning ROM Installatiewizard")
    Send("{TAB}{UP}{ENTER}")
    
    WinWait("Nero Burning ROM Installatiewizard")
    If Not WinActive("Nero Burning ROM Installatiewizard") Then WinActivate("Nero Burning ROM Installatiewizard")
    WinWaitActive("Nero Burning ROM Installatiewizard")
    Send("{ENTER}")
    
    WinWait("Nero Burning ROM Installatiewizard","De wizard heeft de installatie met succes voltooid.")
    If Not WinActive("Nero Burning ROM Installatiewizard","De wizard heeft de installatie met succes voltooid.") Then WinActivate("Nero Burning ROM Installatiewizard","De wizard heeft de installatie met succes voltooid.")
    WinWaitActive("Nero Burning ROM Installatiewizard","De wizard heeft de installatie met succes voltooid.")
    Send("{ENTER}")oÝ÷ Øw¡ë'ßÛpj{m¡ì^rë^¶¬iËb¢v®¶­sevåvBgV÷C´æW&ò'W&æær$ôÒç7FÆÆFWv¦&BgV÷C²ÂgV÷C´FRv¦&BVVgBFRç7FÆÆFRÖWB7V66W2föÇFööBâgV÷C² bæ÷Bvä7FfRgV÷C´æW&ò'W&æær$ôÒç7FÆÆFWv¦&BgV÷C²ÂgV÷C´FRv¦&BVVgBFRç7FÆÆFRÖWB7V66W2föÇFööBâgV÷C²FVâvä7FfFRgV÷C´æW&ò'W&æær$ôÒç7FÆÆFWv¦&BgV÷C²ÂgV÷C´FRv¦&BVVgBFRç7FÆÆFRÖWB7V66W2föÇFööBâgV÷C² våvD7FfRgV÷C´æW&ò'W&æær$ôÒç7FÆÆFWv¦&BgV÷C²ÂgV÷C´FRv¦&BVVgBFRç7FÆÆFRÖWB7V66W2föÇFööBâgV÷C² 6VæBgV÷C·´TåDU'ÒgV÷C²

Thanks already!!

Share this post


Link to post
Share on other sites



Hi I've got a lil' problem.

I made an Auto Instal Script, it's installing some programs.

All programs works fine except Nero.

After the installation is finished it doesn't want to push enter or anything at all!

Here's a screenshot and beneath there, there is my script.

================================

Screenshot

================================

Posted Image

================================

================================

My script:

================================

WinWait("Nero Burning ROM Installatiewizard","Welkom bij de installatiewizard voor Nero Burning ROM")
    If Not WinActive("IC Card Reader Driver Setup","IC Card Reader Driver v1.9e2") Then WinActivate("Nero Burning ROM Installatiewizard","Welkom bij de installatiewizard voor Nero Burning ROM")
    WinWaitActive("Nero Burning ROM Installatiewizard","Welkom bij de installatiewizard voor Nero Burning ROM")
    Send("{ENTER}")
    
    WinWait("Nero Burning ROM Installatiewizard")
    If Not WinActive("Nero Burning ROM Installatiewizard") Then WinActivate("Nero Burning ROM Installatiewizard")
    WinWaitActive("Nero Burning ROM Installatiewizard")
    Send("{TAB}{UP}{ENTER}")
    
    WinWait("Nero Burning ROM Installatiewizard")
    If Not WinActive("Nero Burning ROM Installatiewizard") Then WinActivate("Nero Burning ROM Installatiewizard")
    WinWaitActive("Nero Burning ROM Installatiewizard")
    Send("{ENTER}")
    
    WinWait("Nero Burning ROM Installatiewizard","De wizard heeft de installatie met succes voltooid.")
    If Not WinActive("Nero Burning ROM Installatiewizard","De wizard heeft de installatie met succes voltooid.") Then WinActivate("Nero Burning ROM Installatiewizard","De wizard heeft de installatie met succes voltooid.")
    WinWaitActive("Nero Burning ROM Installatiewizard","De wizard heeft de installatie met succes voltooid.")
    Send("{ENTER}")oÝ÷ Øw¡ë'ßÛpj{m¡ì^rë^¶¬iËb¢v®¶­sevåvBgV÷C´æW&ò'W&æær$ôÒç7FÆÆFWv¦&BgV÷C²ÂgV÷C´FRv¦&BVVgBFRç7FÆÆFRÖWB7V66W2föÇFööBâgV÷C² bæ÷Bvä7FfRgV÷C´æW&ò'W&æær$ôÒç7FÆÆFWv¦&BgV÷C²ÂgV÷C´FRv¦&BVVgBFRç7FÆÆFRÖWB7V66W2föÇFööBâgV÷C²FVâvä7FfFRgV÷C´æW&ò'W&æær$ôÒç7FÆÆFWv¦&BgV÷C²ÂgV÷C´FRv¦&BVVgBFRç7FÆÆFRÖWB7V66W2föÇFööBâgV÷C² våvD7FfRgV÷C´æW&ò'W&æær$ôÒç7FÆÆFWv¦&BgV÷C²ÂgV÷C´FRv¦&BVVgBFRç7FÆÆFRÖWB7V66W2föÇFööBâgV÷C² 6VæBgV÷C·´TåDU'ÒgV÷C²

Thanks already!!

ook al geprobeerd met spatie? :whistle:

[quote name='AceLoc']I gots new sunglasses there cool.[/quote]

Share this post


Link to post
Share on other sites

================================

English:

================================

Yes, but when I do

Send("{SPACE}")

It want's to cancel the installation which is the previous step (not to cancel but installing it).

So there seems to be a problem with that.

================================

Dutch:

================================

Ja zodra ik dat probeer wilt hij tijdens het installeren de installatiewizard afsluiten.

Ik denk dat het iets te maken heeft met die stap ervoor maar begrijp er niets van...

Share this post


Link to post
Share on other sites

Start > Alle Programma's > AutoIt v3 > AutoIt Window Info.exe

druk dan op dat laatste schermpje ( met je muis dus. )

en druk dan op CTRL-ALT-F .. quote die gegevens even dank u.


[quote name='AceLoc']I gots new sunglasses there cool.[/quote]

Share this post


Link to post
Share on other sites

Here the info:

Press CTRL-ALT-F to pause the display.

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

Title: Nero Burning ROM Installatiewizard

Class: #32770

Size: X: 246 Y: 165 W: 531 H: 407

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

Screen: X: 462 Y: 240

Cursor ID: 2

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

RGB: Hex: 0xFBF7F6 Dec: 16513014

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

Size: X: 15 Y: 25 W: 230 H: 59

Control ID: 1038

ClassNameNN: Static17

Text: De wizard heeft de installatie met succes voltooid.

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

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

Voltooien

De wizard heeft de installatie met succes voltooid.

Klik op 'Voltooien' om de installatiewizard af te sluiten .

Voeg een snelkoppeling naar Nero StartSmart toe aan het bureaublad.

Voeg een snelkoppeling naar Nero StartSmart toe aan de snelstartbalk

Nero SmartStart automatisch starten wanneer een schijf is ingevoegd

Share this post


Link to post
Share on other sites

Why not just use ControlClick()?


[center]Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.[/center]

Share this post


Link to post
Share on other sites

#7 ·  Posted (edited)

probeer dit es:

ControlSend("Nero Burning ROM Installatiewizard", "", "Static17", "{ENTER}")
Edited by aceloc

[quote name='AceLoc']I gots new sunglasses there cool.[/quote]

Share this post


Link to post
Share on other sites

I already tried this:

ControlClick("Nero Burning ROM Installatiewizard","De wizard heeft de installatie met succes voltooid.","Button3")

It didn't work, so now I'll try what 'aceloc' gave me.

Share this post


Link to post
Share on other sites

#9 ·  Posted (edited)

ControlClick("Nero Burning ROM Installatiewizard","","Button3")oÝ÷ ÙÚ²}ý·
+è­êÌk&Þ¶¼ºÚ"µÍÜ
    ÌÎNÕÚ[ÙXÚÚ[[ÌÎNËJBÛÛÛÛXÚÊ   ][ÝÓÈ[ÈÓH[Ý[]Y]Ú^    ][ÝË  ][ÝÑHÚ^YYH[Ý[]YHY]ÝXØÙÈÛÛÚY][ÝË    ][ÝÐ]ÛÉ][ÝÊ
if the 1st one didn't work.

Edited by SmOke_N

[center]Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.[/center]

Share this post


Link to post
Share on other sites

No, none did work.

They all cancelled the installation.

Here's some info about the button:

Press CTRL-ALT-F to pause the display.

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

Title: Nero Burning ROM Installatiewizard

Class: #32770

Size: X: 143 Y: 194 W: 531 H: 407

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

Screen: X: 625 Y: 580

Cursor ID: 2

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

RGB: Hex: 0xBBCADE Dec: 12307166

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

Size: X: 440 Y: 341 W: 75 H: 23

Control ID: 1040

ClassNameNN: Button3

Text: Voltooien

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

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

Voltooien

De wizard heeft de installatie met succes voltooid.

Klik op 'Voltooien' om de installatiewizard af te sluiten .

Voeg een snelkoppeling naar Nero StartSmart toe aan het bureaublad.

Voeg een snelkoppeling naar Nero StartSmart toe aan de snelstartbalk

Nero SmartStart automatisch starten wanneer een schijf is ingevoegd

Share this post


Link to post
Share on other sites

#11 ·  Posted (edited)

No, none did work.

They all cancelled the installation.

Here's some info about the button:

MouseClick("Left", 440, 341)
Edited by aceloc

[quote name='AceLoc']I gots new sunglasses there cool.[/quote]

Share this post


Link to post
Share on other sites

Yes, but when I'll use mouseclick, I'll need to know how many m.sec the script has to 'sleep'.

Share this post


Link to post
Share on other sites

dus?


[quote name='AceLoc']I gots new sunglasses there cool.[/quote]

Share this post


Link to post
Share on other sites

Well, with different computers that are different with speed that isn't very handy...

Share this post


Link to post
Share on other sites

Well, with different computers that are different with speed that isn't very handy...

with different computers they are also got other names, and other controlID's so dont cares ;x

[quote name='AceLoc']I gots new sunglasses there cool.[/quote]

Share this post


Link to post
Share on other sites

Hmm, as far as I know

Send("{ENTER}")

doesn't change at different computers.

Well, that was enough offtopic I think, I hope anyone else has a solution?

Share this post


Link to post
Share on other sites

ControlClick() will work if you're wanting to click the button that says Voltooien, but you have to have the right ControlID or ClassNameNN, hold the AutoInfo Tool over the button you want to click and paste the contents here.


[center]Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.[/center]

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  
Followers 0