On windows I use Vala via MSYS2. How do I properly package the application so that it can run on another computer(along with Gtk). What and where windows should be placed from MSYS2 dll to exe you can run from anywhere?
Asked
Active
Viewed 193 times
1 Answers
3
You are using MSYS2 so you could try a three staged approach:
- Create a
PKGBUILD
file and usemakepkg-mingw
to build a MSYS2 package of your application - Install MSYS2 in a temporary directory and then your application's MSYS2 package, this will resolve the dependencies
- Use a tool like msitools or NSIS to create an installer for the files in your temporary directory, msitools plays nicer with installs in a corporate environment, but is not graphical, NSIS provides a GUI interface
Some references:
- Building and distributing your application - GTK Windows download page
- How to build your GTK+ application on Windows - detailed instructions for building the intermediate MSYS2 package, by Ignacio Casal Quinteiro
- What is major difference between MSI and EXE installation files?

AlThomas
- 4,169
- 12
- 22