PDA

View Full Version : Error: -1642 in patch



nirfuchs
12-07-2009, 06:10 AM
Hi

I have created a patch using the patch design.
The patch works fine in case the program is installed to the default installation folder.
but when the program is installed to a different folder, other than the default installation folder, the patch throw error 1642 - ERROR_PATCH_TARGET_NOT_FOUND

Any idea?

Thanks
Nir

Kelter
12-09-2009, 04:22 PM
if anything changes during the initial installation process (eg: INSTALLDIR) you should keep track of that on the target system (in the registry). in maintenance mode and on upgrade, the installer needs to initialize itself by reading in all this info. this just might help you out. i'm assuming that you kept the productcode and upgradecode GUIDs the same between the original and the patch, right?