Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

How can an OSD file be used to install files from a subdirectory in a CAB file?

26 views
Skip to first unread message

tim.j....@gmail.com

unread,
Sep 13, 2006, 11:36:35 AM9/13/06
to
Hi,
We are trying to distribute an ActiveX control whose components are
stored in a CAB file. That CAB file has several subdirectories in it
and each subdirectory contains files that need to be copied to the
user's computer upon installation (preserving the directory structure
found in the CAB file).

For a concrete example, let's say we have a CAB file with the following
contents:

Main.OSD
Main.dll
FR\Resources.dll
DE\Resources.dll
RU\Resources.dll

What do I need to do in the OSD file to make Internet Explorer unpack
the DLLs in the CAB's Resources directory into a Resources subdirectory
on the user's computer?

This OSD file does not extract the files into subdirectories:

<?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"?>

<SOFTPKG NAME="Main" VERSION="0,0,0,0">
<TITLE> Main </TITLE>

<MSICD::NATIVECODE>

<CODE NAME="Main">
<IMPLEMENTATION>
<CODEBASE FILENAME="Main.DLL">
</CODEBASE>
</IMPLEMENTATION>
</CODE>

<CODE NAME="French Resources">
<IMPLEMENTATION>
<CODEBASE FILENAME="FR\Resources.DLL">
</CODEBASE>
</IMPLEMENTATION>
</CODE>

<CODE NAME="German Resources">
<IMPLEMENTATION>
<CODEBASE FILENAME="DE\Resources.DLL">
</CODEBASE>
</IMPLEMENTATION>
</CODE>

:
:

</MSICD::NATIVECODE>
</SOFTPKG>

tim.j....@gmail.com

unread,
Sep 13, 2006, 11:42:05 AM9/13/06
to

tim.j....@gmail.com wrote:
> What do I need to do in the OSD file to make Internet Explorer unpack
> the DLLs in the CAB's Resources directory into a Resources subdirectory
> on the user's computer?

By Resources directory I meant directories by the name of FR, DE, etc.

0 new messages