/build/static/layout/Breadcrumb_cap_w.png

packaging a .cab containing a .inf and .dll registering.

I have a project to wrap an IE plug-in. All this allows is for the user to print from the web page. The directions for manual install is to create an HTM file that consists of the following.

<HTML>
<GR:"Support Note"><HEAD>
<TITLE>Manual install of DDRINT print control for IE</TITLE>
<SCRIPT LANGUAGE="Jscript">
function ShowIsCompleted() {
alert("Operation completed. Please verify print control is installed into C:\\WINNT\\Downloaded Program Files or C:\\Windows\\Downloaded Program Files.");
}
</SCRIPT>
</HEAD>
<BODY onLoad=ShowIsCompleted()>
<H3>Loading DocumentDirect for the Internet print control for Internet Explorer …</H3>
<OBJECT ID="Pcontrol" Name="Pcontrol" WIDTH=1 HEIGHT=1
CODEBASE=file:///c:/mobus/iejpwenu.cab#version=2,1,1,16
CLASSID="clsid:DF261D07-7E99-11D4-B2C7-009027A1F18A">
</OBJECT>
</BODY>
</HTML>

Pretty simple to get this to work. Although there is a .inf located within the .cab. I know how to get the .DLL to auto register but that alone does not do the trick.

The .INF consists of:


[Version]
signature="$CHICAGO$"
AdvancedINF=2.0
[Add.Code]
iejpwenu.dll=iejpwenu.dll
[iejpwenu.dll]
file-win32-x86=thiscab
clsid={DF261D07-7E99-11D4-B2C7-009027A1F18A}
FileVersion=2,1,1,16
RegisterServer=yes


Anyone have any better ideas? I have tried the easy snapshot. But the plug-in shows as damaged. Is there a way to add the .CAB to an msi project so that it installs the dll using the inf?

Thanks!!

0 Comments   [ + ] Show comments

Answers (1)

Posted by: VikingLoki 19 years ago
Second Degree Brown Belt
0
Looks like you should create a custom action to launch a command line that will register the DLL using the INF. Figure out what the command line should be (This MS Article should help). Stick the CA in the MSI SCRIPT Execute Deferred, right before InstallFinalize.
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ