slow patch creation - 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!

jimn
Posts: 1
Joined: Thu Feb 14, 2008 3:56 am

slow patch creation

I tried the following instructions to speed up patch creation:
http://www.advancedinstaller.com/forums ... php?t=1865

Here's the relevant text:

To optimize the patch build you can do like this:
After you add the MSI images target and upgraded and administrative install is done go to the folder where administrative install was done and delete the files you know are not modified between versions.
After you do this select the target image in the project and use the "Ignore missing source files" option.


I built the patch, deleted the unchanged files (from both target and updated image directories), and checked the "Ignore missing source files" option.

However, whenever I build the patch, AI re-copies the installation files to the image directories. What am I doing wrong?

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

Hi,

In order to build a patch faster you need to follow these steps:
- create the Patch project in Advanced Installer
- add the Upgraded and Target images in the "Images" page
- in a file explorer (for example Windows Explorer) go to the folder in which the AIP of the patch is saved
- in this folder, next to the AIP of the patch the folder "images" was created automatically (an administrative install was performed when you added the images in the patch project)
- go to the folder created for the Upgraded image and delete the files which are present in the old installation (the ones that are also in the folder created for the target image)
- note that the MSI of the Upgraded image is in this folder, therefore you should make sure that you don't delete it (if you delete it the administrative install will be performed again)
- in the patch project go to the "Images" page and select the Target image
- in the "General" section make sure that the "Ignore missing source files" option is checked
- build the patch

Now the patch will have less files to compare (the duplicates have been removed from the Upgraded image folder), therefore the patch will be built faster.

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

Return to “Common Problems”