Why do I Get a "Baseline File Not Found" Error in setup.ini When Running an Installer I Created?
Primary Software: LabVIEW Development Systems>>LabVIEW Professional Development System
Primary Software Version: 8.0
Primary Software Fixed Version: N/A
Secondary Software: LabWindows/CVI Development Systems>>Full Development System
Problem: When I run the installer I built using LabVIEW 8.0 or LabWindows/CVI 8.0 I receive an error from setup.exe stating that errors were found in my setup.ini file. The error in the setup.ini is that a file cannot be found, such as DAQBaseline, GPIBBaseline, IMAQBaseline, etc. How can I fix the setup.ini file?
Solution: When building a multi-volume installer using LabVIEW 8.0 or LabWindows/CVI 8.0 there are certain instances where the setup.ini file incorrectly references the location of the MAX Baseline Provider files. This issue will not occur if you disable Media Spanning when building the installer. If you must have Media Spanning enabled then follow the steps below to edit and fix the setup.ini file.
- If the installer will be run on a computer which has any version of Measurement & Automation Explorer (MAX)
- Locate the setup.ini file for the installer you built and open this file in a text editor.
- Find the
[max.msi] section, Take note of the location poined to by Path=, which should be in the form bin\p##\max.msi. Also, take note of the number following the Volume=# tag. Now, close the setup.ini file.
- Go to the
Volume# directory. For example, if the [max.msi] Volume tag in setup.ini is Volume=3 then go to the Volume3 directory of the installer you built.
- Go to the path pointed to by the
[max.msi] Path= tag. For example, if Path=bin\p17\max.msi then go to Volume3\bin\p17.
- Copy the entire p## directory to the bin directory of the first volume. For example, copy
Volume3\bin\p17 to Volume\bin\p17.
- You may now re-launch your installer.
- Media Spanning will now work correctly; however, the size of the first volume will be increased by 20MB.
- If the installer will be run on a computer which has Measurement & Automation Explorer (MAX) 3.x or 4.x
- Locate the setup.ini file for the installer you built and open this file in a text editor.
- Find the
[MAXBaseProviders] section and rename it to [_MAXBaseProviders]
- Save and close the setup.ini file. You may now re-launch your installer.
- If the installer will be run on a computer which has Measurement & Automation Explorer (MAX) 2.x
- Locate the setup.ini file for the installer you built and open this file in a text editor.
- Find the
[MAXBaseProviders] section and rename it to [_MAXBaseProviders]
- Save the setup.ini file.
- Find the
[max.msi] section, Take note of the location poined to by Path=, which should be in the form bin\p##\max.msi. Also, take note of the number following the Volume=# tag. Now, close the setup.ini file.
- Go to the
Volume# directory. For example, if the [max.msi] Volume tag in setup.ini is Volume=3 then go to the Volume3 directory of the installer you built.
- Go to the path pointed to by the
[max.msi] Path= tag. For example, if Path=bin\p17\max.msi then go to Volume3\bin\p17.
- Go to the BaselineProviders subdirectory.
- Run every file in this directory which has a .msi extension.
- You may now re-launch your installer.
Related Links:
Attachments:
Report Date: 10/20/2005
Last Updated: 11/08/2005
Document ID: 3QEEDMG2