Archive: Thanks, InstallShield!


I've been presented with another problem:

Part of my installation package is an InstallShield installer. To use it, I need to run SETUP.EXE and wait until _ISDEL.EXE is finished.

I can't ExecWait SETUP.EXE because it exits as soon as the Welcome screen pops up.

I don't know the class name of _ISDEL.EXE or anything like that.

I can't change the package to NSIS or anything because it wasn't written by me.

Thoughts?


Hmmmm....Try this to get the classname of _Isdel.exe

EF Process Manager v1.40
05-14-01
See and kill active processes & modules
Company: Emil Fickel
Version: 1.40
Size: 181.04 KB

Requirements: Windows 9x, NT, 2000, or Me
Purchase Information: Shareware: Free to try, $10 if you decide to keep it.

See what's going on behind the scenes in Windows with EF Process Manager. This well-crafted task manager displays a sortable list of all active processes and modules. Show all loaded modules, or only those used by a particular process. You can kill or close any running process with ease. Plus, you can register and unregister modules on the fly. Some of the other handy features let you see a list of Windows error codes, consult environment variables, search for modules on a disk, and export the information for further use in Excel. Purchase removes the opening and closing shareware reminder screens.
Reviewed on Oct 16 2000.

Info borrowed from ZDNET http://www.zdnet.com/downloads/stori...,,001BJN,.html

-=Gonzotek=-


Try ExecWaiting "setup.exe /SMS" and see if that makes Setup.exe resident for the length of the installation.


Thanks for that switch, Matt! Just wondering where you found that. Is there a list or something on the 'Net?

Thanks for your idea, Goznotek, but I've realised that you can find a window by its class but you can't wait for it to close, yet (hint, hint!).


hi,

try it like this:


Function FindWinAndWait
StrCpy $0 window_class_or_title
FindWindow Goto:lbl_found $1
;FindWindowByTitle Goto:lbl_found $1

Goto lbl_end

lbl_found:
Sleep 500
Call FindAndWait

lbl_end:
FunctionEnd

Exec whatever
Sleep 1000
Call FindWinAndWait


cu yzo