Windows7 Installer takes priority how to move it back during installation using C#?

Posted by shahjapan on Stack Overflow See other posts from Stack Overflow or by shahjapan
Published on 2010-02-23T10:11:12Z Indexed on 2010/05/09 19:28 UTC
Read the original article Hit count: 207

Filed under:
|
|
|
|

I've a custom Action on Deployment project of .NET Applicaiton, which contains custom dialogbox to enter certain parameters, on invalid parameters I've shown MessageBox.Show - but its being hide by installer window, I tried windows forms too with Activate, TopMost, Focus,bring2front, etc serveral options but it comes by default behind the windows installer window and due to this user is not able to identify why installing process is not finishing - because actually its waiting for user to read the MessageBox and press OK.

I've tried to implement IWin32Window with the handler of MsiExec Process, and shown the Messagebox but still its not working, anyone has idea ???

Here is my installer.cs function defination,

public override void Install(IDictionary stateSaver)

© Stack Overflow or respective owner

Related posts about windows-7

Related posts about installer