This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- When installshield installation ends?
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jul 01, 2011
08:33 AM
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
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
(2) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jul 01, 2011
09:19 AM
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
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
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jul 01, 2011
09:37 AM
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
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