MSFN Forum: Soundblaster Web Updates - AutoIt Unattended Installer Script - MSFN Forum

Jump to content



Unattended CD/DVD Guide Homepage · MSFN Forum Rules

Welcome to the Applications Installs forum. Make sure you read the forum rules before you start posting.

Links/Requests to warez and/or any illegal material (porn, cracks, serials, etc..) will not be tolerated. Discussion of circumventing WGA/activation/timebombs/keygens or any other illegal activity will also not be tolerated.

We try our best to keep this forum clean of illegal content. If you see any illegal activity use the "report" button you find in every post to report the specific post to the moderators. If you ignore any of the rules you will be banned without notice.

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

Soundblaster Web Updates - AutoIt Unattended Installer Script Rate Topic: -----

#1 User is offline   Yering 

  • Group: Members
  • Posts: 4
  • Joined: 04-November 08

Posted 11 February 2009 - 10:02 PM

Hi all,

Long time lurker first time contributor (so be gentle please :rolleyes: ).

Here is my (cheap and nasty) AutoIt script to install Soundblaster Web Updates (drivers and apps).

I don't integrate the drivers using Vlite but instead run the installer (using the /s switch, from memory the silent install .iss files are already there) as part of my application installation steps

Tested on Vista and a SoundBlaster XFi card. Does not work for Creative MediaSource 5 Player as the window titles are not the same as the other installs.

Usage instructions:

  • Download and install autoit3
  • Create and compile this script
  • Run this script BEFORE the installer (must be non-blocking as this script only finishes when the installer does)
  • Run the xfi driver installer script in unattended mode (using /s)
  • Sit back and enjoy the ride
  • ???
  • Profit!


#cs ----------------------------------------------------------------------------

 AutoIt Version: 3.2.12.1
 
 Autoresposes to Sound Blaster Web Update setup prompts

#ce ----------------------------------------------------------------------------

while True
	
	opt("WinTitleMatchMode", 2)
	
	if Winexists(" - InstallShield Wizard", "Choose Setup Language") then
		WinActivate(" - InstallShield Wizard", "Choose Setup Language")
		send("!n")
	EndIf
	
	opt("WinTitleMatchMode", 1)
	
	if Winexists("Setup", "Click [OK] to continue or [Cancel] to exit installation") then
		WinActivate("Setup", "Click [OK] to continue or [Cancel] to exit installation")
		send("{enter}")
	EndIf

	if Winexists("Installation Wizard", "Press the PAGE DOWN key to read the entire agreement") then
		WinActivate("Installation Wizard", "Press the PAGE DOWN key to read the entire agreement")
		send("{enter}")
	EndIf
		
	if Winexists("Installation Wizard", "Please read through the contents of the readme file shown below") then
		WinActivate("Installation Wizard", "Please read through the contents of the readme file shown below")
		send("{enter}")
	EndIf
		
	if Winexists("Question", "Setup has found the same version of ") then
		WinActivate("Question", "Setup has found the same version of ")
		send("!y")
	EndIf

	if Winexists("Setup", "Setup has found a newer version of ") then
		WinActivate("Setup", "Setup has found a newer version of ")
		send("{enter}")
	EndIf
	
	if Winexists("Installation Wizard", "Setup will install the software in the folder shown below") then
		WinActivate("Installation Wizard", "Setup will install the software in the folder shown below")
		send("{enter}")
	EndIf
		
	if Winexists("Installation Wizard", "Setup has enough information to start copying the program files") then
		WinActivate("Installation Wizard", "Setup has enough information to start copying the program files")
		send("{enter}")
	EndIf
				
	if Winexists("Installation Wizard", "Your computer system has to be restarted for the changes to take effect") then
		WinActivate("Installation Wizard", "Your computer system has to be restarted for the changes to take effect")
		send("{down}{enter}")
		exitloop
	EndIf
		
	if Winexists("Installation Wizard", "Setup has finished installing ") then
		WinActivate("Installation Wizard", "Setup has finished installing ")
		send("{enter}")
		exitloop
	EndIf
		
	if Winexists("Error", "Please reboot and try again") then
		WinActivate("Error", "Please reboot and try again")
		send("{enter}")
		exitloop
	EndIf
		
	sleep(2000)
 
wEnd


Edit - added some more details about usage

This post has been edited by Yering: 18 April 2009 - 07:44 PM



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