Knowledge Base

How To Create Log File for Distributed Setup

Article ID: 160243

Article Last Modified on 6/30/2004


APPLIES TO


This article was previously published under Q160243

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: In Visual FoxPro 5.0, the Windows NT section already has the /G "LOG.TXT" switch added. However, this not already added in Visual FoxPro 6.0.
  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:

137391 OFF7: Setup Switches for Office 7.0

Keywords: kbhowto kbsetup KB160243