h3l1 Messages: 28 Registered: August 2006 Location: Innsbruck, Austria
Promising Member
Hi there,
after installing always the latest version of theide, I just think it would be nice to have a file dialog option to choose from the default installation path for upp and the default installation path for myprojects. As upp has such a cool and rich GUI library why isn't it there in the installation tool?
Reini Messages: 28 Registered: April 2009 Location: Berlin
Promising Member
Hello U++ Fans,
I am just keeping an eye on U++ since some months and I think now has come the time to contribute a bit
So to you Mirek I would like to contribute with this topic either in doing an installer with the proposed software Inno Setup or if its really more the prefered way also a "low-level" Win32 API BrowseforFolder approach.
Meanwhile I have inspected the sourcecode for that install routine and it seems to me a bit very "low-level" and deprecated in our times. For me the only reasonable explanation for integrating that so hard coded is reducing download size but not the simplicity and acceptance for the first time user...
Or in other words the professional work behind the scenes and possibilites with U++ are not obvious to a first time user But anyway I would thank you very much for your good work.
I can do several things from coding C++ to documenting or translating in german or even other languages
For learning purposes I was considering in doing some small monopoly game for my father since he plays sometimes still an rather old version of "Winopoly" which is from 1993 and written in 16 Bit Code But surprisingly it still runs in Vista...
He asked me several times for a newer version and I looked up on SF but all I found was just crap or too complicated for him compared to that old simple game. Would be also a nice demo on all supported plattforms!
In addition I am thinking to buy a Mac and do some progress in pushing U++ further on the Leopard.
I am just keeping an eye on U++ since some months and I think now has come the time to contribute a bit
So to you Mirek I would like to contribute with this topic either in doing an installer with the proposed software Inno Setup or if its really more the prefered way also a "low-level" Win32 API BrowseforFolder approach.
Well, one good reason to avoid Inno at this time (besides the fact that I think "wizard style" installers are tedious and slow - what is wrong with fast installation?) is that win32 automated releases get generated in Wine and I am afraid it would not be so easy to control Inno build by bash script...
emr84 Messages: 26 Registered: April 2008 Location: Argentina
Promising Member
luzr wrote on Thu, 16 April 2009 06:42
Well, one good reason to avoid Inno at this time (besides the fact that I think "wizard style" installers are tedious and slow - what is wrong with fast installation?) is that win32 automated releases get generated in Wine and I am afraid it would not be so easy to control Inno build by bash script...
Reini Messages: 28 Registered: April 2009 Location: Berlin
Promising Member
Hello Mirek and others,
Ok now I got a better understanding how this works and why u did it this way. The NSIS Installer is also available as a Linux Binary and could be the best solution since a better installer would be a nice idea for future relases.
Here is a great tutorial for Linux.
Besides what about the Idea to switch the whole build system to CMake ? I am dealing at my work with it and we come pretty good along so far on Windows and FreeBSD.
Besides what about the Idea to switch the whole build system to CMake ? I am dealing at my work with it and we come pretty good along so far on Windows and FreeBSD.
No way.
But I wonder what exactly you refer to as "build system". TheIDE has its build system, which is tailored for fast and reliable C++/U++ development (package dependencies, BLITZ...).
Then there is Makefile export, mostly to have src releases of applications. Maybe we could use CMake here, OTOH the sole purpose is to get something that you can compile relatively easily; that OTOH is why you want to use the 'lowest' common standard, right?
Ok now I got a better understanding how this works and why u did it this way. The NSIS Installer is also available as a Linux Binary and could be the best solution since a better installer would be a nice idea for future relases.
One way or another, there is quite a lot of work involved installing something like that as compare to simply fixing the installer package.
(Fixing installer -> everything will work out of box next evening).
Reini Messages: 28 Registered: April 2009 Location: Berlin
Promising Member
Anyway I understand your way of simplicity and stuff.
But on the long hand there must be a better solution for the install way.
If you wish I can do the patch for the BrowseforFolder Option in the Installer and meanwhile I try to figure out a better way on handling that automatically.
Concerning the build system is it possible to build applications only with that libs needed in this particular program ?
For eaxmple if I use only TopWindow I don't need the whole CtrlLib in my Application.
Reini Messages: 28 Registered: April 2009 Location: Berlin
Promising Member
Hello Mirek and others,
Finally I have done a small Function in Win32 API for Browsing Folders.
I will post it here as Attachment and will ask Mirek for including it in the next Release. I am not quite sure at the moment how to place it correctly in the upp Structure. I've seen there is a
Finally I have done a small Function in Win32 API for Browsing Folders.
I will post it here as Attachment and will ask Mirek for including it in the next Release. I am not quite sure at the moment how to place it correctly in the upp Structure. I've seen there is a
install.cpp
where it should fit into.
Could you test that and integrate it Mirek ?
Thx so far
OK, using that code, I have added "Browse" button.
It's not truly portable, it need Java What we want is to have an installer which run native on OS without any requirements. I think current installer(with Browse button) is quite good for Windows and Linux/Unix have sources from where to build or debian packages.