Installing multiple versions getting an error

Got a problem you cannot solve? Try here.
pro510
Posts: 19
Joined: Tue Oct 07, 2014 10:41 am

Installing multiple versions getting an error

Postby pro510 » Wed Jan 21, 2015 1:25 pm

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
Attachments
log.txt
Installer log file
(262.62 KiB) Downloaded 339 times

FrancescoT
Site Admin
Posts: 5361
Joined: Sun Aug 22, 2010 4:28 am

Re: Installing multiple versions getting an error

Postby FrancescoT » Thu Jan 22, 2015 12:45 pm

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
Francesco Toscano
InstallAware Software

White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE

pro510
Posts: 19
Joined: Tue Oct 07, 2014 10:41 am

Re: Installing multiple versions getting an error

Postby pro510 » Mon Jan 26, 2015 10:24 am

Yes the installation exited prematurely with an error box that just said "Error".

FrancescoT
Site Admin
Posts: 5361
Joined: Sun Aug 22, 2010 4:28 am

Re: Installing multiple versions getting an error

Postby FrancescoT » Mon Jan 26, 2015 1:33 pm

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
Francesco Toscano
InstallAware Software

White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE

pro510
Posts: 19
Joined: Tue Oct 07, 2014 10:41 am

Re: Installing multiple versions getting an error

Postby pro510 » Thu Jan 29, 2015 12:17 pm

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

FrancescoT
Site Admin
Posts: 5361
Joined: Sun Aug 22, 2010 4:28 am

Re: Installing multiple versions getting an error

Postby FrancescoT » Thu Jan 29, 2015 2:31 pm

Dear Graham,

please send your files to: support@installaware.com

Regards
Francesco Toscano
InstallAware Software

White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE

pro510
Posts: 19
Joined: Tue Oct 07, 2014 10:41 am

Re: Installing multiple versions getting an error

Postby pro510 » Fri Jan 30, 2015 10:29 am

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

FrancescoT
Site Admin
Posts: 5361
Joined: Sun Aug 22, 2010 4:28 am

Re: Installing multiple versions getting an error

Postby FrancescoT » Fri Jan 30, 2015 12:23 pm

Dear Graham,

just received your message, I'll be back to you as possible.

Regards
Francesco Toscano
InstallAware Software

White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE


Return to “Technical Support”

Who is online

Users browsing this forum: No registered users and 114 guests