INF: How to Use the CreateIniKeyValue Command in STFSETUP.IN_

    Article ID: Q105665
    Creation Date: 22-OCT-1993
    Revision Date: 05-FEB-1996

    The information in this article applies to:

    • Microsoft Access Distribution Kit version 1.1

    SUMMARY

    The STFSETUP.IN_ file is created by the Setup Wizard and is used while your application is being installed on a user's computer. This file includes a command called CreateIniKeyValue that you can use to specify custom entries in the application's .INI file.

    MORE INFORMATION

    You can use the CreateIniKeyValue command to add or modify entries in the application's .INI file. For example, you may want to modify the ISAM section in your application's .INI file. You can use the CreateIniKeyValue command to modify the ISAM section of the application's .INI file to reflect the location specified by the user during the installation process.

    The following is a sample entry that will modify the location of the PDX110.DLL file that might be installed for the Paradox ISAM dynamic-link library. Note that this is the [INI File] section of the STFSETUP.IN_ file:

    NOTE: In the following example, an underscore (_) is used as a line- continuation character. Remove the underscore when re-creating this example.

       [INI File]
       CreateIniKeyValue, $(WindowsPath)$(IniFileName), "Installable ISAMs",_
                      "Paradox 3.X", $(SystemPath)"PDX110.DLL", O
       Exit
    
    
    Note that there are several locations in the STFSETUP.IN_ file that already use the CreateIniKeyValue command.

    REFERENCES

    Microsoft Access "Distribution Kit Guide," version 1.1, page 52


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.
©1997 Microsoft Corporation. All rights reserved. Legal Notices.

Additional reference words: 1.10
KBCategory: kbsetup kbhowto
KBSubcategory: StpOthr