English 中文(简体)
通过使用复印件档案材料,不能把弹药装入微粒。
原标题:by using copyfile element files cant not bind into msi package

i 正在使用300.i号轮值,名称为“images”。 因此,我想将图像中的所有档案复制成西套。 当一把所有档案都拷贝并安装了泥土时,它就没有约束图像。 当使用简单的卷宗时,这些档案必须装上薄膜。 因此,应当做到:

我很快的答复

Thanking You Samir

最佳回答

很明显,你希望建立一个能够生成一个屏幕平均安装器的申请,其中包括用户选定的一些图像文件——一种专门的InstallShield应用程序,仅仅用于创建屏幕安全器。

I would first create a template MSI file (with wix or something else) that does most of the work. You don t know which files the user is going to select later on, so add a placeholder component with the ID "UserSelectedFiles". Distribute this template MSI file with your application.

Then, when the user wants to generate a new installer, start by copying the template. Edit the copied msi so that it also installs the user selected files. You can do this with the .NET classes you can find in the "deployment tools foundation" API. This is a set of assemblies that come with wix; take a look at C:program filesWindows Installer XML v3sdk.

我只用DTF的APIC来做一些简单的 st子,例如,在MSI中将文件列表条目列作:

var database = new Database(@"path	osomefile.msi");
var list = database.ExecuteQuery("SELECT FileName FROM File");
Console.WriteLine(list.Count);

你的案件将变得更加复杂。 你可能不得不

  • generate a CAB archive that contains the image files with the classes you find in the Microsoft.Deployment.Compression.Cab namespace.
  • merge the CAB archive into the msi with Database.Merge
  • Add new entries to the File table of the MSI
  • Change the product code to something unique for each generated MSI
  • etcetera

为了了解微型和小型工业公司档案的内容和如何加以编辑,我建议你首先在以下几条轨道上演:orca msidb

问题回答

暂无回答




相关问题
Is Shared ReadOnly lazyloaded?

I was wondering when I write Shared ReadOnly Variable As DataType = New DataType() Or alternatively Shared ReadOnly Variable As New DataType() Is it lazy loaded or as the instance initializes? ...

Entertaining a baby with VB.NET

I would like to write a little application in VB.NET that will detect a baby s cry. How would I get started with such an application?

Choose Enter Rather than Pressing Ok button

I have many fields in the page and the last field is a dropdown with list of values. When I select an item in a dropdown and press Enter, it doesn t do the "Ok". Instead I have to manually click on Ok ...

ALT Key Shortcuts Hidden

I am using VS2008 and creating forms. By default, the underscore of the character in a textbox when using an ampersand is not shown when I run the application. ex. "&Goto Here" is not ...

Set Select command in code

On button Click I want to Set the Select command of a Gridview. I do this and then databind the grid but it doesn t work. What am i doing wrong? protected void bttnView_Click(object sender, ...

Hover tooltip on specific words in rich text box?

I m trying to create something like a tooltip suddenly hoovering over the mouse pointer when specific words in the richt text box is hovered over. How can this be done?

热门标签