PRB: Custom Path Ignored When Feature is AdvertisedID: Q193368
|
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"
Currently there is no mechanism for remembering directories tied to a feature if no component tied to that feature is installed.
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.
This behavior is by design.
Additional query words:
Keywords : kbsetup
Version : WINDOWS:1.0
Platform : WINDOWS
Issue type : kbprb
Last Reviewed: May 3, 1999