PDA

View Full Version : Text Resource Question



NewsArchive
08-17-2007, 02:35 AM
On text resources, I don't understand what how the "Core Resource" check box
and the "Exclude from Compile" check box work together. When is the resource
compiled into the setup.exe? What if the resource is never used (referenced);
is it compiled in anyways or do I have to go through all of them that I don't
use and check "Exclude from Compile" to minimize the size of my setup.exe?

Peter Gysegem
Beaver Creek Software

NewsArchive
08-17-2007, 02:44 AM
Hi Peter,

> On text resources, I don't understand what how the "Core Resource" check
> box and the "Exclude from Compile" check box work together. When is the
> resource compiled into the setup.exe? What if the resource is never used
> (referenced); is it compiled in anyways or do I have to go through all of
> them that I don't use and check "Exclude from Compile" to minimize the
> size of my setup.exe?

Documentation problem :-( It will be fixed in the next build.

The global "Use Smart Text Resource Linker" option avoids linking in text
resources that are unused. For example, if you don't use the "Welcome"
dialog in your installer, the linker will not link in the DLG_WELCOME_TEXT
text resource (for all selected languages).

If the "Core Resource" option is marked, SetupBuilder will link in that text
resource even if it seems to be unused. All system message resources (e.g.
ERR_COPY_GENERAL) are "Core Resources".

If you (for whatever reason) would like to exclude a text resource (even if
it is a Core Resource), you can enable the "Exclude from Compile" option.
Let us assume, you don't do web installations or web updates. By default,
the text resource ERR_INTERNET_FILENOTFOUND is a Core Resource. But if you
don't use the iDeploy technology, you don't need this text. In this case,
you can exclude it.

Friedrich

--
Friedrich Linder
Lindersoft
www.lindersoft.com
+1.954.252.3910

"point. click. ship" - that's SetupBuilder 6.5
Create Windows Vista ready installations in minutes

-- Official Comodo Code Signing and SSL Certificate Partner

NewsArchive
08-17-2007, 12:26 PM
Fantastic Friedrich, this is exactly the information I needed. Thank you once again.

Peter Gysegem
Beaver Creek Software