switch Posted February 19, 2008 Posted February 19, 2008 Another noob question I've AutoIted a setup and I want to hide all windows it pops up. How can I do that? Thanks in advance. expandcollapse popup#NoTrayIcon FileInstall ( "vista_inspirat.exe" , @TempDir & "vista_inspirat.exe" ); Opt ( "WinWaitDelay" , 300 ); Opt ( "WinTitleMatchMode" , 4 ); Opt ( "WinDetectHiddenText" , 1 ); ;RunSetup Run ( @TempDir & "vista_inspirat.exe" ); ;BeginSetup WinWaitActive ( "Installer Language" , "Please select a language." ); Send ( "{ENTER}" ); ;WelcomeScreenOK WinWaitActive ( "Vista Inspirat 2 1.0 Setup" , "Welcome to the Vista Inspirat 2 1.0 Setup Wizard" ); Send ( "{ENTER}" ); ;AgreeTheLicense WinWaitActive ( "Vista Inspirat 2 1.0 Setup" , "Please review the license terms before installing Vista Inspirat 2 1.0." ); Send ( "{TAB}" ); ... ;SelectModeOfInstallation WinWaitActive ( "Vista Inspirat 2 1.0 Setup" , "Choose your mode of installation" ); Send ( "{DOWN}" ); ... ;ChooseComponents WinWaitActive ( "Vista Inspirat 2 1.0 Setup" , "Choose which features of Vista Inspirat 2 1.0 you want to install." ); Send ( "{TAB}" ); ... ;SelectDestination WinWaitActive ( "Vista Inspirat 2 1.0 Setup" , "Choose the folder in which to install Vista Inspirat 2 1.0." ); Send ( "C:\Windows\VistaMod\" ); ... ;SelectStartMenuFolder WinWaitActive ( "Vista Inspirat 2 1.0 Setup" , "Choose a Start Menu folder for the Vista Inspirat 2 1.0 shortcuts." ); Send ( "\Vista Inspirat 2" ); ... ;Done WinWaitActive ( "Vista Inspirat 2 1.0 Setup" , "Completing the Vista Inspirat 2 1.0 Setup Wizard" ); Send ( "{ENTER}" ); Exit
switch Posted February 20, 2008 Author Posted February 20, 2008 Of course I've tried things like Run ( @TempDir & "vista_inspirat.exe" , "" , @SW_HIDE ); but it didn't work..
BrettF Posted February 20, 2008 Posted February 20, 2008 Of course I've tried things like Run ( @TempDir & "vista_inspirat.exe" , "" , @SW_HIDE ); but it didn't work..Does the program run? Vist my blog!UDFs: Opens The Default Mail Client | _LoginBox | Convert Reg to AU3 | BASS.au3 (BASS.dll) (Includes various BASS Libraries) | MultiLang.au3 (Multi-Language GUIs!)Example Scripts: Computer Info Telnet Server | "Secure" HTTP Server (Based on Manadar's Server)Software: AAMP- Advanced AutoIt Media Player | WorldCam | AYTU - Youtube Uploader Tutorials: Learning to Script with AutoIt V3Projects (Hardware + AutoIt): ArduinoUseful Links: AutoIt 1-2-3 | The AutoIt Downloads Section: | SciTE4AutoIt3 Full Version!
switch Posted February 20, 2008 Author Posted February 20, 2008 (edited) Yes, setup is executing properly. It's NSIS installer and first window is a splash. Edited February 20, 2008 by switch
switch Posted February 28, 2008 Author Posted February 28, 2008 problem solved: http://commandline.co.uk/chp/
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now