permadsenaalborg
Posts: 4
Joined: Thu Sep 25, 2008 8:42 am

Creating a patch in a project using Synchronized Folders

Hi,

We am using Advanced Installer for a project with a lot of files, where some files change every day (as the part of the daily build) and many file almost never change.

In this case it seems attractive to generate patches for people who want to test the daily build. The problem is that we are using Synchronized Folders and according to the manual Patches and Synchronized Folders do not work together:
When creating patches, it is not recommended to use Synchronized Folders. This will lead to file sequence mismatches and/or changed Component GUIDs between the target and upgraded MSI packages, if for instance, at least a file is deleted or renamed on disk.
Are there any way to work around this issue or do we need to move away from Synchronized Folders?

Best Regards,
Per
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Re: Creating a patch in a project using Synchronized Folders

Hi,

Unfortunately the synchronization mechanism has some contradictions with the patch concept. Basically, the synchronization may recreate the components in the "Organization" page, changing their GUIDs, or it can remove components. Both actions are not supported by patches, therefore the resulting patch may not be applied correctly.

If you need to use patches, it is recommended to disable folder synchronization.

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

Return to “Common Problems”