{"id":1141,"date":"2017-12-02T11:39:39","date_gmt":"2017-12-02T11:39:39","guid":{"rendered":"http:\/\/www.scmgalaxy.com\/tutorials\/?p=1141"},"modified":"2020-01-09T09:34:29","modified_gmt":"2020-01-09T09:34:29","slug":"installaware-technical-support","status":"publish","type":"post","link":"https:\/\/www.devopsschool.com\/blog\/installaware-technical-support\/","title":{"rendered":"InstallAware- Technical Support"},"content":{"rendered":"<p><strong>InstallerExpert created the topic: InstallAware- Technical Support<\/strong><br \/>\nI have followed the Patching white paper, but when I choose to build my patch I get this message. How can I resolve it?<\/p>\n<p>Error during build: At least one Web Media Block must be defined before installation commands that may require media<\/p>\n<p><strong>InstallerExpert replied the topic: Re: InstallAware- Technical Support<\/strong><br \/>\nOK, 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.<\/p>\n<p>I now get this error:<\/p>\n<p>Error during build: No compatible base packages found for upgrade package<\/p>\n<p>I am referencing the original installation Web Depolyed EXE.<\/p>\n<p><strong>msiexpert replied the topic: Re: InstallAware- Technical Support<\/strong><br \/>\nDo the upgrade GUIDs and package GUIDs match?<\/p>\n<p><strong>InstallerExpert replied the topic: Re: InstallAware- Technical Support<\/strong><br \/>\nYes they do; just to confirm the GUID that need to be the same between original base setup and patch are:<\/p>\n<p>Product Code<br \/>\nRevision Code<\/p>\n<p>In the Project Properties page.<\/p>\n<p>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.<\/p>\n<p><strong>InstallerExpert replied the topic: Re: InstallAware- Technical Support<\/strong><br \/>\nI don&#8217;t think the revision code changes from build to build &#8211; should it? If so, can I manually change it? Also the version number is the same as before (1.0). Should I change this?<\/p>\n<p><strong>msiexpert replied the topic: Re: InstallAware- Technical Support<\/strong><br \/>\nThe version number should change, so should the revision code (it is set to auto-change unless you turned it off explicitly). Whitepaper errata&#8230;<\/p>\n<p><strong>InstallerExpert replied the topic: Re: InstallAware- Technical Support<\/strong><br \/>\nOK, 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.<\/p>\n<p>I get the same message as before though:<\/p>\n<p>Error during build: No compatible base packages found for upgrade package<\/p>\n<p>If I change the base package to a non Web Block and rebuild all is OK &#8211; 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.<\/p>\n<p><strong>InstallerExpert replied the topic: Re: InstallAware- Technical Support<\/strong><br \/>\nI 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 &#8211; It works.<\/p>\n<p>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???<\/p>\n","protected":false},"excerpt":{"rendered":"<p>InstallerExpert created the topic: InstallAware- Technical Support I have followed the Patching white paper, but when I choose to build my patch I get this message. How can I resolve&#8230; <\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_joinchat":[],"footnotes":""},"categories":[49],"tags":[277],"class_list":["post-1141","post","type-post","status-publish","format-standard","hentry","category-general","tag-installaware"],"_links":{"self":[{"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/posts\/1141","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/comments?post=1141"}],"version-history":[{"count":1,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/posts\/1141\/revisions"}],"predecessor-version":[{"id":1142,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/posts\/1141\/revisions\/1142"}],"wp:attachment":[{"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/media?parent=1141"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/categories?post=1141"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/tags?post=1141"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}