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 :::
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)
Please log in to answer
Posted by:
VikingLoki
20 years ago
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].
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.
so that the conversation will remain readable.