How to Specify a Destination Directory in a Setup Script
  
PSS ID Number: Q114327
Article last modified on 05-16-1998
 
windows:4.0,4.0a,4.0c
 
WINDOWS
 

======================================================================
--------------------------------------------------------------------------
The information in this article applies to:
 
 - Microsoft PowerPoint for Windows, versions 4.0, 4.0a, 4.0c
 
---------------------------------------------------------------------------
 
SUMMARY
=======
 
The "Microsoft PowerPoint User's Guide" and PowerPoint Help discuss how to
change the destination directory using a Setup script. They state:
 
   To specify a directory where Setup installs PowerPoint, scroll
   through the table until you see "Network Installation" in the third
   column. Replace the "%1" in the DestDir column of this row with the
   name of the directory where you want Setup to install PowerPoint.
 
This step is incomplete because it does not give an example that shows that
the directory name specified must contain a trailing backslash to be valid.
For example:
 
   X:\USER\PPTDIR         This is an invalid directory name.
 
   X:\USER\PPTDIR\        This is a valid directory name.
 
If you run the Setup script using a "silent" SETUP command (for
example, SETUP /Q) and you have specified an invalid directory name, the
only message you will receive is an alert at the end of setup:
 
   Microsoft PowerPoint 4.0 Setup was not completed successfully.
 
MORE INFORMATION
================
 
The directory name cannot use the universal naming convention (UNC) for
specifying a location on a file server (you will get the same alert about
Setup not completing successfully):
 
   \\SERVERNAME\SHARE\USER\PPTDIR\     This is invalid.
 
The path directory name cannot include references to MS-DOS environment
variables, such as:
 
   X:\%USER%\PPTDIR\                   This is invalid.
 
This path would cause Setup to create a directory called %USER% instead of
creating a directory that is based on the value of the variable. Setup
would be completed successfully, but it would not install in the directory
that you intended.
 
Banyan Vines
------------
 
In the case of Banyan Vines networks, the UNC path that Banyan uses is case
sensitive by default. However, if you use the Microsoft Setup program
command SETUP /A, Setup writes the two MSAPPS-relevant path entries into
the SETUP.STF file on the server in all-uppercase characters.
 
The solution is to edit the SETUP.STF file for the application in question
and EXACTLY match the case of the actual Banyan path. For information on
how to correctly edit the SETUP.STF using Microsoft Excel, please see the
following article in the Microsoft Knowledge Base:
 
   ARTICLE-ID: Q111248
   TITLE     : XL5: Saving .STF File in Excel May Cause Setup Error
               Messages
 
NOTE: MS-DOS Edit should not be used to modify the file because it converts
all tabs to spaces, thus destroying the file.
 
For more information, please see the following article in the Microsoft
Knowledge Base:
 
   ARTICLE-ID: Q110266
   TITLE     : Err Msg: <Program> Cannot Find or Run the Application
 
Additional query words: 4.00 4.00a SETUP.STF script PP4SETUP default
winppt 4.00c quiet docerr pp4bug banyan vines excel 5.0 office
======================================================================
Keywords          : kbnetwork kbsetup kbdocerr
Version           : windows:4.0,4.0a,4.0c
Platform          : WINDOWS
Hardware          : x86
Issue type        : kbhowto
=============================================================================
Copyright Microsoft Corporation 1998.