/build/static/layout/Breadcrumb_cap_w.png

MSI Newby Question

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

Answers (1)

Posted by: VikingLoki 19 years ago
Second Degree Brown Belt
0
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].
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