PRB: Encrypted EXE Larger In Size After Compression
ID: Q125863
|
The information in this article applies to:
-
Microsoft FoxPro for Windows, version 2.6a
SYMPTOMS
After using SetupWizard to compress an executable built with encryption,
you discover that the compressed file (.EX$ file) is actually larger in
physical size than its original size as an ,EXE file.
CAUSE
Because the file is encrypted, the compression algorithm used by
SetupWizard fails to find repeated characters to encode, so it cannot
compress the encrypted file.
STATUS
This behavior is by design.
MORE INFORMATION
Steps to Reproduce Behavior
- Use an existing Project such as ORGANIZE.PJX in the \SAMPLE\ORGANIZE
directory under the main FoxPro directory or create a new simple Project
for testing purposes.
- Build the Project into an Executable with encryption. To do this, choose
options from the Project menu, and in the resulting dialog screen,
select the Encrypt Code check box.
- For testing purposes only, place this encrypted .EXE file in an empty
directory along with the FOXW2600.ESL Support Library file.
- Run the SetupWizard application (SETUP.APP) in the DKWIZARD directory
under the main FoxPro directory. Specify a different directory for the
compressed files. SetupWizard will create this directory for you.
- After SetupWizard has finished, compare the file size of the .EX$ to the
.EXE file, and note that the .EX$ file is larger.
Additional query words:
FoxWin
Keywords :
Version :
Platform :
Issue type :