我尝试使用<CustomAction Id="UnlockAnonymousAuthentication"
Execute="deferred"
Impersonate="no"
Return="check"
Directory="TARGETDIR"
ExeCommand="[SystemFolder]inetsrv\appcmd unlock config /section:anonymousAuthentication" />
<CustomAction Id="UnlockBasicAuthentication"
Execute="deferred"
Impersonate="no"
Return="check"
Directory="TARGETDIR"
ExeCommand="[SystemFolder]inetsrv\appcmd unlock config /section:basicAuthentication" />
<CustomAction Id="UnlockWindowsAuthentication"
Execute="deferred"
Impersonate="no"
Return="check"
Directory="TARGETDIR"
ExeCommand="[SystemFolder]inetsrv\appcmd unlock config /section:windowsAuthentication" />
<InstallExecuteSequence>
<Custom Action="UnlockAnonymousAuthentication" Before="InstallFinalize"><![CDATA[NOT Installed]]></Custom>
<Custom Action="UnlockBasicAuthentication" Before="InstallFinalize"><![CDATA[NOT Installed]]></Custom>
<Custom Action="UnlockWindowsAuthentication" Before="InstallFinalize"><![CDATA[NOT Installed]]></Custom>
</InstallExecuteSequence>
在Windows 10中安装Sass,但我收到以下错误:
错误:安装sass时出错: 最后一个版本的ffi(&lt; 2,&gt; = 0.5.0)来支持你的Ruby&amp; RubyGems是1.9.18。尝试使用
Ruby version 2.5.0-1
安装它,然后再次运行当前命令 ffi需要Ruby版本&lt; 2.5,> = 2.0。目前的ruby版本是2.5.0。
Windows 10 Ruby安装程序 - 2.5.0-1(64位) 宝石版 - 2.7.3
提前致谢。