Microsoft KB Archive/247369

= FIX: Relative URLs Don't Work for Distribution Unit Dependencies =

Article ID: 247369

Article Last Modified on 10/16/2002

-

APPLIES TO


 * Microsoft Internet Explorer 4.0 128-Bit Edition
 * Microsoft Internet Explorer 4.01 Service Pack 2
 * Microsoft Internet Explorer 4.01 Service Pack 1
 * Microsoft Internet Explorer 4.01 Service Pack 2

-



This article was previously published under Q247369



SYMPTOMS
When using distribution units for code download, a relative URL in the CODEBASE tag for a dependency does not work. Absolute URLs work fine, but relative dependency code-base URLs in the OSD file are not supported.



STATUS
Microsoft has confirmed that this is a bug in the Microsoft products that are listed at the beginning of this article. This problem was corrected in Internet Explorer 5.



Steps to Reproduce Behavior
Using a Visual Studio product that supports distribution units, such as the output format options in Microsoft Visual J++ 6.0, if you specify an external dependency in the project properties and use a relative URL, you might end up with an OSD file that looks like this: <?XML version="1.0" ENCODING='UTF-8'?> <!DOCTYPE SOFTPKG SYSTEM "http://www.microsoft.com/standards/osd/osd.dtd"> <?XML::namespace href="http://www.microsoft.com/standards/osd/msicd.dtd" as="MSICD"?>  CodeDownload1   CodeDownload2Lib      </SOFTPKG>

This will not work in the Internet Explorer versions listed at the beginning of this article. If you are not using Internet Explorer 5.0 or later, you must use a fully qualified URL for the CodeBase tag.

<div class="references_section">