Upgrade Problems - Advanced Installer Community

We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

sseveran
Posts: 2
Joined: Thu Dec 13, 2007 9:20 pm

Upgrade Problems

When I updated my application I created a new version and MSI for it. I set it to upgrade all previous versions. When it performs the upgrade it removes the EXE for the application but that is it. It does not put in the new version. What do I need to do to get the correct behavior. Thanks.

Steve
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Hi,

For upgrading an installation you have two possibilities:
1) you use a patch
2) you use the automated upgrade feature

1) A patch project is basically the difference between two MSI packages (which makes it very small) and you can use it to update an installation. You can read more about patches here:
http://www.advancedinstaller.com/user-g ... oject.html
http://www.advancedinstaller.com/user-g ... tches.html
http://www.advancedinstaller.com/user-g ... patch.html

2) The automated upgrade feature works like this:
- you install a MSI on the target machine,
- you increase it's version and update some of it's files
- you answer "Yes" when changing the Product Code
- when running the updated MSI on the target machine the old installation will be removed and the updated package will be installed

Usually, it is recommended that you use a patch to upgrade an installation, but you can use the method that best suits your needs.

If you use the automated upgrade feature and you still obtain this behavior then the solution is to double-click the file with the problem in the "Files and Folders" page, go to the "Version" tab and check the Ensure that this file overwrites any installed target file" option.

Let me know if the problem persists after making the necessary modifications.

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”