GTK# .NET Application without requiring separate GTK# Install

房东的猫 提交于 2020-01-02 04:30:11

问题


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?


回答1:


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

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.)

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



来源:https://stackoverflow.com/questions/1888463/gtk-net-application-without-requiring-separate-gtk-install

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!