|
回复 #13 guowei04246 的帖子
When you install inf files, either from the right-click menu in the explorer, or from the command-line, you might get a cryptic error message which reads “Windows cannot find grpconv.exe” or something similar. What is this and what does this mean?
Turns out, grpconv.exe is the utility to convert Windows 3.1 Program Manager “groups” into Windows 9x and later Explorer menu folders. Raymond Chen explains that in those days many programs misused the “groups” feature, creating groups on installation manually, instead of using program interfaces. So, with the conversion to “menu folders”, an application was written to clean up after such irresponsible installers and convert their hand-made “groups” into “menu folders”. Thus it was named “grpconv”.
Since inf files are basically “installation information”, Windows suspects that they might be installers for those older programs. Even though nobody uses them anymore, Windows cannot be sure, so it runs grpconv just to be safe. Just in case your inf file actually was an installer for such a program (there’s no rule you cannot install windows 3.1 apps on your XPE image, right? .
And, if you excluded grpconv from your image (which is often the case; it’s in “Base Support Binaries”, btw), Windows fails to find the conversion tool and, consequently, fails the installation process. Not only this is annoying, it also intervenes with installing inf files.
The solution is plain and simple: make an empty file “grpconv.cmd” in your Windows\System32 folder. Empty file is a valid script file which does nothing, and, lucky for us, Windows does not specify an extension when calling grpconv, so this replacement works just fine. Now, every time you install inf file manually, you’ll see a flashing black box marking the end of installation. |
|