How to: Create runtime scripts for WinPcap driver
Posted: Tue Aug 28, 2007 2:29 am
WinPcap is a driver available from http://www.winpcap.org
After reading about How to on BDE, I design this WinPcap runtime in an hour.
This runtime script is not yet perfect but can be used easily.
1. Copy all rtm and mia files to <InstallAware>\\runtimes
2. Open your project in IA, and in Design mode you can see WinPcap is listed there.
3. When you have select WinPcap, two files are added under Include Scripts in MSIcode mode.
4. You should modify some lines in order to make it work on your machine:
4.1 Line 11 and 14 in checkwinpcap.mia - you should update the version string
4.2 Line 27 in checkwinpcap.mia - update the version string
4.3 Line 3 in setupwinpcap.mia - update the File Bag
This runtime can be a nice start point if you want to learn how to write a runtime yourself. Because WinPcap installer is created with NSIS, you can see how to deal with it correctly in this sample.
File Attached:
WinPcap.zip
After reading about How to on BDE, I design this WinPcap runtime in an hour.
This runtime script is not yet perfect but can be used easily.
1. Copy all rtm and mia files to <InstallAware>\\runtimes
2. Open your project in IA, and in Design mode you can see WinPcap is listed there.
3. When you have select WinPcap, two files are added under Include Scripts in MSIcode mode.
4. You should modify some lines in order to make it work on your machine:
4.1 Line 11 and 14 in checkwinpcap.mia - you should update the version string
4.2 Line 27 in checkwinpcap.mia - update the version string
4.3 Line 3 in setupwinpcap.mia - update the File Bag
This runtime can be a nice start point if you want to learn how to write a runtime yourself. Because WinPcap installer is created with NSIS, you can see how to deal with it correctly in this sample.
File Attached:
WinPcap.zip