Generate updated package from old target + patch - 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!

mpdv
Posts: 17
Joined: Mon Feb 05, 2007 6:39 pm

Generate updated package from old target + patch

Hi,

I have build a patch from 2 msi files, the updated an the target msi package.
This patch works fine, but now I have one BIG problem: the original updated package is missing - I have try some new settings in AI and overrides this file through an oversight :roll:

There is no chance to rebuild this package, so my question is if it is possible to build the updated package by using the old target image + the patch? (For source code patches I have also only the original file and a patch, so I think it should work...)

Or can I simply install the old package, apply the patch, copy all files to the right folders and create an new package? (the aip file still exists, but the original program files are changed...)
I don't know if there are any random generated IDs or if the timestamp of the program files/msi package is important for future development of new patches.
gigi
Posts: 2103
Joined: Tue Apr 11, 2006 9:55 am
Contact: Website

Hi,

If you have the project file (AIP) and the application files you can regenerate the upgraded package. To obtain the application files install the MSI package + the patch and copy the files to the project folder.

For future my recommendation is to keep the project files under a versioning system (SVN, CVS, etc).

Let us know if you encounter any problems.

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

Return to “Common Problems”