How to run executable at end of Setup Project?

后端 未结 7 1057
眼角桃花
眼角桃花 2021-01-07 18:22

I have a Visual Studio Setup Project that I use to install a fairly simple WinForms application. At the end of the install I have a custom user interface page that shows a s

7条回答
  •  星月不相逢
    2021-01-07 18:57

    I managed it by doing invoking the Main method the assembly using the following line:

    (typeof(ClassWithinAssemblyToExecute)).Assembly.EntryPoint.Invoke(null, new Object[] {} )
    

提交回复
热议问题