cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
pokersard
Level 2

When installshield installation ends?

Hi,
i'm writing a .NET application that launch several installation.
I don't know what is the best way to recognize when an installation ends to launch the next.
Can you help me?
There is a way that Installshield can to say to .NET: hello! i'm finish to install, now you can proceed.

Thanks in advance
Labels (1)
0 Kudos
(2) Replies
Cary_R
Level 11

Hi There,

Typically, you just poll for the exit of the process you're calling.

But, in the case of subordinate processes, this might not work as cleanly. If all your setups are *.msi packages, I would just poll for the release of the _MsiExecute mutex, which means that Execute sequence will have finished. If you're running all of them silently, that will unambiguously mean that the setup is done.

For reference:

http://msdn.microsoft.com/en-us/library/system.threading.mutex.aspx
0 Kudos
pokersard
Level 2

Thanks Cary,
i can't poll for the end of the process because there are subordinate processes.
And i don't use MSI packages so i can't poll the release of the appropriate mutex!
Sorry but i don't understand the silently option. Can you explain better?

Thanks
0 Kudos