Page 1 of 1
Installing multiple versions getting an error
Posted: Wed Jan 21, 2015 1:25 pm
by pro510
Hi,
We allow multiple versions of the same application to be installed on the user's machine. Each time we create a new version of our software, I copy the installer files (.mpr etc), and then create a new product code and set the new version number. A new revision code is set to be created each time it is built.
If we install version 1, then 2, then 3 etc, they all install fine. If however I install an older version after I have installed a more recent (e.g. version 2, then 1), then I get an error dialog box which just says "Error". The log file doesn't help me much (attached).
I have noticed that if I open up the .mpr file in notepad, I see the 2 GUID's which relate to the product code and upgrade code, but there is a third GUID (on the next line after the product code) which is constant throughout all of our installers, so I am wondering if this GUID has anything to do with the issue.
Any ideas?
Thanks in advance,
Graham
Re: Installing multiple versions getting an error
Posted: Thu Jan 22, 2015 12:45 pm
by FrancescoT
Dear Graham,
from your log file I am not able to see anything ... it seems not complete, maybe due a premature termination of the process.
Anyway, the third GUID you see with the .mpr file is the last generated and used revision code ... this value is automatically updated once the project is saved after a build.
Regards
Re: Installing multiple versions getting an error
Posted: Mon Jan 26, 2015 10:24 am
by pro510
Yes the installation exited prematurely with an error box that just said "Error".
Re: Installing multiple versions getting an error
Posted: Mon Jan 26, 2015 1:33 pm
by FrancescoT
Dear Graham,
if you are able to post a very minimal project that replicates the issue, I'll be happy to verify it ...
.. theoretically it seems you followed all the correct steps with creating your projects, but for sure there is something else we are missing ... but I am not able to identify which could be by the details you shared.
BTW, Each time you create a new version of your software, instead of manually copy the project files, can you try to generate such files using the "Save As ..." command from the IA File Menu?
When you create a copy of an existing project with storing it under a different folder ("Save As ..." command), you must consider that the new project, because it's a copy, it continues to use the same identical settings of your original project.
For example, if project A uses a main script file named "A script", the project B which is the copy of project A, it continues to use the same identical file. To have your new project completely independent from the source one, you must explicitly save the main script file under the new project directory as well.
To do this, open the new project and from the MSI code view in the IA IDE, right click your main script file visible under the left tree pane (the "Script" node) and then select "save Script file as...". Finally save the main script under the new project directory.
Regards
Re: Installing multiple versions getting an error
Posted: Thu Jan 29, 2015 12:17 pm
by pro510
Hi,
Sorry for the delay. I have two projects about 6MB each which replicate the error. How do you want me to get them to you?
Thanks,
Graham
Re: Installing multiple versions getting an error
Posted: Thu Jan 29, 2015 2:31 pm
by FrancescoT
Dear Graham,
please send your files to:
support@installaware.comRegards
Re: Installing multiple versions getting an error
Posted: Fri Jan 30, 2015 10:29 am
by pro510
Hi,
I couldn't send the files as an attachment as your mail server rejected them. Instead I have sent an email which contains a link to download them using my company's file transfer system.
Thanks,
Graham
Re: Installing multiple versions getting an error
Posted: Fri Jan 30, 2015 12:23 pm
by FrancescoT
Dear Graham,
just received your message, I'll be back to you as possible.
Regards