Unable to open the Report file (iexpress)
Asked Answered
F

7

21

I'm trying to create a installer with iexpress for a WAV Audio Player in C that I finished today, but, when I'm on the last step, it cames up with the following error message: "Unable to open the Report file C:\Users\Poleto\Desktop\~SWAV.RPT" Any idea of how can I fix this?

Fluttery answered 19/5, 2017 at 1:24 Comment(1)
I just discovered this error can also be caused, by a filename containing spaces, in the .SED file list. Details below. Even though I put the filename in quotes, when iexpress invokes the Windows makecab utility, makecab chokes on the filename--the intermediate .DDF file does not have the quotes. When I tried manually running makecab on the .DDF file, I found the error reported as "ERROR: Unexpected text: <lastwordofmyfilename.lnk>".Airdrome
A
28

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:

Image of successful installer run

Azov answered 21/3, 2021 at 18:25 Comment(4)
I am so happy this works. Now I can bundle executables and DLLs for my favorite programs as one file.Azov
Wow. It just worked for me. I tried every other thing. But this solution worked well for me. ThanksEadwina
It's riddiculous how this works. I can't run iexpress as admin, workplace policy, but now I can use it. Thank youAnglicanism
Confirned working with on-admin user as Aug 11, 2023 on Win10 Pro 21H2.Anaya
G
13

You probably need to run with elevated permissions, see the SS64 entry on IExpress.

Gaslit answered 10/6, 2017 at 19:26 Comment(1)
Even with elevated permissions, the issue remains. Likely this won't work for the OP.Bonheur
J
10

You should run iexpress with administrator, then this will be resolved.

Joannajoanne answered 18/4, 2018 at 6:52 Comment(0)
C
10

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.

Coucher answered 3/9, 2019 at 10:30 Comment(0)
H
2

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.

Haggle answered 8/4, 2019 at 9:6 Comment(2)
btw, I didn't had to run with Admin access.Haggle
Thank you for saving me from any more frustration, I too had a duplicate file.Butchery
C
1

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.

Calcium answered 18/6, 2019 at 12:0 Comment(0)
C
0

You have to run it with administrator rights Hope i helped you.

Cesena answered 5/12, 2019 at 16:27 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.