質問

I'm using a WiX setup project to build an MSI package.

I want the MSI, to do a copy of the given file during the installation to the installation folder from the one, where the .msi file is running from.

I read on WiX a bit, and what I found is the <CopyFile... /> element supposed to do that.

Appreciate your help.

役に立ちましたか?

解決

Actually I've figured out what the issue is. The problem is that the SourceDirectory of the CopyFile element supposed to point to the Directory tag id. Instead, I've used SourceProperty attribute of the CopyFlie tag, and also defined a Property separately, which made the use of the CopyFile element correct. So it worked.

ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top