在安装期间将命令行参数传递给Windows安装程序 [英] Pass command line argument to windows installer during Installation

查看:153
本文介绍了在安装期间将命令行参数传递给Windows安装程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

HI,

我正在尝试从安装程序(.msi文件)运行控制台应用程序。该控制台将采用命令行参数。我已经添加了自定义操作的安装部分中的控制台应用程序。我将其参数属性设置为TARGETDIR。

I'm trying to run an console application from an installer(.msi file).That console will take command line arguments.I've added that console application in Custom Action's Install section.I'm setting its argument property as TARGETDIR.

我能够运行应用程序。但它不会接受任何参数。

I'm able to run the application.But it won't take any parameter.

我想知道如何在安装过程中传递参数?我需要设置任何属性吗?

I want to know how to pass the arguments during installation?Is there any property that i need to set?

请尽快帮助我。

提前致谢

Aster_g

推荐答案

Aster_g,

Aster_g,

此论坛专门针对与Microsoft Project Server相关的问题  设置,
升级,管理和操作

This forum is dedicated for questions related to Microsoft Project Server Setup, Upgrade, Administration and Operation.

请在相关的Windows
论坛上发布此问题,以获得快速和适当的帮助。


这篇关于在安装期间将命令行参数传递给Windows安装程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆