Upgrade problem - Advanced Installer Community
tomas.maruska
Posts: 38
Joined: Fri Jul 19, 2013 11:49 am

Upgrade problem

Hello,

- we use install new version first and then uninstall old version upgrade
- we use synchronized folder feature
- we use dedicated build server for building setup

We have problem with upgrade, when we add new file. I've noticed this warning:
It is strongly recommended not to use the synchronization feature:

- in Patch packages because the synchronization may re-create some components when refreshed and therefore new GUIDs will be generated for them;
- in Upgrade packages when using the Install new version first and then uninstall old version option because the synchronization may create new GUIDs for components when refreshed resulting in the files being deleted when upgrading the product.
I suppose, that I can solve this problem if I save project file (*.aip) after every build, because AI refresh files in synchronized folders.

Problem is that AI does not modify original setup project file, but makes temporary copy of project file and modify it. After successful build this copy is deleted.

Can I somehow save refreshed setup project file (*.aip) which is modified by build?

Regards,

Tomas Maruska
tomas.maruska
Posts: 38
Joined: Fri Jul 19, 2013 11:49 am

Re: Upgrade problem

Sorry,

I just find out, that temp copy of project file is created by our configuration utility...
Last edited by tomas.maruska on Mon Dec 16, 2013 1:18 pm, edited 1 time in total.
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: Upgrade problem

Hi Tomas Maruska,

I'm glad you solved this. If you have other questions, please let us know.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”