Hi,
For this you can use the automated upgrade feature in Advanced Installer. This feature works like this:
- open the AIP (Advanced Installer Project file) you used to build the old package
- make the modifications you want to include in the upgraded package
- go to the "Product Details" page and increase the version of the package
- when you move from this page you are prompted about changing the Product Code
- answer "Yes" in order to change it (the old and new version of the package must have different Product Codes)
- build and install the new AIP
If you run this upgraded package on a machine which has the old package installed, the old package will be removed automatically (and silently) and the upgraded package will be installed. Also, the default installation folder of the upgraded package is the installation folder of the old package.
Regards,
Cosmin