Page 1 of 1

Problem building patch

Posted: Fri Jul 16, 2010 4:44 am
by sdolan
Hi,

I am trying to build a patch installer for my project. I've added the previous installer as a patch reference (it is a compressed .exe install). When I build the patch, I get an access violation. An extract from the log is shown below:

Extracting patch reference data from C:\WC\stormtest\branches\deployment\InstallAware\StormTestServer\Release\Single\StormTestServerInstaller-1.4.0.exe: data\OFFLINE\7EC6F226\EE5D870F\SharpPlink-Win32.svnExe (99%)
Processed base package C:\WC\stormtest\branches\deployment\InstallAware\StormTestServer\Patch\Base Package 1\data\StormTestServerInstaller-1.4.0.msi
Creating patch C:\WC\stormtest\branches\deployment\InstallAware\StormTestServer\Patch\StormTestServerInstaller-1.4.0.msp
Error during build: Access violation at address 00000000. Read of address 00000000

What is likely to cause this? Is there any way to debug it?

Thanks,
Stephen

Re: Problem building patch

Posted: Fri Jul 16, 2010 8:01 pm
by mills
From InstallAware Help (F1) Patching topic:

Source Resolution for Compressed Builds

When the setup runs, it will prompt for the original source media. At this point, the user will need to run the self extracting .EXE file that comprises the compressed build. When this file is running, as part of the setup initialization routine, it will extract its contents to a subfolder of the system temporary folder. The user will have to navigate into the system temporary folder, determine which subfolder contains the setup sources (by trial and error if necessary), and choose that in the source media browser.

Because this is a largely inconvenient way for end-users to apply a patch, Compressed Builds are not recommended as the targets of patches.