编译脚本时,我使用Visual&Installer收到警告输出

问题描述

我正在使用最新版本的Visual&Installer:

        ================================================
6>       Visual & Installer - Inno Setup Compiler (1.0.4.9)
6>       copyright (c) 2012 - 2020 unSigned,s. r. o.  
6>       Visit http://www.visual-installer.com/ for more information. 
6>      ================================================

我刚刚在错误日志的底部注意到,看起来像是不完整的文本:

6>D:\My Programs\2019\MeetSchedAssist\Inno\MeetSchedAssist2019_v6.iss(1,1): warning : A message named "UninstalldisplayNameMarkCurrentUser" has not been defined for the "Romanian" language. Will use the English message from Default.isl.
6>D:\My Programs\2019\MeetSchedAssist\Inno\MeetSchedAssist2019_v6.iss(1,1): warning : such changes may not achieve what you are intending. See the "UsedUserAreasWarning" topic in help file for more information.
6>      Script compiled successfully in 25.402 seconds.

这个:

此类更改可能无法实现您的预​​期。有关更多信息,请参见帮助文件中的“ UsedUserAreasWarning”主题

似乎不完整。如果使用Inno Setup 6.0.5进行编译,则会得到以下构建输出

Warning: A message named "UninstalldisplayNameMarkCurrentUser" has not been defined for the "Romanian" language. Will use the English message from Default.isl.
Warning: The [Setup] section directive "Privilegesrequired" is set to "admin" but per-user areas (HKCU) are used by the script. Regardless of the version of Windows,if the installation is running in administrative install mode then you should be careful about making any per-user area changes: such changes may not achieve what you are intending. See the "UsedUserAreasWarning" topic in help file for more information.

如您所见,Inno Setup Compiler中的句子更冗长:

[Setup]节指令“ Privilegesrequired”设置为“ admin”,但是脚本使用了每个用户区域(HKCU)。无论Windows的版本如何,如果安装均以管理安装模式运行,则应谨慎进行每个用户区域的更改:此类更改可能无法达到您的预期。有关更多信息,请参见帮助文件中的“ UsedUserAreasWarning”主题

警告中缺少包括冒号在内的所有内容

解决方法

感谢您举报。

此问题已在Visual&Installer的最新版本(2020年11月)中得到解决。