Jump to content

AutoIt and nVidia GeForce 270.61?


Orsi

Recommended Posts

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)

Link to comment
Share on other sites


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.

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