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
Installing multiple versions getting an error
Installing multiple versions getting an error
- Attachments
-
- log.txt
- Installer log file
- (262.62 KiB) Downloaded 339 times
-
- Site Admin
- Posts: 5361
- Joined: Sun Aug 22, 2010 4:28 am
Re: Installing multiple versions getting an error
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
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
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
Re: Installing multiple versions getting an error
Yes the installation exited prematurely with an error box that just said "Error".
-
- Site Admin
- Posts: 5361
- Joined: Sun Aug 22, 2010 4:28 am
Re: Installing multiple versions getting an error
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
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
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
Re: Installing multiple versions getting an error
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
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
-
- Site Admin
- Posts: 5361
- Joined: Sun Aug 22, 2010 4:28 am
Re: Installing multiple versions getting an error
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
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
Re: Installing multiple versions getting an error
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
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
-
- Site Admin
- Posts: 5361
- Joined: Sun Aug 22, 2010 4:28 am
Re: Installing multiple versions getting an error
Dear Graham,
just received your message, I'll be back to you as possible.
Regards
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
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
Who is online
Users browsing this forum: Baidu [Spider] and 188 guests