如何将文件添加到MSI安装程序?

问题描述

我知道还有其他问题,但是问题非常相似。

我想向MSI安装程序添加文件。我用的是SuperOrca。这是我的步骤:

Add a row to Component Table.
Component: config.config_file.txt
ComponentId: {12CA....}
Directory: CONfig_DIR
Attributes: 256
Condition:
KeyPath: config_file.txt

Add a row to Feature Component Table:
Feature: Test
Component: config_file.txt

Add a row to File:
File: config.config_file.txt
Component.config.config_file.txt
FileName: config_file.txt
FileSize: 8192
Version:
Language:
Attributes: 512
Sequence: 41

Modify LastSequence to 41 at the Media table.

我将其添加到表中,但实际上如何添加文件?我读了一些关于makecab内容。但是不太了解。

这是最好的方法还是我应该更好地创建合并模块MSM并将其添加到MSI文件中?

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)

相关问答

Selenium Web驱动程序和Java。元素在(x,y)点处不可单击。其...
Python-如何使用点“。” 访问字典成员?
Java 字符串是不可变的。到底是什么意思?
Java中的“ final”关键字如何工作?(我仍然可以修改对象。...
“loop:”在Java代码中。这是什么,为什么要编译?
java.lang.ClassNotFoundException:sun.jdbc.odbc.JdbcOdbc...