Click here to Skip to main content
15,936,633 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hi All,

I am creating Custom install class which call my own forms.
I want to hide installer process window when call my own created form.
Mu custom installer class like
    public partial class Installer1 : Installer
        public Installer1()
        public override void Install(System.Collections.IDictionary stateSaver)
        private void Installer1_AfterInstall(object sender, InstallEventArgs e)
           Form1 topmostForm = new Form1();
            topmostForm.TopMost = true;

When topmostForm.ShowDialog() call that time default installer window is also display. But i want to hide it from task bar also.

Please help me in this.

Thanks in Advance.
Updated 5-Jun-11 23:51pm

1 solution

Set the ShowInTaskbar property to False.
Share this answer
Savalia Manoj M 6-Jun-11 6:10am    
I want to hide default installer windows not topmostForm. so ShowInTaskbar property is not working for that.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900