Welcome, Guest
Username Password: Remember me
  • Page:
  • 1

TOPIC: InstallAware- Technical Support

InstallAware- Technical Support 2 years, 3 months ago #1309

  • InstallerExpert
I have followed the Patching white paper, but when I choose to build my patch I get this message. How can I resolve it?

Error during build: At least one Web Media Block must be defined before installation commands that may require media

Re: InstallAware- Technical Support 2 years, 3 months ago #1310

  • InstallerExpert
OK, am not sure if I have done this correct, although I have got round the last error by putting [OFFLINE CONTENT] at the top of the MSI Script.

I now get this error:

Error during build: No compatible base packages found for upgrade package

I am referencing the original installation Web Depolyed EXE.

Re: InstallAware- Technical Support 2 years, 3 months ago #1311

  • msiexpert
Do the upgrade GUIDs and package GUIDs match?

Re: InstallAware- Technical Support 2 years, 3 months ago #1312

  • InstallerExpert
Yes they do; just to confirm the GUID that need to be the same between original base setup and patch are:

Product Code
Revision Code

In the Project Properties page.

In fact, it is the same project, I have simply replaced a couple of files, added some new, Rebuilt the Web Media Blocks, add the patch reference to the project (which is from the original build) and then click Patch.

Re: InstallAware- Technical Support 2 years, 3 months ago #1313

  • InstallerExpert
I don't think the revision code changes from build to build - should it? If so, can I manually change it? Also the version number is the same as before (1.0). Should I change this?

Re: InstallAware- Technical Support 2 years, 3 months ago #1314

  • msiexpert
The version number should change, so should the revision code (it is set to auto-change unless you turned it off explicitly). Whitepaper errata...

Re: InstallAware- Technical Support 2 years, 3 months ago #1315

  • InstallerExpert
OK, I have tried what you suggested, The option was already selected, and the revision code does automatically change each build, the version number did not change though. I manually changed the version number though.

I get the same message as before though:

Error during build: No compatible base packages found for upgrade package

If I change the base package to a non Web Block and rebuild all is OK - I cannot do this though as my base installation which is installed across many many sites uses the Web Block which I must be able to patch.

Re: InstallAware- Technical Support 2 years, 3 months ago #1316

  • InstallerExpert
I have found what the problem is! It is because I have specified a password on original base installer, I created a small test IA Project, and produced a Web Depolyed project with a password, on attempting to perform a patch I get the same message. If I rebuild the web deployed project with a password and create a patch - It works.

This leaves me with potentially a BIG problem. If I rebuild my project again now without a password, will the patch I create against it work for all my customers who have already installed my base installer???
  • Page:
  • 1
Time to create page: 0.93 seconds

     
    
Home Forum