Page 1 of 1

Windows installer

PostPosted: Thu Aug 12, 2010 6:54 pm
by gerundt
I want to try to create a Windows installer for WinMerge 3.x (using our current WiX sources as basic). Here are some question:

What directory structure should we use?

Since we this time only use WiX as setup system, I think we don't need the name "WiX" in directory. What think you about "/installer/windows/..."?

What name use we for the program list and start menue?

WinMerge 2.x use "WinMerge". Since people maybe install the new version parallel to the old version, we should use a other name. But which?

  • WinMerge 3
  • WinMerge 3.x
  • WinMerge <CompleteVersion>
  • WinMerge III
  • WinMerge QT
  • ...

Which runtime files must we install?

Has somebody experience with installer for QT projects?

Greetings,
Tim

Re: Windows installer

PostPosted: Thu Aug 12, 2010 7:21 pm
by kimmov
A bit premature as we barely have something that compiles yet... :) But then, why not...

I think you should start by reading Qt's deployment documentation first. There are many good hints.

gerundt wrote:What directory structure should we use?
Since we this time only use WiX as setup system, I think we don't need the name "WiX" in directory. What think you about "/installer/windows/..."?

I doubt we'll have installer for other platforms than Windows so it could be just win_installer or something like that. But whatever you choose, use low letter pathnames.

gerundt wrote:What name use we for the program list and start menue?
WinMerge 2.x use "WinMerge". Since people maybe install the new version parallel to the old version, we should use a other name. But which?

Really, we are far away from the state we want anybody than developers to even consider installing it. But my first thought is we want to replace old WinMerge 2.x version with new version. Why would users need/want two versions side by side? And installers are for users.

gerundt wrote:
  • WinMerge 3
  • WinMerge 3.x
  • WinMerge <CompleteVersion>
  • WinMerge III
  • WinMerge QT
  • ...

WinMerge + version number sounds good too. Lots of programs use that scheme. But I also think WinMerge Qt (it is small 't'!) might be nice.

gerundt wrote:Which runtime files must we install?
Has somebody experience with installer for QT projects?

Yes, look at Cppcheck installer. Its been doing Qt installing for some time now. Basically its just normal MSVC runtime installation (using merge modules). And then selection of Qt DLLs, depending which modules are used. In our case probably (Qt core, Qt GUI and Qt XML).

Re: Windows installer

PostPosted: Fri Aug 13, 2010 6:05 am
by gerundt
kimmov wrote:A bit premature as we barely have something that compiles yet... :) But then, why not...


Since I am still no C/C++ developer, I can only help with the infrastructure. :mrgreen:

kimmov wrote:I doubt we'll have installer for other platforms than Windows so it could be just win_installer or something like that. But whatever you choose, use low letter pathnames.


I am not sure what we later need for Mac OS X packages or if we want to build RPM and deb packages for Linux. Maybe we can put scripts for this in subdirectories.

kimmov wrote:Why would users need/want two versions side by side? And installers are for users.


Until we have no stable version from WinMerge 3.x, the user maybe install version 2.x for working and 3.x for playing. :)

Re: Windows installer

PostPosted: Fri Aug 13, 2010 6:33 am
by kimmov
gerundt wrote:Since I am still no C/C++ developer, I can only help with the infrastructure. :mrgreen:

Very much appreciated of course! :D

gerundt wrote:
kimmov wrote:I doubt we'll have installer for other platforms than Windows so it could be just win_installer or something like that. But whatever you choose, use low letter pathnames.

I am not sure what we later need for Mac OS X packages or if we want to build RPM and deb packages for Linux. Maybe we can put scripts for this in subdirectories.

Well, Mac OX X might be good idea if somebody is able to maintain it. But having "universal" RPM or DEB packaging is quite a hard thing to do. For example package names and versions vary quite a bit. And distribution packagers do anyway much better work we ever could.

gerundt wrote:
kimmov wrote:Why would users need/want two versions side by side? And installers are for users.

Until we have no stable version from WinMerge 3.x, the user maybe install version 2.x for working and 3.x for playing. :)

Good point - of course making it easier for user to test new versions means we get more testing...

Re: Windows installer

PostPosted: Tue Sep 22, 2015 6:38 am
by pionel_2000
Hi,

I have a suggestion. Qt Framework has introduced Qt Installer Framework, see http://download.qt.io/official_releases ... framework/
It is a good cross platform installer for the Qt based projects.

Regards,
Ion