我一直在使用WIX# (wixsharp)来创建一个MSI,我不知道如何安装一个windows服务。我已经浏览了整个CHM文件,但没有看到任何针对的特定内容。
蒂娅
布伦特。
发布于 2015-01-22 12:04:23
截至1.0.4版(发布时间为2015-01-18),WiX#支持安装Windows .
https://wixsharp.codeplex.com/releases/view/610843
File service;
var project =
new Project("My Product",
new Dir(@"%ProgramFiles%\My Company\My Product",
service = new File(@"..\SimpleService\MyApp.exe")));
service.ServiceInstaller = new ServiceInstaller
{
Name = "WixSharp.TestSvc",
StartOn = SvcEvent.Install,
StopOn = SvcEvent.InstallUninstall_Wait,
RemoveOn = SvcEvent.Uninstall_Wait,
};https://stackoverflow.com/questions/26642909
复制相似问题