Fonts 跳过nullsoft SIS中已存在字体的安装
我正在使用NULLSIS软件,我想知道如何检测系统上是否已经安装了某些字体。Fonts 跳过nullsoft SIS中已存在字体的安装,fonts,nsis,Fonts,Nsis,我正在使用NULLSIS软件,我想知道如何检测系统上是否已经安装了某些字体。 因此,如果找到它们,我可以跳过它们的安装。 我只想在尚未安装字体的情况下安装字体。使用IfFileExists检查是否存在某些文件 IfFileExists "$FONTS\arial.ttf" Continue InstallFont InstallFont: SetOutPath "$FONTS" File "arial.ttf" Continue: # Continue in installa
因此,如果找到它们,我可以跳过它们的安装。
我只想在尚未安装字体的情况下安装字体。使用IfFileExists检查是否存在某些文件
IfFileExists "$FONTS\arial.ttf" Continue InstallFont
InstallFont:
SetOutPath "$FONTS"
File "arial.ttf"
Continue:
# Continue in installation...
如果有多个文件,则使用nsArray存储文件名,并使用{for}循环迭代所有文件。使用IfFileExists检查某些文件是否存在
IfFileExists "$FONTS\arial.ttf" Continue InstallFont
InstallFont:
SetOutPath "$FONTS"
File "arial.ttf"
Continue:
# Continue in installation...
如果有多个文件,则使用nsArray存储文件名,并使用{for}循环迭代所有文件