Jump to content

AutoIt: How to shut a classic explorer window during setup?


Dislocated Time

Recommended Posts

Aaaaaaaaaarrgh...

During Faber Toys setup, an explorer window pops up.

I used the recorder to get the title of the explorer window...

which is ("C:\Documents and Settings\All Users\Start Menu\Programs\System\Faber Toys","FolderView")

So I wanted to get rid of that window...

so I tried:

WinKill("C:\Documents and Settings\All Users\Start Menu\Programs\System\Faber Toys","FolderView")

which didn't work

I tried:

WinClose("C:\Documents and Settings\All Users\Start Menu\Programs\System\Faber Toys","FolderView")

which didn't work

I tried:

ProcessKill(Explorer.exe)

which effectively killed my desktop, but not the freakin explorer window that I was trying to close.

I tried:

ControlSend("C:\Documents and Settings\All Users\Start Menu\Programs\System\Faber Toys","FolderView","ToolbarWindow32","!F{DOWN 3}{ENTER}")

which didn't work...

somebody please give me a hint!

Edited by Dislocated Time
Link to comment
Share on other sites


somebody please give me a hint!

Try a

WinWait("Faber Toys", "")
WinClose("Faber Toys", "")

which works for me. But I recomend a repack with Inno Setup. Use the last innounp on the installer,

open install_script.iss and delete the entire Run section first (except [Run] string), customize others settings (icons) bla bla and compile. Then you can run with

 /verysilent /norestart

switches.

Edited by radix
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...