Changeset 1672


Ignore:
Timestamp:
2000-11-16T08:49:00+13:00 (23 years ago)
Author:
cs025
Message:

Fixed problem with Windows9x; only does administrator behaviour for
installing program groups when running under WindowsNT family.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gsinstaller/gsProgman.cpp

    r1657 r1672  
    179179    LPITEMIDLIST pidl;
    180180
    181     if (this->platform->isUserAdministrator())
     181    if (this->platform->isWindowsNT() && this->platform->isUserAdministrator())
    182182    {
    183183#if defined (__GNUC__)
     
    192192      }
    193193    else
    194       {
    195         if (SHGetSpecialFolderLocation(0, CSIDL_PROGRAMS, &pidl) != NOERROR)
     194      { if (SHGetSpecialFolderLocation(0, CSIDL_PROGRAMS, &pidl) != NOERROR)
    196195        {
    197196          return false;
Note: See TracChangeset for help on using the changeset viewer.