MSFN Forum: AutoIt and nVidia GeForce 270.61? - MSFN Forum

Jump to content



Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

AutoIt and nVidia GeForce 270.61? Rate Topic: -----

#1 User is offline   Orsi 

  • Hasta la Windows Vista, baby
  • PipPip
  • Group: Members
  • Posts: 265
  • Joined: 09-October 03
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 16 May 2011 - 01:29 PM

hey there, looks like its impossible to integrate GeForce 270.61 in Win7 x64 (correct me if Im wrong), so I built an AutoIt script to install it during FirstLogonCommands.

The problem: 270.61 setup quits right after the first screen (where it checks the system compatibility). No error messages at all. The most weird thing is that this only happens if I use the AutoIt script to run it.

What could be going on?

Run("GeForce\setup.exe")
WinWait("NVIDIA Display Driver v270.61 - International Package","Extraction path:")
If Not WinActive("NVIDIA Display Driver v270.61 - International Package","Extraction path:") Then WinActivate("NVIDIA Display Driver v270.61 - International Package","Extraction path:")
WinWaitActive("NVIDIA Display Driver v270.61 - International Package","Extraction path:")
ControlClick("NVIDIA Display Driver v270.61 - International Package","Extraction path:", 1203)
WinWait("Instalação NVIDIA","Instalar")
If Not WinActive("Instalação NVIDIA","Instalar") Then WinActivate("Instalação NVIDIA","Instalar")
WinWaitActive("Instalação NVIDIA","Instalar")
ControlClick("Instalação NVIDIA","Instalar", 1020)
Sleep(1000)
WinWait("Instalação NVIDIA","&Expressa ")
If Not WinActive("Instalação NVIDIA","&Expressa ") Then WinActivate("Instalação NVIDIA","&Expressa ")
WinWaitActive("Instalação NVIDIA","&Expressa ")
ControlClick("Instalação NVIDIA","&Expressa ", 1022)
WinWait("Instalação NVIDIA","Instalar atualização da NVIDIA")
If Not WinActive("Instalação NVIDIA","Instalar atualização da NVIDIA") Then WinActivate("Instalação NVIDIA","Instalar atualização da NVIDIA")
WinWaitActive("Instalação NVIDIA","Instalar atualização da NVIDIA")
ControlClick("Instalação NVIDIA","Instalar atualização da NVIDIA", 1021)
WinWait("Instalação NVIDIA","&Fechar")
If Not WinActive("Instalação NVIDIA","&Fechar") Then WinActivate("Instalação NVIDIA","&Fechar")
WinWaitActive("Instalação NVIDIA","&Fechar")
ControlClick("Instalação NVIDIA","&Fechar", 1018)



#2 User is offline   Tripredacus 

  • K-Mart-ian Legend
  • Group: Super Moderator
  • Posts: 7,349
  • Joined: 28-April 06
  • OS:Windows 7 x86
  • Country: Country Flag

Posted 17 May 2011 - 08:27 AM

This script seems to be overly complicated... Isn't there switches for this installer? You may also find one that creates a log during install, a must for debugging why AutoIT isn't running the app properly.

#3 User is offline   Orsi 

  • Hasta la Windows Vista, baby
  • PipPip
  • Group: Members
  • Posts: 265
  • Joined: 09-October 03
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 17 May 2011 - 08:30 AM

its a screen-by-screen script, pretty simple actually
Unfortunately I couldn't find any switch for this installer.

#4 User is offline   JFX 

  • Member
  • PipPip
  • Group: Members
  • Posts: 101
  • Joined: 17-January 11
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 17 May 2011 - 08:58 AM

First unpack, than try /passive /noreboot switch

This post has been edited by JFX: 17 May 2011 - 08:58 AM


#5 User is offline   Orsi 

  • Hasta la Windows Vista, baby
  • PipPip
  • Group: Members
  • Posts: 265
  • Joined: 09-October 03
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 18 May 2011 - 06:29 AM

Tks! :D

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users



All trademarks mentioned on this page are the property of their respective owners
Copyright © 2001 - 2011 msfn.org
Privacy Policy