了解MSI目录结构 [英] Understanding MSI directory structure

查看:73
本文介绍了了解MSI目录结构的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述





我正在阅读Windows Installer的microsoft文档。我正在阅读主题安装示例,其中我得到了一个指定目录结构的示例,如下所示



Hi,

I am reading microsoft documentation for Windows Installer. I am reading the topic "An Installation Example", in which i got an example specifying directory structure as given below

Directory	        Directory_Parent	DefaultDir

TARGETDIR		                        SourceDir
ProgramFilesFolder	TARGETDIR	        .

.................
.................
end of table





据我所知,TARGETDIR是应用程序将安装的位置

它可以在安装过程中使用用户界面进行更改。 ProgramFilesFolder是一个指向系统程序文件文件夹的属性。

但TARGETDIR是什么意思是ProgramFilesFolder属性的父级?该条目使目录结构不合逻辑。



请指导我这个混乱。



我尝试了什么:



我搜索了Windows Installer目录结构但找不到任何有意义的东西。



Now as far as I understood is that TARGETDIR is location where application will be
installed and it can be changed during installation using a User Interface. And the ProgramFilesFolder is a property that points to program files folder of the system.
But what does it mean by TARGETDIR is the parent of ProgramFilesFolder property? That entry makes the directory structure illogical.

Please, guide me in this confusion.

What I have tried:

I have googled the Windows Installer directory structure but could not find any thing meaningful.

推荐答案

TARGETDIR是设置提供的常量。它将用于计算安装目录和系统设置,如注册表项。



元代码:
TARGETDIR is a constant which is needed to provided by the setup. It will be used to compute the installation directory and system settings like registry keys.

Meta-Code:
String app_installation_directory = ProgramFilesFolder* + TARGETDIR

*目标机器的系统变量

*system variable of the target machine


不确定你是什么阅读,但我不认为这意味着。目标目录通常是程序文件文件夹的子目录。
Not sure what you're reading, but i don't think it means that. The target dir is typically a child of the program files folder.


这篇关于了解MSI目录结构的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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