Support #3200

Windows installer auto de-installs previous version

Added by Boris Cornet over 2 years ago. Updated about 2 years ago.

Status:In Progress Start Date:12/14/2010
Priority:Normal Due date:
Assigned to:Boris Cornet % Done:

100%

Category:-
Target version:0.18-dev
Resolution:

Description

Is it a bug or a feature?

Win installer for rc4 removed rc3! This is not at all an expected behaviour, especially since the target folders are different and "Custom installation" was chosen.

I suggest to switch to Inno Setup, which allows a lot more fine tuning (e.g. download the QT libs only if they are not yet installed,...)

Being a C++ rookie, I can't help in Merkaartor developement, but I've got some experience writing Inno scripts, just tell me if I can help...

versiondata.ini (2.1 kB) Boris Cornet, 01/14/2011 12:37 pm

instructions.txt - copy of mail from Apr. 4 (4.8 kB) Boris Cornet, 04/22/2011 09:44 am

History

Updated by Chris Browet over 2 years ago

  • Assigned to set to Boris Cornet

Wix scripts are a nightmare to maintain because they are too low-level and thus requiring in-depth knowledge of Windows msi system...
You're very, very welcome to create an Inno or other setup tool script! :)

Now, regarding version overriding, I'd say replace when version is the same (i.e. 0.17-rc4 replaces 0.17-rc3) but keep concurrent with other versions (e.g. 0.16.3 + 0.17-rc + 0.18-dev).
So, I'd say the directory naming should be something like "Merkaartor 0.17", without the "-rc".

Thanks in advance

Updated by Chris Browet over 2 years ago

Hi Boris

Are you progressing in this?
If possible, I'd like to implement your scripts for daily 0.18 asap

Updated by Boris Cornet over 2 years ago

  • Target version changed from 0.17.0 to 0.18-dev
  • % Done changed from 0 to 10

I'm on holiday this week, so I think there are going to be results soon...

Updated by Chris Browet over 2 years ago

Any news?

If you are too busy, I'll try with NSIS...

Updated by Boris Cornet over 2 years ago

I am progressing, but not as fas as I'd wish too.
If possible, just use Wix for the next few nightly builds.

Please have a look at the attachment. It is an INI file which is the central part of the upcoming installer:
Its use is twofold: It is used to build installers and it is downloaded by the Installer/Updater to determine which versions are available and which parts are to be downloaded.

The definitions therein are not complete, but you'll get the idea. It is well commented.

Updated by Chris Browet over 2 years ago

Boris,

I assume you pretty much stopped working on this, did you?
Would you be so kind as to attach or send me what you have. I'll try to take over from there.

Thx

Updated by Boris Cornet over 2 years ago

  • % Done changed from 70 to 80

Well, January was a horribly busy month, and so is february. Actually the project was on hold for the last weeks. Just give me one more week, If I don't succeed within that periode, I'll send you all there is.

Updated by Chris Browet over 2 years ago

  • Status changed from New to In Progress

Okidokey. Thanks

Updated by Boris Cornet over 2 years ago

  • % Done changed from 80 to 90

OK, I'm still late ;-<

The good news is: I have finished the code and am currently testing it.

Results are to arrive soon.

Updated by Boris Cornet about 2 years ago

Done. Chris: I have sent you an email on Apr. 4. Did you miss it?

The installer is temporarily online for testing now:
http://osm-at.org/merkaartor/Setup_Merkaartor.exe

Source: http://osm-at.org/temp/merkaartor_installer.zip

Instructions: see attached file

Updated by Chris Browet about 2 years ago

Thanks. I saw your earlier message but I'm less on Merkaartor those days.

I'll try to work on it this (long) weekend

Also available in: Atom PDF