I need to deploy the contents of a CAB file which are simply a DLL with an INF.

I created the MSI with these 2 files embedded but when I run it the desired results do not happen.

How do you package up a simple cab file correctly for distribution?

Thanks :::
0 Comments   [ + ] Show Comments


Please log in to comment

Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.


Here's the trick to this one. If there is no .exe file, windows installer gets confused with how to deal with the two files. This usually does the trick:

Extract the contents of the CAB file to somewhere easily accessed by, but not on your packaging machine.
Create a zero byte file, name it [whatever].EXE (Windows Installer will use this as the base application)
Use SetupCapture, take a snapshot.
Copy the .dll and .ini to wherever they need to go.
Copy the dummy .exe to \program files\[whatever]
Finish the SetupCapture process.
Clean out the rubbish and set the default directory to \program files\[whatever].
Answered 10/27/2004 by: VikingLoki
Second Degree Brown Belt

Please log in to comment
Answer this question or Comment on this question for clarity