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!

jfaiga
Posts: 25
Joined: Wed Sep 13, 2006 8:21 am

Help with automated Patching via command line

I have been trying for some time to get my automated patching working, and have been running into problems of either the patch not being allowed to run on the current installation, or the patch corrupting the installation (so that the files are not updated and an uninstall does not remove the installed files).

My conclusion is that there is either a problem with my process logic, or there is a problem with the command line patch compilation.

Process Logic
I am using NAnt so that after we do a build, an msi is created. Eg:
First build: msi version is "5.5.0.0".
Second build: an msi "5.5.0.1" is created, and a patch is attempted to be created from "5.5.0.0" to "5.5.0.1". If the patch creation process fails then the msi is rebuild as "5.5.1.0". If the patch creation process succeeds, then the Third build would use the msi version "5.5.0.2" (and patching would be from 5.5.0.0 to 5.5.0.2).

Therefore to upgrade from any version to the latest version, all you need is the latest "a.b.c.0.msi" and if necessary "a.b.c.y.msp". (The dev, qa, prod servers should then be able to subscribe to automated updates via a directory containing one .aiu, one .msi, and max one .msp).

When I had problems with this, I tried setting the MediaDiskId and FileSequenceStart to a function of the the version, so that it always increments, but that did not help. (MediaDiskId = "c" and FileSequenceStart = "cy").

I am not using the "Patches to replace" functionality.

Command line patch compilation
If my process logic is correct, perhaps there is a problem with command line patch builds. Has the command line patching builds been tested by Caphyon?

I would really appreciate some help / advice as to how I can get these patches working, as I have spent way to much time on it already!
gigi
Posts: 2103
Joined: Tue Apr 11, 2006 9:55 am
Contact: Website

Hi,

Please follow the instructions from the following links when you create the patch:
http://www.advancedinstaller.com/user-g ... tches.html
http://www.advancedinstaller.com/user-g ... ml#version
http://www.advancedinstaller.com/user-g ... patch.html

If the problem persist could you please send both AIP files (the old and the new version) (if not contain any confidential informations) to support at advancedinstaller dot com so we can take a look.

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

Return to “Common Problems”