Programmatic Patching - 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!

neilrobertson
Posts: 9
Joined: Tue Sep 01, 2009 11:08 am

Programmatic Patching

Hi

I am trying to find a way to create a porgram patch in an automated manner.

I have so far drawn a blank in as much that it seems you cant create a patch (MSP file) using the command line API.

Other ways I have though is to create custom actions just to install or delete the directories and or files required to be replaced or changed in the patch. Can you confirm that this is a good idea or not and whether using custom actions in this way would invite unforseen unintsall problems or not.

If it is OK to go down the custom install route, what scripting languages does AI support and can you point me at examples of their use in this manner?

Neil Robertson
GabrielBarbu
Posts: 2146
Joined: Thu Jul 09, 2009 11:24 am
Contact: Website

Re: Programmatic Patching

Hello,

Using custom actions for this purpose is not recommended. Problems may arise due to the fact that the files you install/uninstall are not registered with Windows Installer. The upcoming version of Advanced Installer will include command line APIs to add Target and Upgraded images in a Patch Project. This will enable you to simply use a template Patch Project, copy it when needed, using the new APIs to add the images and then build the patch, all using a .bat file, thus automating the process.

Regards,
Gabriel
Gabriel Barbu
Advanced Installer Team
http://www.advancedinstaller.com/
neilrobertson
Posts: 9
Joined: Tue Sep 01, 2009 11:08 am

Re: Programmatic Patching

sounds good, can you say when the next release will be?

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

Re: Programmatic Patching

Hi Neil,

We cannot offer an exact ETA, but the next version of Advanced Installer should be released in the near future (perhaps this week).

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

Return to “Feature Requests”