Microsoft KB Archive/100971

From BetaArchive Wiki

PRB: ADK Custom Setup Hangs During Installation

Article ID: Q100971
Creation Date: 01-JUL-1993
Revision Date: 04-OCT-1994 The information in this article applies to:

  • Microsoft Access Distribution Kit version 1.1

SYMPTOMS


If you create Setup disks using the Microsoft Access Distribution Kit (ADK) Custom Setup Wizard, the installation process hangs immediately after SETUP.EXE creates the program group.

CAUSE


This problem is caused by not specifying an icon file for the application in the .ICO File (Optional) field and selecting the Change Workgroups Program Manager Item check box when the message "Would you like to install any of these optional features?" appears in the Setup Wizard.

RESOLUTION


Run the Setup Wizard again and specify an icon file for the .ICO File (Optional) field, or follow the steps outlined below to modify the STFSETUP.IN_ file.

STATUS


This behavior no longer occurs in the Microsoft Access Developer's Toolkit version 2.0.

MORE INFORMATION


When the Setup Wizard creates the STFSETUP.IN_ file, it requires that that you have an icon file if you choose to install Change Workgroups. The [Custom] section of the file contains the following line:

   InstallChangeWorkGroup="YES"

If you have set this option to Yes, you must also add a line in the [Program Manager] section of the STSETUP.IN_ file that reads:

   $(AppPath)"NWIND.ICO"

You also need to substitute NWIND.ICO with an icon name that you specify. Updating Your STFSETUP.IN_ File


  1. Open the STFSETUP.IN_ file in Notepad. This file is usually found in the DISK1 directory of the custom application.
  2. Change the following entry

          [Program Manager]
          CreateProgManGroup $(ProgGroupDesc), "NWIND"
          CreateProgManItem $(ProgGroupDesc), "NWIND",
          $(AppPath)"MSARN110.EXE_ NWIND.MDB /Ini NWIND.INI"
          EXIT

    to read

          [Program Manager]
          CreateProgManGroup $(ProgGroupDesc), "NWIND"
          CreateProgManItem $(ProgGroupDesc), "NWIND",
          $(AppPath)"MSARN110.EXE_ NWIND.MDB /Ini NWIND.INI",
          $(AppPath)"NWIND.ICO"
          EXIT

Steps to Reproduce Behavior

  1. Run the Microsoft Access Custom Setup Wizard. Do not specify an icon.
  2. When you are prompted for ISAMs, select ChangeWorkGroup.
  3. After the Setup Wizard creates your disks, run SETUP.EXE. The process will hang on the last disk, after the icons are added to Windows Program Manager.



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 ADK
KBCategory: kbsetup
KBSubcategory: StpFail