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?
-
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>". – Benjamin Rudolph Apr 12 '19 at 11:33
7 Answers
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:

- 560
- 5
- 17
-
I am so happy this works. Now I can bundle executables and DLLs for my favorite programs as one file. – 9pfs Mar 21 '21 at 18:28
-
1Wow. It just worked for me. I tried every other thing. But this solution worked well for me. Thanks – Chanks Sep 09 '21 at 06:01
-
It's riddiculous how this works. I can't run iexpress as admin, workplace policy, but now I can use it. Thank you – Nawad-sama Dec 30 '22 at 09:46
-
You probably need to run with elevated permissions, see the SS64 entry on IExpress.

- 420
- 1
- 5
- 18
-
2Even with elevated permissions, the issue remains. Likely this won't work for the OP. – Christian Sirolli Oct 24 '17 at 17:37
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.

- 91
- 1
- 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.

- 11
- 2
-
1
-
Thank you for saving me from any more frustration, I too had a duplicate file. – Corwin Newall Apr 15 '21 at 04:02
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.

- 437
- 3
- 11