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
[size=92]
[b]Alberto Bencivenni[/b]
[b][url=http://www.devdept.com]devDept[/url][/b] Development Team Leader
[/size][size=75][color=#666666]Structural Optimization | Finite Element Method | Computer Graphics[/color][/size]
[b]Alberto Bencivenni[/b]
[b][url=http://www.devdept.com]devDept[/url][/b] Development Team Leader
[/size][size=75][color=#666666]Structural Optimization | Finite Element Method | Computer Graphics[/color][/size]
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,
[size=92]
[b]Alberto Bencivenni[/b]
[b][url=http://www.devdept.com]devDept[/url][/b] Development Team Leader
[/size][size=75][color=#666666]Structural Optimization | Finite Element Method | Computer Graphics[/color][/size]
[b]Alberto Bencivenni[/b]
[b][url=http://www.devdept.com]devDept[/url][/b] Development Team Leader
[/size][size=75][color=#666666]Structural Optimization | Finite Element Method | Computer Graphics[/color][/size]
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,
[size=92]
[b]Alberto Bencivenni[/b]
[b][url=http://www.devdept.com]devDept[/url][/b] Development Team Leader
[/size][size=75][color=#666666]Structural Optimization | Finite Element Method | Computer Graphics[/color][/size]
[b]Alberto Bencivenni[/b]
[b][url=http://www.devdept.com]devDept[/url][/b] Development Team Leader
[/size][size=75][color=#666666]Structural Optimization | Finite Element Method | Computer Graphics[/color][/size]
Ok,
I will try today. I am using InstallAware 3 Enterprise Ed. Evaluation
Thanks,
I will try today. I am using InstallAware 3 Enterprise Ed. Evaluation
Thanks,
[size=92]
[b]Alberto Bencivenni[/b]
[b][url=http://www.devdept.com]devDept[/url][/b] Development Team Leader
[/size][size=75][color=#666666]Structural Optimization | Finite Element Method | Computer Graphics[/color][/size]
[b]Alberto Bencivenni[/b]
[b][url=http://www.devdept.com]devDept[/url][/b] Development Team Leader
[/size][size=75][color=#666666]Structural Optimization | Finite Element Method | Computer Graphics[/color][/size]
Hello Sinan,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.
Unfortunately I followed your suggestion but I am not able to locate the auto-upgrade code
Thanks again so much,
[size=92]
[b]Alberto Bencivenni[/b]
[b][url=http://www.devdept.com]devDept[/url][/b] Development Team Leader
[/size][size=75][color=#666666]Structural Optimization | Finite Element Method | Computer Graphics[/color][/size]
[b]Alberto Bencivenni[/b]
[b][url=http://www.devdept.com]devDept[/url][/b] Development Team Leader
[/size][size=75][color=#666666]Structural Optimization | Finite Element Method | Computer Graphics[/color][/size]

