How To Create Log File for Distributed Setup

Last reviewed: December 16, 1996
Article ID: Q160243
The information in this article applies to:
  • Microsoft Visual FoxPro for Windows, version 5.0
  • Microsoft Visual FoxPro for Windows, Professional Edition, version 3.0b

SUMMARY

Setup.exe can create a log file when you run it. This assists in troubleshooting setup problems with distributed applications.

MORE INFORMATION

To tell Setup.exe to create a log file, follow these steps:

  1. In a text editor, modify the file Setup.1st.

  2. If you are running on Windows 95 go to the [Windows 95 Params] section heading. If you are running on Windows NT 3.51 or higher go to the [NT3.51 Intel Params] section.

  3. Under your section modify the line:

          CmdLine     = acmsetup /T setup.stf /S %s %s
    
       To read:
    
          CmdLine     = acmsetup /T setup.stf /S %s %s /G "LOG.TXT"
    
       NOTE: The Windows NT section already has the /G "LOG.TXT" switch added.
    
    

  4. Save and Close the file.

  5. When you run Setup.exe, Log.txt appears in the temp directory. This file contains information about each step of the setup program and tells you whether or not it was successful.

REFERENCES

For more information about what switches exist for the setup application, please see the following article in the Microsoft Knowledge Base:

   ARTICLE-ID: Q137391
   TITLE     : OFF7: Setup Switches for Office 7.0


KBCategory: kbsetup kbhowto
KBSubcategory: FxsetupGeneral
Additional reference words: 5.00 VFoxWin kbdse



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 16, 1996
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.