msinfo32将无法在Windows XP下的NSIS中运行 [英] msinfo32 won't run in NSIS under Windows XP

查看:192
本文介绍了msinfo32将无法在Windows XP下的NSIS中运行的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

以下NSIS行由于某种原因拒绝在Windows XP下运行(立即返回):

The following NSIS line refuses to run for some reason (returns immediately) under Windows XP:

  ExecWait ' "$PROGRAMFILES\Common Files\Microsoft Shared\MSInfo\msinfo32" /report "$DESKTOP\msinfo.log" '

如果我在命令行中运行msinfo32,它将正常运行:

If I run msinfo32 in the command line, it runs properly:

C:\ Documents and 设置\管理>%PROGRAMFILES%\公用 文件\微软 Shared \ MSInfo \ msinfo32"/报告 %APPDATA%\ .. \ Desktop \ msinfo.log"

C:\Documents and Settings\Admin> "%PROGRAMFILES%\Common Files\Microsoft Shared\MSInfo\msinfo32" /report "%APPDATA%\..\Desktop\msinfo.log"

为什么?

我如何使它工作?

推荐答案

删除单引号后的空格,并为msinfo添加.exe.为我工作.

Remove spaces after single quotes and add .exe for msinfo. Worked for me.

这篇关于msinfo32将无法在Windows XP下的NSIS中运行的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆