使用cx_Freeze构建msi: ValueError: FCI错误1。

时间:2022-03-11 18:04:05

I want to make a msi for my PyGame game with cx_Freeze :

我想用cx_Freeze为我的PyGame游戏做一个msi:

(I already created an execute file)

(我已经创建了一个执行文件)

So, i used python setup.py bdist_msi, but I got this message :

因此,我使用了python设置。py bdist_msi,但我得到了这个信息:

File "C:\Python34\lib\msilib\__init__.py", line 213, in commit FCICreate(filename, self.files) ValueError: FCI error 1

文件“C:\ Python34 \ lib \ msilib \ __init__。第213行,提交FCICreate(文件名,self。files) ValueError: FCI错误1。

An idea ?

一个想法?

3 个解决方案

#1


0  

I had that problem, the build was created and worked ok, but an ValueError: FCI error 1 take place in the msi creation. In my case, it was due to data files containing a point in your name (example AB_12345.1.fasta). I replaced the point by the underscore symbol (example AB_12345_1.fasta) and everything worked properly. I hope it helps you on something.

我有这个问题,构建创建并运行良好,但是有一个ValueError: FCI错误1发生在msi创建中。在我的例子中,这是由于数据文件包含了您的名字中的一个点(例如AB_12345.1.fasta)。我用下划线的符号代替了这个点(例子AB _12345_ 1.fasta),一切都很正常。我希望它对你有所帮助。

#2


0  

I had the same problem. I solved my problem by deleting the build directory. Then run python setup.py bdist_msi. That works for me. I wish it will help you.

我遇到了同样的问题。我通过删除构建目录来解决我的问题。然后运行python设置。py bdist_msi。这适合我。我希望它能帮到你。

#3


-1  

I had the same problem. I used non-ascii characters at the path contains. I solved that by changing the path contains into ascii characters.

我遇到了同样的问题。我在路径中使用非ascii字符。我通过改变路径包含ascii字符来解决这个问题。

#1


0  

I had that problem, the build was created and worked ok, but an ValueError: FCI error 1 take place in the msi creation. In my case, it was due to data files containing a point in your name (example AB_12345.1.fasta). I replaced the point by the underscore symbol (example AB_12345_1.fasta) and everything worked properly. I hope it helps you on something.

我有这个问题,构建创建并运行良好,但是有一个ValueError: FCI错误1发生在msi创建中。在我的例子中,这是由于数据文件包含了您的名字中的一个点(例如AB_12345.1.fasta)。我用下划线的符号代替了这个点(例子AB _12345_ 1.fasta),一切都很正常。我希望它对你有所帮助。

#2


0  

I had the same problem. I solved my problem by deleting the build directory. Then run python setup.py bdist_msi. That works for me. I wish it will help you.

我遇到了同样的问题。我通过删除构建目录来解决我的问题。然后运行python设置。py bdist_msi。这适合我。我希望它能帮到你。

#3


-1  

I had the same problem. I used non-ascii characters at the path contains. I solved that by changing the path contains into ascii characters.

我遇到了同样的问题。我在路径中使用非ascii字符。我通过改变路径包含ascii字符来解决这个问题。