简体   繁体   中英

Unable to open the Report file (iexpress)

我正在尝试使用 iexpress 为我今天完成的 C 中的 WAV 音频播放器创建一个安装程序,但是,当我进行最后一步时,它出现了以下错误消息:“无法打开报告文件 C :\\Users\\Poleto\\Desktop\\~SWAV.RPT" 知道如何解决这个问题吗?

您可能需要以提升的权限运行,请参阅IExpress 上SS64 条目

您应该以管理员身份运行 iexpress,然后这将得到解决。

I came accross this issue as Admin. Something that worked for me:

On the Package Name and Options screen, tick 'Store files using Long File Name inside Package' and then create.

Sorry, I know this is an old post, but I found a solution, and it doesn't need admin. To create an installer, navigate to the folder you are installing from, click the Explorer path bar, and type in "iexpress". Then, create the installer as normal. You do not need admin privileges. Make sure you save the installer to the same folder. This defines the %cd% environment variable as the path of your installer folder, which makes it work. Maybe it's something with the command-line bundler. I don't know. All I know is that it works. Even with a non-administrator account running as non-elevated.

Proof:

安装程序成功运行的图像

I ran into this issue when I had by mistake, included the same filename twice in this file. I was able to narrow down the culprit section by removing all sections one at a time and running the build until the build passed. And then an analysis of the erring section revealed the filename duplication.

Yes, running IExpress as administrator usually solves this problem, but in my case there was an additional issue. I noticed that IExpress produces the same error when the path to the source files contains folders with spaces AND the path is based on another partition than C: (or maybe the system partition). For example:

Working Path => C:\Some Folder With Space\file.SED
Not Working => D:\Some Folder With Space\file.SED
Working Path => D:\SomeFolderWithSpace\file.SED

I liked that IExpress extracts to temporary folder, generates initial SED file from GUI, which can easily be edited as it has INI format, has command line, can include install script/executable after extraction and is part of Windows. Really nice features, but this bug is a killer. Also, running as administrator and not providing error codes when unable to create archive (from command line) is not nice.

你必须以管理员权限运行它希望我帮助你。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM