October 29, 2025, 01:09:08 PM

News:

Own IWBasic 2.x ? -----> Get your free upgrade to 3.x now.........


Res file limit?

Started by Andy, July 24, 2015, 07:11:18 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Andy

Hi,

I have three setup programs, one for Windows, Linux and Mac.

The windows one is 12.1Mb
The Linux and Mac ones are 16.5Mb each.

Thought I would make a little "General" setup program where the user could select their O/S.

Depending on which O/S they choose, this program would extract and run the correct setup program for them.

The problem is that when I include all three in this setup program the compiler cannot create the .res file.

I can have the windows version and either one of the Linux / Mac setup programs - but it fails when I have both Linux and Mac versions.

Compiling Resources...

Error!
The system could not make the RES output file
RES file not made
Error compiling resources


These programs are in a resource file, and the program is built as a project.

All paths to the files are correct, and the files exist.

Here is the snippet from the resource file:

301 324 "C:\\Project\\Enhanced\\SetupAutoScanEnhanced.exe"
302 324 "C:\\Project\\Enhanced\\Linux\\SetupAutoScanEnhancedLinux.exe"
303 324 "C:\\Project\\Enhanced\\Mac\\SetupAutoScanEnhancedMac.exe"

301 the Windows version... 302 and 303 are the Linux / Mac versions.

So is there a "size" limit to a res file???

and can I get around it??

Thanks,
Andy.
:)

Day after day, day after day, we struck nor breath nor motion, as idle as a painted ship upon a painted ocean.

LarryMc

I don't know if there is a limit or not.
Try this
put a ; in front of the 302 and 303 lines in the .rc file
that comments out those two lines
Try compiling just the resources with the R button
this will tell us if just the 301 resource will compile

Then switch things around and try the other two and let us know the result.

Almost forgot
what is the name of your .rc file and you output .exe file?
LarryMc
Larry McCaughn :)
Author of IWB+, Custom Button Designer library, Custom Chart Designer library, Snippet Manager, IWGrid control library, LM_Image control library

Andy

Hi Larry,

Both .rc and .exe are called

SetupAutoScanMainMenu

I have tried all combinations for the setup programs.

1 windows and 1 mac - ok
1 windows and linux - ok

Linux and Mac - no

Thanks,
Andy.
Day after day, day after day, we struck nor breath nor motion, as idle as a painted ship upon a painted ocean.

LarryMc

Looks to me like there is a 32M limit.

And I have no idea of a work around.

Maybe somebody else has some ideas.

Sorry

(If this is part of some sort of installer you are building I've made my suggestions in the past)
LarryMc
Larry McCaughn :)
Author of IWB+, Custom Button Designer library, Custom Chart Designer library, Snippet Manager, IWGrid control library, LM_Image control library

Andy

It's okay Larry,

I just came across it, and to be honest it was only an idea of mine - not critical by any means, just an idea of mine.

Interesting to note though.....

But thanks as always for checking it out.

Thanks,
Andy.
:)
Day after day, day after day, we struck nor breath nor motion, as idle as a painted ship upon a painted ocean.