Fernandes
Posts: 7
Joined: Sun Dec 21, 2014 10:24 pm

Updating same version

Hello,

Is there any way to update same version using Advanced Installer. for example I've version 1.0.0 installed on my system, then I made some changes and created an installer keeping the version same as 1.0.0. Now I want to update my already installed application with the updated installer

I dont want to manually uninstall my application version 1.0.0 and then install it again with the updated version.

Will creating a patch work, or is there any other way to do it?
Dan
Posts: 4529
Joined: Wed Apr 24, 2013 3:51 pm

Re: Updating same version

Hello Fernandez,

A patch contains only the differences between two version of the product. That means that through a patch you can update something which is already installed.

As far as I can see creating a patch should be the right solution for you, because you don't want to uninstall the previous version.
You can take a look on our Patch Authoring tutorial which will guide you step by step into the creation of a simple Windows Installer patch project from scratch and building it in order to obtain a MSP package. Also, when creating patches you should make sure they don't break the patch rules.

You can also take a look on the Update Process forum thread which may be useful to you.

Should there be any difficulty you encounter implementing something, please do not hesitate to contact me and I will gladly assist.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Fernandes
Posts: 7
Joined: Sun Dec 21, 2014 10:24 pm

Re: Updating same version

Hi Dan, thanks for quick reply.

I've created a mixed 32/64 bit installer, and I followed the steps to extract the MSI using /extract from command line. When I extract the installer I get 2 MSI's one for the 32 bit installer and the other for 64 bit installer.

How to create a patch for mixed 32/64 bit installer? Do I have to create separate patches?
Dan
Posts: 4529
Joined: Wed Apr 24, 2013 3:51 pm

Re: Updating same version

You're welcome Fernandez,
How to create a patch for mixed 32/64 bit installer? Do I have to create separate patches?
Indeed, you have to create two separate patches, one for the 32bit and another one for the 64bit.

If there is anything else I can help you with, please let me know.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Building Installers”