Sync improvements in 6.5 - 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!

mctozzy
Posts: 81
Joined: Wed Feb 14, 2007 7:37 am

Sync improvements in 6.5

I see from the 6.5 readme that some improvements have been made in the sync algorithms.

Could you be more specific about what these improvements are? This is a bit of a bugbear for those of us who need to use the patching functionality in the 'real world', but having to add new files manually into the project is quite painful.

For example, will it preserve the Component ID and attributes, if a refresh on the folder is performed for objects that have not changed name or location? Also will project file attributes be preserved across a sync for existing files.

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

Re: Sync improvements in 6.5

Hi,
Could you be more specific about what these improvements are?
These synchronization improvements affect the behavior shown when the target directory (on the disk) of a synchronized folder is missing. Also, when setting a folder as synchronized, the default synchronization path is now the original path of the folder on the disk. Another synchronization improvement affects the Advanced Installer command line interface by adding the "-clearcontent" parameter to the /ResetSync command.
This is a bit of a bugbear for those of us who need to use the patching functionality in the 'real world', but having to add new files manually into the project is quite painful.
Please note that the synchronization mechanism has some contradictions with the patch concept. Perhaps in the future we will find a way to use them together safely, but unfortunately this will not be soon.
will it preserve the Component ID and attributes, if a refresh on the folder is performed for objects that have not changed name or location?
Yes. The components are re-created only if:
- files from the synchronized folder are removed and then re-added
- files are moved from their original location
- files are renamed
Also will project file attributes be preserved across a sync for existing files.
The attributes of a synchronized file are maintained as long as:
- the file is not moved from its original location on the disk
- the file is not renamed
- the file is not removed and then re-added in the synchronized folder on the disk

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
mctozzy
Posts: 81
Joined: Wed Feb 14, 2007 7:37 am

Re: Sync improvements in 6.5

Thanks... I think I can live with those constraints, and the experiments I did today seem to give satisfactory results.

May I take the opportunity to congratulate your company on its continued high quality support in this forum and to your customers. It is the main reason I have just renewed our maintenance again.

Regards,
MT

Return to “Common Problems”