How to Use AppSearch to Search for a Specific Application

Last reviewed: December 2, 1996
Article ID: Q137444
The information in this article applies to:
  • Microsoft Visual FoxPro for Windows, version 3.0

SUMMARY

The Visual FoxPro 3.0 Setup Wizard does not require that an application (.app) file be specified. This article describes how to cause a generated setup to search for a specific file to determine if the application exists on the target computer.

NOTE: Modifications to Wzsetup.ini are not supported by Microsoft FoxPro Technical Support.

MORE INFORMATION

The FoxPro 2.6 Setup Wizard required that a specific .app or .exe be identified as the application file. This file was used in the command for the Program Manager item.

The Visual FoxPro 3.0 Setup Wizard allows many Program Manager items to be created and does not require that a single .app or .exe be selected as the application file. As a result, the generated setup does not know which specific file to search for to determine if the application exists on the target directory.

You can, however, modify the ApplicationName setting in the Preferences section of Wzsetup.ini as follows to cause the generated setup program to look for a specific file and display a warning to the user if the file is found:

   [Preferences]
   ApplicationName=Myapp.app

When the generated setup runs, it will look for Myapp.app in the default installation directory.


Additional reference words: 3.00 VFoxWin
KBCategory: kbtool
KBSubcategory: FxtoolDk


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.

Last reviewed: December 2, 1996
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.