Sign in to follow this  
Followers 0
Polish_Pirate

Stubborn EULA

4 posts in this topic

I and try to make a simple scrip to auto instal Cyberlink PowerDVD 7.0 Trial.

When I get to the EULA screen the script stops. Its seems it cannot read the text that I have as a identifier.

I have tried just about every word in the window info screen.

The script stop here

; License Agreement
WinWaitActive("Cyberlink PowerDVD 7.0 Setup...", "License Agreement")
send("!y")

Here is the whole script.

;Install Cyberlink Power DVD 7.0
;Start Install
Opt("TrayIconDebug", 1)

Run("PowerDVD_Trial.exe")

WinWaitActive("PowerDVD - InstallShield Wizard", "Please wait while")

;WinWaitActive("InstallShield Wizard", "PowerDVD Setup is preparing the InstallShield® Wizard")

ToolTip('Extraction done', 0, 0)

;Welcome Screen
WinWaitActive("InstallShield Wizard", "Welcome to the InstallShield Wizard for PowerDVD")
Send("!N")

ToolTip('Welcome done', 0, 0)

; License Agreement
WinWaitActive("Cyberlink PowerDVD 7.0 Setup...", "License Agreement")
send("!y")

ToolTip('EULA done', 0, 0)

;Folder Destination
WinWaitActive("Cyberlink PowerDVD 7.0 Setup...", "Destination")
Send("!Next")

;Program Folder
WinWaitActive("Cyberlink PowerDVD 7.0 Setup...", "Program Folder")
Send("!Next")

;Install Google Toolbar
WinWaitActive("Setup...", "Google Toolbar")
Send(" ")
Send("!N")

;Finish Installation
WinWaitActive("Cyberlink PowerDVD 7.0 Setup...", "Read me File")
Send(" ")
Send("{ENTER}")

Press CTRL-ALT-F to freeze the display.

>>>>>>>>>>>> Window Details <<<<<<<<<<<<<
Title:  CyberLink PowerDVD 7.0 Setup...
Class:  #32770
Size:   X: 260  Y: 194  W: 504  H: 380

>>>>>>>>>>> Mouse Details <<<<<<<<<<<
Screen: X: 663  Y: 466
Cursor ID:  2

>>>>>>>>>>> Pixel Color Under Mouse <<<<<<<<<<<
RGB:    Hex: 0xEBE9ED   Dec: 15460845

>>>>>>>>>>> Control Under Mouse <<<<<<<<<<<
Size:
Control ID:
ClassNameNN:
Text:

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


>>>>>>>>>>> Visible Window Text <<<<<<<<<<<
 End User License Agreement ("EULA")

Do not install or use the software until you have read and accepted all of the license terms. Permission to use the software is conditional upon your agreeing to the license terms. Installation or use of the software by you will be deemed to be acceptance of the license terms. Acceptance will bind you to the license terms in a legally enforceable contract with CyberLink Corp.

* SOFTWARE LICENSE AND LIMITED WARRANTY
This is an agreement between you, the end user, and CyberLink Corp. ("CyberLink"). By using this software, you agree to become bound by the terms of this agreement.

If you agree to abide by these conditions, please click "Yes". IF YOU DO NOT AGREE TO THE TERMS OF THIS AGREEMENT, PLEASE DO NOT USE THIS SOFTWARE AND PROMPTLY REMOVE IT FROM YOUR COMPUTER.

* GRANT OF LICENSE
CyberLink, as licensor, grants to you, the licensee, a non-exclusive right to install the accompanying software program(s) (hereinafter the "SOFTWARE") on a certain number of computer(s) in accordance with the number of the license you purchase and use the SOFTWARE in accordance with the terms contained in this license. You shall not rent, lease, sublicense, modify, alter, reverse engineer, disassemble, decomplie, or create any derivative work of the SOFTWARE, or remove any copyright notice or proprietary legend contained in the Software. You shall not reproduce the SOFTWARE unless for backup purpose and limited to one copy only. Except for the Software marked "Not for Resale" or the like, you may transfer the Software on a permanent basis to another person or entity accompanying the Documentation and the license agreement, provided that you retain no copies of the Software and the transferee agrees to the terms of this agreement. Such transfer will cause an automatic termination of your license to use the Software.

* OWNERSHIP OF SOFTWARE
CyberLink retains the copyright, title and ownership of the SOFTWARE and the written materials ("Documentation") regardless of the form or media in or on which the original and other copies may exist.

* UPGRADES
If this copy of the Software is an upgrade from an earlier version of the Software, it is provided to you on a license exchange basis. Upon your installation and use of this copy of the Software, you agree to voluntarily terminate your earlier EULA and you will not continue to use the earlier version of the Software or transfer it to another person or entity.

* USE OF PICTURES LICENSED BY THIRD PARTIES
You may use pictures, if any, provided in the SOFTWARE, which may be licensed from third parties, to demonstrate or complete your work created by the use of the SOFTWARE; provided that you should not use the pictures in any illegal or immoral manners, nor shall you grant your right to use to any third party. CyberLink does not provide any warranty or representation to these pictures from third parties.

*USAGE RESTRICTION
You agree to use the SOFTWARE solely for personal and non-commercial purpose. You also acknowledge that no rights are granted or may be extended to you to use the SOFTWARE with MPEG-4 Video Content unless such MPEG-4 Content is sold or delivered to you by a content outlet licensed under the AT&T MPEG-4 Essential Claims to make such sale or delivery.

* LIMITED WARRANTY
CyberLink warrants the media on which the SOFTWARE is furnished to be free of defects in material and workmanship, under normal use, for a period of ninety (90) days following the date of delivery to you. If there is defect in the media, CyberLink's sole liability shall be to replace the defective media, which has been returned to CyberLink or the supplier with your dated invoice and is shown to be defective. In the event that CyberLink is unable to replace defective media, CyberLink shall at its sole discretion either refund your money upon your termination of this license or replace with the newer version of the same software.

THIS SOFTWARE AND ACCOMPANYING DOCUMENTATAION (INCLUDING INSTRUCTIONS FOR USE) ARE PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. FURTHER, CYBERLINK DOES NOT WARRANT, GUARANTEE, OR MAKE ANY REPRESENTATIONS REGARDING THE USE, OR THE RESULTS OF USE, OF THE SOFTWARE OR DOCUMENTATION IN TERMS OF CORRECTNESS, ACCURACY, RELIABILITY, CURRENTNESS, OR OTHERWISE. THE ENTIRE RISK AS TO THE RESULTS AND PERFORMANCE OF THE SOFTWARE IS ASSUMED BY YOU. IF THE SOFTWARE OR DOCUMENTATION IS DEFECTIVE, YOU, AND NOT CYBERLINK OR ITS DEALERS, DISTRIBUTORS, AGENTS, OR EMPLOYEES, ASSUME THE ENTIRE COST OF ALL NECESSARY SERVICE, REPAIR OR CORRECTION.

CYBERLINK DISCLAIMS ALL OTHER WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT, REGARDLESS OF WHETHER IT IS MADE BY CYBERLINK, ON THIS CYBERLINK PRODUCT. CYBERLINK DOES NOT WARRANT THAT THE SOFTWARE WILL BE UNINTERRUPTED OR ERROR-FREE. NO ORAL OR WRITTEN INFORMATION OR ADVICE GIVEN BY CYBERLINK, ITS DEALERS, DISTRIBUTORS, AGENTS OR EMPLOYEES SHALL CREATE A WARRANTY OR IN ANY WAY INCREASE THE SCOPE OF THIS WARRANTY AND YOU MAY NOT RELY ON ANY SUCH INFORMATION OR ADVICE. 

NEITHER CYBERLINK NOR ANYONE ELSE WHO HAS BEEN INVOLVED IN THE CREATION, PRODUCTION OR DELIVERY OF THIS PRODUCT SHALL BE LIABLE FOR ANY DIRECT, INDIRECT, CONSEQUENTIAL OR INCIDENTAL DAMAGES (INCLUDING DAMAGES FOR LOSS OF BUSINESS PROFITS, BUSINESS INTERRUPTION, LOSS OF DATA, LOSS OF BUSINESS INFORMATION, OR OTHER PECUNIARY LOSS) ARISING OUT OF THE USE OR INABILITY TO USE SUCH PRODUCT EVEN IF CYBERLINK HAS BEEN ADVISED OF THE POSSBILITY OF SUCH DAMAGES.

Should any other warranties be found to exist, such warranties shall be limited in duration to ninety (90) days following the date of delivery to you. In no event will CyberLink's liability for any damages to you or any other person exceed the amount paid for the license to use the SOFTWARE.

You agree to bear the full, complete, and sole responsibility for using the Software of any purpose. You also agree to indemnify and hold CyberLink harmless from any claims, proceedings, damages, costs, and expenses resulting from your use of the SOFTWARE for any illegal purpose.

Upon termination of this Agreement, you should destroy the Software and the Documentation and all the copies thereof and remove and delete the Software from your hard disk or other storage device.

This agreement constitutes the entire agreement between you and CyberLink Corp. This agreement shall be governed and construed in accordance with the laws of Taiwan and shall benefit CyberLink, its successors and assigns. 

Any claim or dispute between you and CyberLink or against any agent, employee, successor or assign of CyberLink, whether related to this agreement or otherwise, and any claim or dispute related to this agreement or the relationship or duties contemplated under this agreement, including the validity of this arbitration clause, shall be resolved in Taipei, Taiwan, pursuant to the Taiwan Arbitration Act. 

This localized version of the EULA is for reference only. In case of inconsistencies between the localized version and the English version, the English version will prevail.
< &Back
&Yes
&No
Press the PAGE DOWN key to see the rest of the agreement.
Do you accept all the terms of the preceding License Agreement?  If you choose No,  the setup will close.  To install PowerDVD, you must accept this agreement.
License Agreement
Please read the following license agreement carefully.

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

Any Suggestions?

Share this post


Link to post
Share on other sites



Maybe the YES button isn't active yet when the Window get displayed.

Which line does the script hang ? Opt("TrayIconDebug", 1)


Visit the SciTE4AutoIt3 Download page for the latest versions        Beta files                                                          Forum Rules
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Share this post


Link to post
Share on other sites

#3 ·  Posted (edited)

Maybe the YES button isn't active yet when the Window get displayed.

Which line does the script hang ? Opt("TrayIconDebug", 1)

Line 20

Edited by Polish_Pirate

Share this post


Link to post
Share on other sites

Found the problem..

It was the title of the window the L was not cap in cyberlink

My title Cyberlink PowerDVD 7.0 Setup...

Window info CyberLink PowerDVD 7.0 Setup...

Thanks for your help.

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