NSIS 卸载程序自定义组件 /COMPONENTSONLYONCUSTOM

问题描述 投票:0回答:1

我是新手,也许很简单,我只是错过了语法和 NSIS 的一些问题。

我正在构建一个安装程序/卸载程序,并使用 InstType Default 和 InstType /COMPONENTSONLYONCUSTOM 作为前者。

我的问题是,我无法让它以同样的方式为卸载程序工作。我可以创建不同的选项来为卸载程序选择组件,但我无法做到这一点,因此组件仅在选择自定义选项时显示。

我错过了什么?

尝试使用 InstType un./COMPONENTSONLYONCUSTOM 或类似的东西,但没有成功

LangString instType ${LANG_ENGLISH} "Default"

InstType $(instType)
InstType /COMPONENTSONLYONCUSTOM  

InstType un.$(instType) 
InstType /COMPONENTSONLYONCUSTOM   un.$(instType) 

installation nsis uninstallation
1个回答
0
投票

InstType
开关仅适用于安装程序。我会尝试在 v3.10 中添加卸载程序支持...

© www.soinside.com 2019 - 2024. All rights reserved.