INFO: Finding the StartUp Group Name on International Windows

Last reviewed: January 15, 1998
Article ID: Q178624
The information in this article applies to:
  • Microsoft Windows 95
  • Microsoft Windows NT, version 4.0

SUMMARY

When you write an installation script for an application on Microsoft Windows, an entry to the StartUp program group may be added. However, international retail versions of Microsoft Windows use different group names. For example, the German retail version of Microsoft Windows calls its StartUp program group AutoStart, so looking for a program group by name will not necessarily work. To ensure your installation script can find the program group, it must refer to the system registry. This article demonstrates how to update the StartUp group regardless of what localized version of Microsoft Windows your customer may be using.

MORE INFORMATION

To run a language independent setup, the application needs to check the registry value at [HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\ CurrentVersion\Explorer\Shell Folders]. Some values in the registry include Start Menu and Startup. By referring to these values, an application can get the local names of the directories.

Keywords          : KBIntlDev kbhw
Version           : Winnt:4.0
Platform          : Win95 winnt
Issue type        : kbinfo


================================================================================


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