PRA: Setup Wizard Cannot Use Files with Same NamesArticle ID: Q124283Creation Date: 27-DEC-1994 Revision Date: 05-FEB-1996
The information in this article applies to:
SYMPTOMS
Moderate: Requires basic macro, coding, and interoperability skills.
When you use the Setup Wizard to create Setup disks for your custom
application, if you include two or more files whose names differ only by
the last character in the three-letter extension, only one of the files
is installed.
CAUSE
When the Setup Wizard compresses files to create the Setup disks, it
removes the last character of each file's three-letter extension and
replaces it with an underscore character. The filenames MYAPP.MDB and
MYAPP.MDA, for example, would both be compressed to MYAPP.MD_.
RESOLUTION
There are three ways to work around this problem.
Method 1
Rename the files that differ only by the last character of the three-letter
extension so that they differ by at least one more character.
Method 2
Use the Network Setup (Flat) option to create a single directory with
uncompressed files. This option will not fit all the files on disks, but is
practical if you are creating a Setup to be run from a CD-ROM or from a
network file server.
Method 3
NOTE: This method involves modifying the SETUP.INF file and is not
supported by Microsoft Product Support Services. You should use this method
only if you cannot use either of the first two methods.
This method involved modifying the SETUP.INF file to rename files after
they have been installed. The following steps demonstrate this method:
"STF_ROOT" = "ROOT" to read:
"STF_ROOT" = ""
(These settings will lose the second file.) to be:
(These settings will retain the second file.) |
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.