在 NSIS 中,如何从另一个标签内跳转到一个标签?
注意:我不确定我所说的是否真的被称为标签,如果我错了,请纠正我。
在以下代码中,我想跳转到标签“InstallFiles”,请参见“# SEE HERE”行:
# the following code is from within a macro
# Check the directory exists
IfFileExists $installDirectory InstallFiles CreateDirThenInstall
CreateDirThenInstall: # this is a label...I think? :P
file $installDirectory
# SEE HERE: HOW DO I call the label 'InstallFiles'?
InstallFiles:
DetailPrint "SetOverwrite on."
SetOverwrite try
SetOutPath "${dir}"
file "Attributes_to_trees_panel.4do"
file "ATTRIBUTES_TO_TREES_PANEL.hlp"