如何获取用户要求msi安装应用程序的位置 [英] How to get the location where user ask msi to install the application

查看:142
本文介绍了如何获取用户要求msi安装应用程序的位置的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述




我想获得用户使用msi安装程序选择安装

程序的位置。如果安装出现问题,我要求这样做清理

活动。


问候,

Vidisha

Hi,

I want to get the location which user selects for installaion of
program using msi installer. I require this to do kind of cleanup
activity if something goes wrong with the installation.

Regards,
Vidisha

推荐答案

那是[TARGETDIR]。


" vi ********** *@gmail.com"写道:
That is [TARGETDIR].

"vi***********@gmail.com" wrote:




我想获得用户选择安装的位置

程序使用msi安装程序。如果安装出现问题,我要求这样做清理

活动。


问候,

Vidisha
Hi,

I want to get the location which user selects for installaion of
program using msi installer. I require this to do kind of cleanup
activity if something goes wrong with the installation.

Regards,
Vidisha


是的我试着回答但是我想要两个/

SrcDir =" [SourceDir] \"和/ TrgDir =" [TARGETDIR] \"


但是当我给/ SrcDir =" [SourceDir] \" ,/ TrgDir =" [TARGETDIR] \"

我的自定义操作不起作用。我怎样才能同时获得这两者。
Yes I tries that thanks for answering However I want both /
SrcDir="[SourceDir]\" and /TrgDir="[TARGETDIR]\"

however when I give /SrcDir="[SourceDir]\" , /TrgDir="[TARGETDIR]\"
for my custom action it does not work. How can I get both.


/ SrcDir =" [SourceDir] \" / TrgDir =" [TARGETDIR] \"


" vi *********** @ gmail.com"写道:
/SrcDir="[SourceDir]\" /TrgDir="[TARGETDIR]\"

"vi***********@gmail.com" wrote:

是的我试着回答但是我想要两个/

SrcDir =" [SourceDir] \"和/ TrgDir =" [TARGETDIR] \"


但是当我给/ SrcDir =" [SourceDir] \" ,/ TrgDir =" [TARGETDIR] \"

我的自定义操作不起作用。我怎样才能得到这两个。
Yes I tries that thanks for answering However I want both /
SrcDir="[SourceDir]\" and /TrgDir="[TARGETDIR]\"

however when I give /SrcDir="[SourceDir]\" , /TrgDir="[TARGETDIR]\"
for my custom action it does not work. How can I get both.


这篇关于如何获取用户要求msi安装应用程序的位置的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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