2010-11-08 62 views
0

是否有免费的安装程序允许用户无缝安装也可以安装Windows服务的软件?免费安装程序可以轻松地将应用程序安装为Windows服务?

有一些像sc.exe一样的方法,但在Windows Vista和7中,它们在默认情况下被拒绝,除非用户将自己授予管理员。

希望有一个软件让开发人员的生活变得轻松。

我曾尝试过一个comprenehsive教程,但最终得到W7 64位错误。不知道其他平台: http://www.switchonthecode.com/tutorials/creating-a-simple-windows-service-in-csharp

尝试所有可用的.net installutil从2.0 32/64bits到4.0,非工作。我很乐意为重大项目尽快提供解决方案!

D:\install>C:\Windows\Microsoft.NET\Framework64\v4.0.30319\InstallUtil.exe setup 
.exe 
Microsoft (R) .NET Framework Installation utility Version 4.0.30319.1 
Copyright (c) Microsoft Corporation. All rights reserved. 

Exception occurred while initializing the installation: 
System.BadImageFormatException: Could not load file or assembly 'file:///D:\inst 
all\setup.exe' or one of its dependencies. The module was expected to contain an 
assembly manifest.. 

回答

2

你可以尝试使用NSISNSIS UAC plug-in,然后用NsSCM或相似。

+0

很棒的建议!自从他们第一次发布以来,我就知道Winamp,我从不知道安装程序像jQuery一样成熟了。 – Proyb2 2010-11-08 13:21:26

相关问题