updating certain files - 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!

gmib92
Posts: 2
Joined: Thu Jul 27, 2006 9:26 am

updating certain files

hi there,
i am using AI 4.2 java version, i have a very simple question.
i want to update my product with the updater (thats ok). problem is that i want to update only a 'jar' file not all 100+ files in my project. when i run updater it replaces all the files, is there a way to make msi that contains only the certain files that i want to update, and then msi runs on client machine it changes only those files that comes in new version of the msi.
i already tried out the vbScript approach of backup and restore the certain files thats not acceptable for me because some time i got "access denied" error while restoring the backUped files.
the like i use for restore-backup operation is
http://www.advancedinstaller.com/user-g ... le-ca.html

Thanks
GM
gigi
Posts: 2103
Joined: Tue Apr 11, 2006 9:55 am
Contact: Website

Hi,

What you want can be achieved with a patch. A patch is the difference between two msi packages. So create a patch between your old package a new one and use it with the updater.

Here is a tutorial on how a patch can be created:
http://www.advancedinstaller.com/user-g ... patch.html

Regards,
Gigi
_________________
Gheorghe Rada
Advanced Installer Team
http://www.advancedinstaller.com

Return to “Common Problems”