Issues with Patches

Got a problem you cannot solve? Try here.
iti
Posts: 26
Joined: Mon Oct 19, 2009 7:05 am
Location: Dresden, Germany
Contact:

Issues with Patches

Postby iti » Tue Nov 24, 2015 4:36 am

Hi InstallAware Team,

I have a big problem and I hope someone could help me. We have a quite complex setup with many files. In our build process I am creating a folder structure with our files and this is the base for our setups. The structure and the setup-project-directory are zipped with every build to be able to patch the software later.

In my tests I was able to build a patch when one or two files changed. Now, after the release of a new version, we found an error that would be ideal for a hotfix. I unzipped the structure, exchanged the file and build a patch with the reference to the released web setup. The patch is the same size as a full setup now :/ ... How can I debug this? Is there a way to find out why so many changes are packed to the patch?

Any help is appreciated :|

iti
Posts: 26
Joined: Mon Oct 19, 2009 7:05 am
Location: Dresden, Germany
Contact:

Re: Issues with Patches

Postby iti » Tue Nov 24, 2015 4:38 am

Oh sorry I forgot to mention, I am using InstallAware NX (Build 9.10.12) Mooooya

FrancescoT
Site Admin
Posts: 5361
Joined: Sun Aug 22, 2010 4:28 am

Re: Issues with Patches

Postby FrancescoT » Tue Nov 24, 2015 12:33 pm

Dear Iti,

did you keep the same identical setup logic of your base setup with the patch project?

For example, did you use a different location for the source files that should not be patched?

Regards
Francesco Toscano
InstallAware Software

White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE

iti
Posts: 26
Joined: Mon Oct 19, 2009 7:05 am
Location: Dresden, Germany
Contact:

Re: Issues with Patches

Postby iti » Wed Nov 25, 2015 3:08 am

Hello FrancescoT,

I am zipping the full setup-project directory and the source directory we build from. Do I have to unzip them back to the exact same location?

FrancescoT
Site Admin
Posts: 5361
Joined: Sun Aug 22, 2010 4:28 am

Re: Issues with Patches

Postby FrancescoT » Wed Nov 25, 2015 12:53 pm

Dear Iti,

The setup logic must be exactly the same across all your projects (base and patch(s) projects).

For example, supposing your BASE project install the following files;

1- Install Files c:\mypath\fileA.exe to $TARGETDIR$
2- Install Files c:\mypath\fileB.dll to $TARGETDIR$

In case both files are still present with the patch you are going to release, the above statements have to be "identical" in your PATCH project as well.

Hope this helps you.

Regards
Francesco Toscano
InstallAware Software

White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE

iti
Posts: 26
Joined: Mon Oct 19, 2009 7:05 am
Location: Dresden, Germany
Contact:

Re: Issues with Patches

Postby iti » Thu Nov 26, 2015 3:51 am

Thank you for your answer.

The logic remains the same, I just changed 2 source files in the structure we build the setup from but I assume the zipping/unzipping process might disturb the patching process. As the whole patching with InstallAware is not really intuitive and reliable and every "try" takes 40 Minutes we tried Visual Patch and will use this for our patches and updates.

Thank you for your help!


Return to “Technical Support”

Who is online

Users browsing this forum: No registered users and 132 guests