ClickOnce is a great deployment model for many Windows applications built with the .NET Framework. Too bad it isn't supported for C++, VB 6, or other technologies. Or is it...
Surprisingly, you can deploy your unmanaged apps with ClickOnce. You just need a tiny .NET app to get it started.
Here's how it works:
static void Main(string[] args) { try { Process.Start( "TheRealApp.exe" ); } catch ( Exception x ) { string msg = "Error launch application:\n\n" + x; string cap = "Error Launching Application"; MessageBox.Show( msg, cap, MessageBoxButtons.OK, MessageBoxIcon.Error ); } }
Posted in DevelopMentor | Talks | Visual Studio |Comments [4]
The content of this site are my own personal opinions and do not represent my employer's view in anyway.