Changeset 1878
- Timestamp:
- 2001-01-31T05:32:59+13:00 (23 years ago)
- Location:
- trunk/gsinstaller
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gsinstaller/gsPlatform.cpp
r1763 r1878 155 155 LocalFree(aclData); 156 156 FreeSid(adminId); 157 return result;157 return (result != 0); 158 158 } 159 159 return true; … … 188 188 } 189 189 } 190 return ExitWindowsEx(EWX_REBOOT | EWX_FORCE,0);190 return (ExitWindowsEx(EWX_REBOOT | EWX_FORCE, 0) != 0); 191 191 } 192 192 -
trunk/gsinstaller/gsProgman.cpp
r1672 r1878 247 247 FilePath *fullPath; 248 248 249 if (this->platform->is UserAdministrator())249 if (this->platform->isWindowsNT() && this->platform->isUserAdministrator()) 250 250 { 251 251 #if defined (__GNUC__) … … 352 352 LPITEMIDLIST pidl; 353 353 354 if (this->platform->is UserAdministrator())354 if (this->platform->isWindowsNT() && this->platform->isUserAdministrator()) 355 355 { 356 356 #if defined (__GNUC__) … … 414 414 // if the user is adminstrator, take the folder from the common programs folder 415 415 // (in the "All Users" profile) 416 if (this->platform->is UserAdministrator())416 if (this->platform->isWindowsNT() && this->platform->isUserAdministrator()) 417 417 { 418 418 #if defined (__GNUC__)
Note:
See TracChangeset
for help on using the changeset viewer.