skipjam
Posts: 6
Joined: Fri Apr 15, 2005 6:36 pm

Patch fails if original install is from a packed exe install

The patch file that I created works fine as long as the original installation is from an uncompressed source. However, if I use the same installation, but using a single file installation, the patch fails with the following message:

"The feature you are trying to use is on a network resource that is unavailable.

Click OK to try again, or enter an alternate path to a folder containing the installation package xxxxx in the box below."

Where xxxxx represents the MSI install file. A single exe file install decompress the installation files into %temp% so there is no chance that the user will be able to resolve this issue easily. Has anyone found a workaround on this issue? I know I can distribute a single file install by using something like Winzip or Installshield's PFTW to archive the uncompressed the install files. But this kind of defeats the purpose of using one tool.

Frank
Mike
Posts: 292
Joined: Wed Jun 01, 2005 10:50 am
Location: Craiova, Romania
Contact: Website

Hi,

This can happen if the second MSI was a major upgrade of the first MSI. If you are doing a major upgrade you should not use a patch, but rather distribute the whole package.

Regards,
Mihai
Mihai Bobaru
Advanced Installer Team
http://www.advancedinstaller.com
skipjam
Posts: 6
Joined: Fri Apr 15, 2005 6:36 pm

How can I make sure the resulting patch is not a major upgrade? I am trying to update from one build to another. The only difference between the two msi package is that one file is newer. The patch also supports at least 10 older builds. The difference with the builds is simply having updated version of files (new). I did not add new components or features in the newer builds.

Frank
Mike
Posts: 292
Joined: Wed Jun 01, 2005 10:50 am
Location: Craiova, Romania
Contact: Website

Hi,

A major upgrade is obtained when you changed the product code together with the version. For a patch to work correctly you should keep the old product code.

Regards,
Mihai
Mihai Bobaru
Advanced Installer Team
http://www.advancedinstaller.com

Return to “Common Problems”