CACHESOURCES = TRUE breaks my Patch build
Posted: Fri Dec 30, 2011 5:28 pm
I am using IA 2012 SA on a WIn 7 Pro computer. If I set the CACHESOURCES IA Variable to "TRUE" from its default setting of "DEFAULT" then my patch build results in almost every file in the setup being included. If I turn it back to "DEFAULT", without changing any other settings, then it works. The msp.log file shows every file with the "Patch API could not create a small patch; using whole upgraded file." message logged by the MSI engine. I find this strange because the baseline build is a Web Deploy type which (I have read) always cache's the setup. This should mean that for Web builds the CACHESOURCES=TRUE or DEFAULT should result in the same thing.
This behavior is a certainty as I've tried it several times back and forth. Having said that, I can't be sure if it is dependent on other conditions. I have a very complicated installer that is highly customized (i.e. not using the IA scripts out of the box).
I'd be very interested if IA techs could confirm this or if another user could duplicate it in their environment. But for now, on my WIn7 Pro pc with IA 2012 SA, setting CACHESOURCES = DEFAULT is a must for creating a patch.
These are also the other settings (through trial and error) that appear necessary to create a reliable patch without worry of 2705, 2711, etc. errors.
Set Variable CACHESOURCES to DEFAULT
Set Variable LONGCOMPONENTS to TRUE
Set Variable NOHARDLINKS to TRUE
These last two have been discussed in other threads and I confirm having them set to FALSE causes issue for me as well. But this CACHESOURCES is something I see no discussion about on this Board. Its not even mentioned in the online help.
This behavior is a certainty as I've tried it several times back and forth. Having said that, I can't be sure if it is dependent on other conditions. I have a very complicated installer that is highly customized (i.e. not using the IA scripts out of the box).
I'd be very interested if IA techs could confirm this or if another user could duplicate it in their environment. But for now, on my WIn7 Pro pc with IA 2012 SA, setting CACHESOURCES = DEFAULT is a must for creating a patch.
These are also the other settings (through trial and error) that appear necessary to create a reliable patch without worry of 2705, 2711, etc. errors.
Set Variable CACHESOURCES to DEFAULT
Set Variable LONGCOMPONENTS to TRUE
Set Variable NOHARDLINKS to TRUE
These last two have been discussed in other threads and I confirm having them set to FALSE causes issue for me as well. But this CACHESOURCES is something I see no discussion about on this Board. Its not even mentioned in the online help.