本文介绍了如何使用INNO设置部署WCF服务?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

实际上,我使用Advance Installer为WCF服务创建了MSI软件包.现在,我想使用* INNO SETUP * 为WCF服务创建MSI或exe程序包我正在使用Inno Script Studio 5.5.3.我是Inno设置的初学者,现在只有我安装了Inno设置应用程序,所以我什么都不知道.我有在WCF服务的帮助下创建的dll.然后我以dll为参考创建了窗口服务应用程序,然后用服务应用程序创建了exe程序包.

Actually i created MSI package for WCF service using Advance Installer.Now i want to create MSI or exe package for WCF service Using *INNO SETUP*I am using Inno Script Studio 5.5.3.I am beginner in Inno setup, now only i installed the Inno setup application,So i don't aware of anything.I am having dll which is created with the help of WCF service.Then I created window service application with reference of dll, then created exe package with service application.

如何使用INNO设置创建MSI或exe软件包.可以单独使用WCF服务dll来创建安装程序.否则,如果我需要使用Windows服务应用程序的exe来为INNO Setup创建msi或exe软件包.这怎么可能?请给我一些示例应用程序(或)步骤以继续进行INNO设置.

How can i create MSI or exe package using INNO setup.It is possible to create setup with the help of WCF service dll alone.Else if i need to use exe of windows service application, to create msi or exe package for INNO Setup .How it is possible?Please give me some sample application (or) steps to proceed for INNO setup..

关于,洛克希·J

推荐答案

如果您遵循 this post ,安装此类服务的InnoSetup脚本可能看起来像这样(只需将其复制并粘贴到InnoSetup代码编辑器中,然后将其保存在硬盘驱动器上的某个位置即可):

If you'd follow this post, the InnoSetup script for installing such service might look like this (just copy and paste it into the InnoSetup code editor and save it somewhere on your harddrive):

[Setup]
AppName=App Name
AppVersion=1.5
DefaultDirName={pf}\Folder Name

[Files]
Source: "C:\SomeFolder\YourService.exe"; DestDir: "{app}"

[Run]
Filename: "{app}\YourService.exe"; Parameters: "--install"

[UninstallRun]
Filename: "{app}\YourService.exe"; Parameters: "--uninstall"

这篇关于如何使用INNO设置部署WCF服务?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

10-25 01:06