PRB: Custom Path Ignored When Feature is Advertised
Article ID: 193368
Article Last Modified on 2/22/2007
APPLIES TO
- Microsoft Windows 2000 Server
- Microsoft Windows 2000 Advanced Server
- Microsoft Windows 2000 Professional Edition
- Microsoft Windows Installer 1.0
- Microsoft Windows Installer 1.1
This article was previously published under Q193368
SYMPTOMS
If you select a custom installation path for a feature, it is not honored
if the feature is set to Advertised. The custom path selected for the
feature is only used if the feature is installed at that time. When you
install an advertised feature that has a custom path selected as the
destination directory, the feature will be installed in its default
location.
Note also that setting the INSTALLLOCATION property on the command line
while advertising will behave in exactly the same manner:
msiexec /i Test.msi "INSTALLLOCATION=c:\test ADVERTISE=ALL"
NOTE: If the parent feature is installed to a custom path, all advertised children will also be installed to that custom path when they are installed.
CAUSE
Currently there is no mechanism for remembering directories tied to a
feature if no component tied to that feature is installed.
RESOLUTION
If you need a custom installation path for a feature, install the feature
instead of advertising the feature. This ensures that the feature is installed to the correct location.
STATUS
This behavior is by design.
Keywords: kbprb kbsetup KB193368