Hi John,
You cannot create an .EXE containing the image with the VA Smalltalk packager.
I will take your word for this but after experimenting I get an executable file of about 2.4MB which is the size of the image plus about 0.2MB enough for the normal executable (made with the "Make Executable" button) and a little more. If I look at the executable, it looks like it has image data in it.
That gives me some hope that it can be done or at least was intended to be an option that no longer works?
Here's part of the packaging instructions.
- Code: Select all
dumperOptions
^((EpDumperOptions basicNew)
instVarAt: 1 put: ((Set new)
add: EpMakeCatalogsResident;
add: EpRemoveCategories;
add: EpOptimizeAssociations;
add: EpRemoveSourcePointers;
add: EpUniqueEmptyMethodDictionary;
yourself);
instVarAt: 2 put: EsRomerImageDumper;
instVarAt: 3 put: 'InstallService.Exe';
instVarAt: 4 put: 'C:\KSCVAST\InstallService\Build';
instVarAt: 5 put: ((OrderedCollection new)
add: EpCorrectManagerStructures;
add: EpMakeCatalogsResident;
add: EpOptimizeAssociations;
add: EpRemoveCategories;
add: EpRemoveSourcePointers;
add: EpRemoveUnusedMetaclasses;
add: EpUniqueEmptyMethodDictionary;
add: EpAllStatistics;
add: EpCreateSnapshot;
yourself);
yourself)
You can include the NLS strings in the packaged image so you don't need .CATs or .MPRs.
This I thought was true because I use it when packaging NT services. I think it is one of the "Dumper" options.
Lou