Use COMPRESS-r to Avoid Error: Could not execute: SETUP1.EX 2

Last reviewed: June 21, 1995
Article ID: Q93426
The information in this article applies to:
  • Professional Edition of Microsoft Visual Basic for Windows, versions 2.0 and 3.0

SUMMARY

Files used with the Setup Kit must be decompressed or compressed by using COMPRESS -r <filename>. The following error can occur if you use a method other than COMPRESS -r to create a file with an underscore as the last character:

   Error - Could not execute: SETUP1.EX 2

However, VER.DLL must be named VER.DL_ on the setup disk and must not be compressed.

MORE INFORMATION

The filename listed in the error message above can be different from SETUP1.EX if you customized the Setup Kit.

The following two commands both create a file named SETUP1.EX_, but they are not equivalent:

   COMPRESS -r SETUP1.EXE             (correct)
   COMPRESS SETUP1.EXE SETUP1.EX_     (incorrect)

The COMPRESS.EXE option -r compresses a file, replaces the last character of the filename with an underscore (_), and stores the replaced character in the compressed file. When the Setup Kit uses VER.DLL to decompress a file, VER.DLL reads the character from the file and restores the file to its original name.

If you create a file with an underscore as the last character without using COMPRESS -r, VER.DLL renames the file by removing the underscore. For example, SETUP1.EX_ becomes SETUP1.EX.

NOTE: If you create a custom setup, the default SETUP.LST will not include VER.DLL (or more precisely VER.DL_) as a file to copy. Ensure that you do copy the .DLL file. You will want to make sure it is there in all cases.


Additional reference words: 2.00 3.00 errmsg
KBCategory: kbtool kbprg
KBSubcategory: TlsSetWiz


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: June 21, 1995
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.