PRB: Distributed Setup Requires Admin Privileges on Windows NT (168042)
The information in this article applies to:
- Microsoft Visual FoxPro for Windows 5.0
- Microsoft Visual FoxPro for Windows 5.0a
This article was previously published under Q168042 SYMPTOMS
The setup created by the Visual FoxPro Setup Wizard requires administrator
privileges when run under Windows NT. If you are not logged on with
administrator privileges, you will receive the following error message when
running the setup:
Installation of this product requires system administrator privileges.
CAUSE
The user must be logged in with administrator privileges for setup to
perform all of its operations.
RESOLUTION
It is possible to bypass the portion of the setup routine that checks for
administrator privileges.
NOTE: It is important to recognize that bypassing this step could cause the setup to fail due to a lack of necessary privileges.
The following steps describe how to modify the setup to bypass the check
for administrator privileges:
- Create your distribution set as you normally would with the Setup
Wizard.
- Once the Setup Wizard is complete, locate the file Setup32.stf in your distribution disks directory.
- Open Setup32.stf in a text editor, such as Notepad.
- Locate the line that contains the text "DetectAdminPrivileges."
- Once you have located this line, look in the far-left column to
determine this line's Object ID.
- Locate a line above the "DetectAdminPrivileges" line that begins with
"Depend" and also contains the Object ID that was found in step 5.
- Delete the reference to the Object ID found in step 5 from this line.
- Save Setup32.stf.
The setup will no longer check for administrator privileges.
STATUS
This behavior is by design.
Modification Type: | Minor | Last Reviewed: | 2/22/2005 |
---|
Keywords: | kbprb kbsetup KB168042 |
---|
|