简体   繁体   English

GTK#.NET应用程序,无需单独的GTK#Install

[英]GTK# .NET Application without requiring separate GTK# Install

I was playing around with developing C# apps using MonoDevelop on windows and found that I like using GTK# instead of winforms. 我在Windows上使用MonoDevelop开发C#应用程序,发现我喜欢使用GTK#而不是winforms。 However, as far as I could tell so far you cannot just embed the GTK# runtime into the application. 但是,据我所知,到目前为止,您无法将GTK#运行时嵌入到应用程序中。 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. 问题是我宁愿不要求我正在努力的应用程序的最终用户必须单独安装GTK#这对于像我这样的极客来说很好,但该应用程序适用于非极客用户我希望安装几乎是一键操作。 Any ideas? 有任何想法吗?

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#installer在应用程序安装程序中执行的所有操作(将文件放在正确的位置,注册表项,PATH等)

The Wix files for the Gtk# installer are here: http://anonsvn.mono-project.com/viewvc/trunk/win32-installers/ Gtk#安装程序的Wix文件位于: http//anonsvn.mono-project.com/viewvc/trunk/win32-installers/

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM