我在尝试卸载应用程序时遇到错误。我使用NSIS为它制作安装程序和卸载程序。应用程序已卸载但未从添加/删除程序中删除。错误看起来像#34;尝试卸载时发生错误可能已经卸载了"
答案 0 :(得分:0)
您需要删除卸载部分中“添加/删除程序”注册的注册表项关系。
另见第34节的最后一段;要求的值" here
例如,它可能如下所示:
Section Uninstall
; ...here the existing uninstall code goes...
DeleteRegKey HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\WhateverNameYouHadUsedHereBefore"
SectionEnd