本文介绍了而不需要单独的GTK#安装GTK#.NET应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我与发展中国家在Windows上使用MonoDevelop的C#应用​​程序玩耍,发现我喜欢使用GTK#代替的WinForms的。但是,据我到目前为止告诉你不能只是嵌入GTK#运行到应用程序中。问题是,我宁可不要要求一个应用程序我工作的具有单独安装GTK#的最终用户......这是罚款,像我这样的怪才,但应用程序将是无用户怪胎我想安装到几乎是一键即可操作。任何想法?

I was playing around with developing C# apps using MonoDevelop on windows and found that I like using GTK# instead of winforms. However, as far as I could tell so far you cannot just embed the GTK# runtime into the application. The problem is that I would rather not have to require the end users of an app I'm working on to having to install GTK# separately... this is fine for geeks like me, but the app would be for non-geek users and I want the install to pretty much be a one click operation. Any ideas?

推荐答案

易的方法是嵌入Gtk#的安装程序到应用程序的安装程序。

The "easy" way is to embed the Gtk# installer into your application's installer.

更难的方法是复制一切Gtk#的安装程序会在您的应用程序的安装(把文件放在正确的位置,注册表项,路径等)

The harder way would be to replicate everything the Gtk# installer does in your application's installer (put files in the correct place, registry keys, PATH, etc.)

的维克斯文件的Gtk#的安装程序在这里:

The Wix files for the Gtk# installer are here:http://anonsvn.mono-project.com/viewvc/trunk/win32-installers/

这篇关于而不需要单独的GTK#安装GTK#.NET应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

07-03 09:17
查看更多