Open Lothdeorn opened 3 years ago
Hi @Lothdeorn, i am sorry but this tutorial is already 3 years old and, as i actually do no need PgModeler i do not plan to update or test this tutorial for the time being :flushed:
That said pgmodeler.iss
is only used to create a windows installer with Inno Setup. But, it seem like than the last version of PgModeler (0.9.3) do not use (or provide) Inno Setup scripts any more (you can find the last one under the 0.9.2 tag). It look like it instead use it's own deploy script for Windows (probably using qmake).
Also, the official PgModeler builds docs are probably more up to date than this old tutorial, please see pgmodeler.io
Finally, since 3 years ago i would probably now do things differently to install/run PgModeler on Windows:
1) work with the Windows-Subsystem-Linux (WSL) instead of MSYS2/MinGW
2) and simply try apt install pgmodeler
(but not sure if it actually work)
:point_right: And, at last if you need to install it for some sort of corporate usage, i simply recommend you to buy it for 40$ (or more) because the developer do not have put a limit on the number of user/computer it can be used on. This is a nice and cheap way to suport the developer for his great work!
Thanks for the answer. Yeah. No, i don't use it for corporate usage. I'm in an open-source community who try to save game for free. And i needed a good open-source UML designer.
Everything work perfectly. It's just than i couldn't make an installer for windows (Because i want to share the software to the devs who work with me). I will try to do it like you said. :)
Nice tutorial by the way. The only good one i could find on internet. Good job.
Hi. I'm compiling for the 0.9.3 version. The author of pgmodeler has created a script in the pgmodeler root dir, called windeploy.sh, and removed the Inno Setup file from the repo after the 0.9.0 release. The new script takes care of all of the preparation / compiling of the software, and the installer packaging, which is now done through the qt-installer-framework.
So, the instructions in this howto are still good for the requisites, up to the point where you do the pgmodeler git clone and checkout to the desired version tag, but after that, you should call windeploy.sh -x64-build and hope that you have all the necessary stuff to make it through the configuration, compilation and packaging.
BTW I had to aditionally install mingw-w64-x86_64-qt-installer to get the binarycreator command.
Since miniwark has manifested he has no interest in mantaining this howto, I'll fork and update with new instructions based on my experience, and send a pull request.
Greetings, Arturo
Hello,
Thanks for the work ! Yeah, best is to fork the stuff because it's a good tutorial to explain how to compile pgmodeler. (Best i could find and who is working)
Greetings,
Here:
I followed your tutorial, everything worked perfectly, i can launch pgModeler without issues. I'm stuck at the "Build pgModeler 0.9.0 for Windows 64-bit" step. I can't find the pgmodeler.iss file in /installer/windows/ folder.
I've check, it's not here. How we generate it ? Thanks !