使用NISIS卸载程序创建卸载程序

时间:2017-03-17 13:44:27

标签: nsis

我在尝试卸载应用程序时遇到错误。我使用NSIS为它制作安装程序和卸载程序。应用程序已卸载但未从添加/删除程序中删除。错误看起来像#34;尝试卸载时发生错误可能已经卸载了"

1 个答案:

答案 0 :(得分:0)

您需要删除卸载部分中“添加/删除程序”注册的注册表项关系。

另见第34节的最后一段;要求的值" here

例如,它可能如下所示:

Section Uninstall
    ; ...here the existing uninstall code goes...

    DeleteRegKey HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\WhateverNameYouHadUsedHereBefore"
SectionEnd