我想分开要由安装程序提取的文件的区段和要由卸载程序删除的文件,而两个区段具有相同的区段名称。
代码:
#Initialize variable
!define APPLICATION_NAME "Demo"
#Installer section
Section "${APPLICATION_NAME}"
SetOutPath "$INSTDIR"
WriteUninstaller "$INSTDIR\Uninstaller.exe"
SectionEnd
#Uninstaller section
Section "${APPLICATION_NAME}"
Delete "$INSTDIR\Uninstaller.exe"
RMDir "$INSTDIR"
SectionEnd 图像:

发布于 2015-12-04 15:38:13
从文件中:
卸载程序节名以“un.”作为前缀。
Section "Demo"
SectionEnd
Section "un.Demo"
SectionEndhttps://stackoverflow.com/questions/34091550
复制相似问题