Page 1 of 1

Issues with Patches

Posted: Tue Nov 24, 2015 4:36 am
by iti
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 :|

Re: Issues with Patches

Posted: Tue Nov 24, 2015 4:38 am
by iti
Oh sorry I forgot to mention, I am using InstallAware NX (Build 9.10.12) Mooooya

Re: Issues with Patches

Posted: Tue Nov 24, 2015 12:33 pm
by FrancescoT
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

Re: Issues with Patches

Posted: Wed Nov 25, 2015 3:08 am
by iti
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?

Re: Issues with Patches

Posted: Wed Nov 25, 2015 12:53 pm
by FrancescoT
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

Re: Issues with Patches

Posted: Thu Nov 26, 2015 3:51 am
by iti
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!