Windows Service installutil 部署时,出错的解决办法-原创
2023-09-11 14:21:33 时间
出错信息如下:
----------------------------------------------------------
~~~~~...
The Rollback phase completed successfully.
The transacted install has completed.
The installation failed, and the rollback has been performed.
-------------------------------------------------------------
解决办法:
1. 右键 developer command prompt for vs2012
2. 选择管理员方式运行
3. 输入 cd "c:\Program Files (x86)\M
icrosoft Visual Studio 11.0"
4. installutil "你要发布的windowsService.exe"
5. 成功部署 :)
The Commit phase completed successfully.
The transacted install has completed.
另外注意: Timer控件引用 System.Timers.Timer
相关文章
- Windows PE第6章 栈与重定位表
- Windows Server 2012 R2 路由功能部署
- 在 Windows 下部署 Go 语言环境
- SQL Server安装程序在运行 Windows Installer 文件时遇到错误
- windows系统中使用CMD切换管理员权限
- docker for windows--Windows 10 家庭中文版安装clickhouse 22.3版本及配置
- 【Oracle】Windows 7下完全卸载Oracle 11g数据库
- .NET6打包部署到Windows Service的全过程
- 如何将.NET Core部署为Windows服务
- Windows Phone开发-开发环境和结构
- windows制作macos的U盘启动
- 《微软云计算Windows Azure开发与部署权威指南》——6.2 Azure平台AppFabric概述
- 《微软云计算Windows Azure开发与部署权威指南》——6.4 AppFabric访问控制管理服务
- 《微软云计算Windows Azure开发与部署权威指南》——6.10 小结
- 基于Apache的阿里云部署Node.js服务器(Windows环境)
- windows Redis绑定ip无效,Redis设置密码无效,Windows Redis 配置不生效, Windows Redis requirepass不生效
- 使用nssm在windows服务器上部署nodejs
- Jfinal文件上传基础路径问题,windows下会以项目根路径为基础路径
- Windows上获取当前文件夹中某个后缀名的所有文件的名字
- 部署Windows 10每年能够在安全方面节省70万美元支出
- 调查:Windows 10增幅明显 Windows 7稳中有升
- 在Linux中快速部署桌面及远程连接,安装虚拟机制作操作系统镜像,解决Windows系列版本系统出现蓝屏等问题,可用于openstack制作系统镜像,创建虚拟机的时候设置账号和密码等
- Windows和Unix/Linux的文件路径分隔符及命令行参数风格