Hi,
i am using IA 2010 in the following situation
created a project called Setup A 5.0, product code of AAA and the revision code of 123
created a project called Setup A 6.0, product code of AAA and the revision code of 456
The use case is, my customer installs the software with Setup A 5.0 a few month ago. Now i want to upgrade this version to 6.0, uninstalling the version 5.0 and installing the version 6.0 into a different target folder.
I have no success. I have put a messagebox in the first line of my script to display the value of NEEDSUGPRADE. And this variable is always FALSE.
How can i replace a old version with my new version ?
Thanks
Ulrich
NEEDSUPGRADE always set to false
-
- Site Admin
- Posts: 5361
- Joined: Sun Aug 22, 2010 4:28 am
Re: NEEDSUPGRADE always set to false
Dear Ulrich,
I really suppose that exist something wrong somewhere with your project settings.
By default InstallAware handles the update process automatically.
Just having a new revision code with a project build ( ... which it is by default) causes the upgrade process to be triggered ( ... with same PRODUCTCODE and UPGRADECODE) .
For example try the following;
- Create a new project from scratch, leave all project settings as these are by default.
- Build the project and install the package over a target machine.
- Rebuild the project ( ... by default the revision code will be regenerated with ne new build).
- Run the new package build over the same target machine.
I'm sure the previous version will be uninstalled first.
Let me know.
Regards
I really suppose that exist something wrong somewhere with your project settings.
By default InstallAware handles the update process automatically.
Just having a new revision code with a project build ( ... which it is by default) causes the upgrade process to be triggered ( ... with same PRODUCTCODE and UPGRADECODE) .
For example try the following;
- Create a new project from scratch, leave all project settings as these are by default.
- Build the project and install the package over a target machine.
- Rebuild the project ( ... by default the revision code will be regenerated with ne new build).
- Run the new package build over the same target machine.
I'm sure the previous version will be uninstalled first.
Let me know.
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
-
- Posts: 4
- Joined: Mon Nov 05, 2012 5:58 am
Re: NEEDSUPGRADE always set to false
Hi Francesco,
i did a new project and it works as expected.
But what could be wrong with my former created project ? We are using IA since about 2 years. We want to roll out a new version of our software and therefor we need first to uninstall the old version and then install the new version.
Thanks
Ulrich
i did a new project and it works as expected.
But what could be wrong with my former created project ? We are using IA since about 2 years. We want to roll out a new version of our software and therefor we need first to uninstall the old version and then install the new version.
Thanks
Ulrich
-
- Site Admin
- Posts: 5361
- Joined: Sun Aug 22, 2010 4:28 am
Re: NEEDSUPGRADE always set to false
Dear Ulrich,
Verify that both your projects shares the same PRODUCTCODE and UPGRADECODE, but a different REVISIONCODE.
These are the minum required settings to have upgrade functionality working.
Let me know.
Regards
Verify that both your projects shares the same PRODUCTCODE and UPGRADECODE, but a different REVISIONCODE.
These are the minum required settings to have upgrade functionality working.
Let me know.
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: NEEDSUPGRADE always set to false
Ulrich, did you ever figure out what was wrong with the old project?
Who is online
Users browsing this forum: No registered users and 133 guests