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!

pxiaobin
Posts: 2
Joined: Mon Oct 29, 2007 6:32 pm

Newbie trial question about creating multiple patches

Hi all,

During the trial, I am able to create a patch and update it successfully. However, I have no iea and have tried a couple of times to create multiple patches and fail to update them correctly. Here are my case and questions:

(1). Base: abc.exe + some.txt
(2). V1.1: abc.exe + some.txt (txt changed)
- now I can create patch from (2) to (1) and update it fine.
(3). V1.2: abc.exe + some.txt (txt changed again)

I created patches (3)->(1), update failed
Patch (3)->(2), update failed

Should I create the new patch from (3)->(2)->(1) then? I am aware that updater config has to be changed as well.

Thanks a lot
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Hi,

In order to apply a patch (for ex: V1.2 patch) to multiple versions of your package you need to add both Base and V1.1 as target images for this patch. For details about using Advanced Installer to add Target images to a patch please see:
http://www.advancedinstaller.com/user-g ... mages.html

Also, it is very important that your package respects all the patch rules in order for it to be applied correctly:
http://www.advancedinstaller.com/user-g ... tches.html

There is a similar discussions on the forum, please take a look:
http://www.advancedinstaller.com/forums ... iple+patch

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
pxiaobin
Posts: 2
Joined: Mon Oct 29, 2007 6:32 pm

Can you show me how, please?

version V0, V1, V2
patch P1 (created from V1->V0, works fine)

Now, I need to create patch P2 and here is my images layout:
Target Computer
-- Family
---- V2
-------- V0
-------- V1

I am not sure that is the layout as you suggested that "add both Base and V1.1 as target images for this patch", but this is not working to apply changes to installed V0 by clicking the "Run" button.

I am really new and confused, can you help?

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

Hi,

I'm not sure I understand what you are trying to do.

By using the layout you specified you will create a patch which will update the V0 and V1 packages (which ever is found) with the V2 package. Since you patched V0 with V1 then the new patch can update the V1 version.

Please make sure that all three packages (V0, V1, and V2) have the same product code and the patch rules are met. Also, V1 and V2 must be created by modifying the V0 package.

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

Return to “Common Problems”