我正在安装windows服务。当安装程序完成时,在install事件中编写的代码。它给出了以下错误。
错误1001。项目已经添加。输入字典:正在添加' _reserved_lastinstallerattempt '密钥:"_reserved_lastInstallerAttempted",
我在注册表中搜索了上述键的各种可能性,但徒劳。这个错误既没有显示任何堆栈跟踪也没有显示源代码。
检查您的Installer
实现void Install(IDictionary stateServer)
覆盖,看看您是否调用base.Install(stateServer)
两次