这几天真是郁闷,两个问题,一个是xp+sp2下装vs6不能调试,没有解决。第二个问题是同样环境下装argis9,老师报告dll不能注册。
首先在google和baidu上查询,无结果。怀疑显卡,无结果。怀疑操作系统,重装若干次,无结果。怀疑病毒,无结果。最后上esri网站,搜索,解决。
- Verify the Administrator account is running for Windows XP.
- Go to Start->Control Panel and choose the System applet.
XP Home users may need to choose the "Classic View" link to be able to see the System applet. - Click on the Advanced tab.
- Select the Settings button under Startup and Recovery.
- Locate and change the boot.ini, by clicking on the Edit button, and then change the string /NoExecute=OptIn to /NoExecute=AlwaysOff.
- Save the file and reboot.
Now ArcGIS should install with no error 1904 messages. - After installation, change the boot.ini back to its original state, returning the added layer of security.
Below are the different switches for the NoExecute parameter.
The boot.ini file switches:
/NoExecute=OptIn - This is the default. DEP is enabled. There are four options to this switch:
- OptIn - Default setting. Only Windows system binaries are monitored by DEP.
- OptOut - Enables DEP for all processes. Users can create a list of applications which are not monitored by DEP using the DEP configuration options listed in the System Control Panel applet.
- AlwaysOn - Enables DEP for all processes. DEP is always applied, and exceptions lists are ignored and not available for users to apply.
- AlwaysOff - Disables DEP.
/execute - Disables DEP.
看来,内事问老婆,外事问google是不一定行的。