PDA

View Full Version : How to make a patch


Kai
11-29-2003, 11:12 PM
Well, I created a setup.exe, installed everything and all worked fine. But now I want to learn how to create a patch or update for this software but I don't really know how to do it.
Is there any tutorial for this issue?
can anyone explain to me how to solve my problem?

Kai from Germany

Darryl
11-30-2003, 01:52 PM
Well Setup Factory 6.0 wasn't really designed to be a patching tool such as our Visual Patch product, however it is certainly powerful enough to accomplish the task. The amount of work involved will depend upon how extensive your patch needs to be.

Normally in your initial install it is best to write out information to the Registry such as its install location so you don't have to search for the contents when updating. So if you write out the install path, you could then just read in that path in your patch so it can be used in the install path for its contents.

It's also probably a good idea to have some version information in the Registry, or read a particular file's version to determine whether or not the patch needs to be applied.

All it really comes down to is placing the files in the correct location and setting their overwrite options appropriately.

There is also a Knowledge Base article about adding files to the uninstall process that were installed with a patch. You can read it HERE (http://www.indigorose.com/forums/showthread.php?s=&threadid=4995)

We'll go from there and if you have any specific questions, feel free to post back.