Alternatives to patching? - 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!

Palle
Posts: 4
Joined: Thu Apr 28, 2011 8:24 pm

Alternatives to patching?

I really got patching blues...
- patching requires same version of Advanced Installer
- it seems that a new patch will not install on top of both the original installation and an installation patched with an earlier

My program has a lot of files, and I wonder if there is an alternative way to replace a few whole files with an installation program rather than using a patch?
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: Alternatives to patching?

Hello,
patching requires same version of Advanced Installer
Patches are usually small upgrades scheduled between major upgrades. Indeed, it is recommended to keep the same version of Advanced Installer between patched versions, but you can upgrade Advanced Installer when authoring major upgrades for your product.
it seems that a new patch will not install on top of both the original installation and an installation patched with an earlier
A patch can have multiple targets. You can configure this by adding them in the patch project.
Patching is a very complex mechanism and requires careful project settings as well as respecting the patch rules. It is recommended you follow our patch tutorial before you start implementing the functionality into your main project.

If you have a few files you need upgraded then the patch is the way to go. Other major changes would require a major upgrade. Here is an article to better help you understand the differences.

There is another manual way to perform an upgrade similar to the patch but it is not recommended and the version will not be increased for your product on the target machine. For example here are the steps to upgrade a file:
- create a new project
- perform a search from the Search page for that file on the target machine
- set the application folder to the search name
- perform a file removal operation on that file ( here is how )
- add the upgraded file in the application folder in the files and folders page
- in the Product Details page disable the "Register product with Windows Installer" option

All the best,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Palle
Posts: 4
Joined: Thu Apr 28, 2011 8:24 pm

Re: Alternatives to patching?

Thank you so much, that really helped me.
What a great support for a great product!

Best regards
Palle M. Pedersen
Denmark

Return to “Common Problems”