Hello,
Is there a way to specify that IA will always overwrite the existing installation for a given product.
At the moment my installation works but when I run the application, the old version comes out.
Thanks,
Overwriting existing installations
Overwriting existing installations
Alberto Bencivenni
devDept Development Team Leader
Structural Optimization | Finite Element Method | Computer Graphics
Several ways:
1) Use the auto-upgrade feature, that will uninstall the old version before installing the new version - generally changing your revision code will take care of this for you (recommended approach)
2) Make sure your new version has a different product code and the new files have a newer version number and/or time stamp
3) Delete the old files manually using Win32 API before beginning the new install
4) More ways are possible...
Look into the auto upgrade functionality - for various reasons, this is the best approach to this problem.
1) Use the auto-upgrade feature, that will uninstall the old version before installing the new version - generally changing your revision code will take care of this for you (recommended approach)
2) Make sure your new version has a different product code and the new files have a newer version number and/or time stamp
3) Delete the old files manually using Win32 API before beginning the new install
4) More ways are possible...
Look into the auto upgrade functionality - for various reasons, this is the best approach to this problem.
Hello,
I tryed using the revision code, but my installation does not behave as expected.
I want to try the last time and let you know.
I would like an option in my preferences that say "Always overwrite the existing installation" that increments automatically the revision code every build.
Thanks,
I tryed using the revision code, but my installation does not behave as expected.
I want to try the last time and let you know.
I would like an option in my preferences that say "Always overwrite the existing installation" that increments automatically the revision code every build.
Thanks,
Alberto Bencivenni
devDept Development Team Leader
Structural Optimization | Finite Element Method | Computer Graphics
If you generate a setup using the project wizard or the templates, the project is automatically set to auto-increment the revision code, and will seamlessly uninstall old versions before installing new ones.
If not, you can still generate a blank project and copy-paste the code that does this to your own setup script. Remember - nothing is hard coded in InstallAware!
If not, you can still generate a blank project and copy-paste the code that does this to your own setup script. Remember - nothing is hard coded in InstallAware!
No, my setup doesn't overwrite the existing one and I started from the .NET template.
I changed the revision code 4 times.
Please, tell me a reliable way to do it.
Thanks a lot,
I changed the revision code 4 times.
Please, tell me a reliable way to do it.
Thanks a lot,
Alberto Bencivenni
devDept Development Team Leader
Structural Optimization | Finite Element Method | Computer Graphics
If you are not using InstallAware 2005, the template projects do not contain auto-upgrade code. In this case create a project using the project wizard and copy-paste the code from there. You'll also need to be using the Enterprise edition.
Hello Sinan,
Unfortunately I followed your suggestion but I am not able to locate the auto-upgrade code

Thanks again so much,
Alberto Bencivenni
devDept Development Team Leader
Structural Optimization | Finite Element Method | Computer Graphics
Who is online
Users browsing this forum: No registered users and 107 guests