Jump to content


This is a ready-only archive of the InstallSite Forum. You cannot post any new content here. / Dies ist ein Archiv des InstallSite Forums. Hier können keine neuen Beiträge veröffentlicht werden.
Photo

insert CD dialog


1 reply to this topic

jdoyle

jdoyle
  • Members
  • 4 posts

Posted 18 July 2003 - 22:06

The product I'm trying to install (using a Basic MSI package) spans
several CDs, and includes several components that a user could install as "run-from-source". When a user needs a component that was installed "run-from-source", I'd like to call MsiGetComponentPath() and rely on MSI to prompt for the proper CD and return the path to the key file. Nothing unconventional about that, and this works fine, as long as the component the user wants is on the first CD. But, if the component is on, say, the third CD, MsiGetComponentPath always returns INSTALLSTATE_SOURCEABSENT, without bringing up a dialog.

Below is some debug output for each case (when the component is on the first CD, and when it is not). The log files don't show anything of interest. There are some differences, but I'm not
sure what they mean, much less how to work around the problem. The main differences are two lines written when the component isn't on the first CD (but are not written when it is on the first CD):

Package validation of 'D:\RoadMate Data Extraction Tool.msi' failed

and

Cloaking enabled.

No idea what that means.


==================
When the component is on the first CD:
==================
MSI © (68:20): RFS validation of product '4BDBB66400F735346927E3184B5EC573', disk '1'
MSI © (68:20): Quick RFS source validation failed. Falling back to source resolver.
MSI © (68:20): Machine policy value 'Timeout' is 3000
MSI © (68:20): Policy value 'Logging' is 'voicewarmup'
Loaded 'C:\WINNT\system32\sfc.dll', no matching symbolic information found.
Loaded 'C:\WINNT\system32\sfcfiles.dll', no matching symbolic information found.
MSI © (68:20): User policy value 'SearchOrder' is 'nmu'
MSI © (68:20): User policy value 'DisableMedia' is 0
MSI © (68:20): Machine policy value 'AllowLockdownMedia' is 0
MSI © (68:20): SOURCEMGMT: Media enabled only if package is safe.
MSI © (68:20): SOURCEMGMT: Looking for sourcelist for product {466BBDB4-7F00-4353-9672-3E81B4E55C37}
MSI © (68:20): SOURCEMGMT: Adding {466BBDB4-7F00-4353-9672-3E81B4E55C37}; to potential sourcelist list (pcode;disk;relpath).
MSI © (68:20): SOURCEMGMT: Now checking product {466BBDB4-7F00-4353-9672-3E81B4E55C37}
MSI © (68:20): SOURCEMGMT: Media is enabled for product.
MSI © (68:20): SOURCEMGMT: Attempting to use LastUsedSource from source list.
MSI © (68:20): SOURCEMGMT: Processing net source list.
MSI © (68:20): Note: 1: 1402 2: UNKNOWN\Net 3: 2
MSI © (68:20): Note: 1: 1706 2: -2147483647 3: RoadMate Data Extraction Tool.msi
MSI © (68:20): SOURCEMGMT: Processing media source list.
MSI © (68:20): SOURCEMGMT: Trying media source G:\.
MSI © (68:20): Note: 1: 2203 2: G:\RoadMate Data Extraction Tool.msi 3: -2147287038
MSI © (68:20): SOURCEMGMT: Source is invalid due to missing/inaccessible package.
MSI © (68:20): Note: 1: 1706 2: -2147483647 3: RoadMate Data Extraction Tool.msi
MSI © (68:20): SOURCEMGMT: Processing URL source list.
MSI © (68:20): Note: 1: 1402 2: UNKNOWN\URL 3: 2
MSI © (68:20): Note: 1: 1706 2: -2147483647 3: RoadMate Data Extraction Tool.msi
MSI © (68:20): Note: 1: 1706 2: 3: RoadMate Data Extraction Tool.msi
MSI © (68:78): User policy value 'SearchOrder' is 'nmu'
MSI © (68:78): SOURCEMGMT: Media enabled only if package is safe.
MSI © (68:78): SOURCEMGMT: Prompting user for a valid source.
MSI © (68:78): Machine policy value 'DisableBrowse' is 0
MSI © (68:78): Machine policy value 'AllowLockdownBrowse' is 0
MSI © (68:78): SOURCEMGMT: Browsing is enabled.
MSI © (68:78): Font created. Charset: Req=0, Ret=0, Font: Req=MS Shell Dlg, Ret=MS Shell Dlg

MSI © (68:78): SOURCEMGMT: Now checking product {466BBDB4-7F00-4353-9672-3E81B4E55C37}
MSI © (68:78): SOURCEMGMT: Media is enabled for product.
MSI © (68:78): SOURCEMGMT: Attempting to use LastUsedSource from source list.
MSI © (68:78): SOURCEMGMT: Processing net source list.
MSI © (68:78): Note: 1: 1402 2: UNKNOWN\Net 3: 2
MSI © (68:78): Note: 1: 1706 2: -2147483647 3: RoadMate Data Extraction Tool.msi
MSI © (68:78): SOURCEMGMT: Processing media source list.
MSI © (68:78): SOURCEMGMT: Trying media source DISK1;1.
MSI © (68:78): Note: 1: 1706 2: -2147483648 3: RoadMate Data Extraction Tool.msi
MSI © (68:78): SOURCEMGMT: Processing URL source list.
MSI © (68:78): Note: 1: 1402 2: UNKNOWN\URL 3: 2
MSI © (68:78): Note: 1: 1706 2: -2147483647 3: RoadMate Data Extraction Tool.msi
MSI © (68:78): Note: 1: 1706 2: 3: RoadMate Data Extraction Tool.msi
MSI © (68:20): SOURCEMGMT: Failed to resolve source
The thread 0x578 has exited with code 0 (0x0).
MSI © (68:20): Detection of product '{466BBDB4-7F00-4353-9672-3E81B4E55C37}', feature 'DCA1.2', component '{02954C32-D4C6-4E3F-A7CA-12D62AE02B4F}' failed. The resource '\PrimaryVolumePath\RoadMate\Data\D1.20.SDL' in a run-from-source component could not be located because no valid and accessible source could be found.

=============================
When the component is on a subsequent CD
=============================

MSI © (D0:78): RFS validation of product '4BDBB66400F735346927E3184B5EC573', disk '3'
MSI © (D0:78): Package validation of 'D:\RoadMate Data Extraction Tool.msi' failed
MSI © (D0:78): Quick RFS source validation failed. Falling back to source resolver.
MSI © (D0:78): Machine policy value 'Timeout' is 3000
MSI © (D0:78): Policy value 'Logging' is 'voicewarmup'
Loaded 'C:\WINNT\system32\sfc.dll', no matching symbolic information found.
Loaded 'C:\WINNT\system32\sfcfiles.dll', no matching symbolic information found.
MSI © (D0:78): User policy value 'SearchOrder' is 'nmu'
MSI © (D0:78): User policy value 'DisableMedia' is 0
MSI © (D0:78): Machine policy value 'AllowLockdownMedia' is 0
MSI © (D0:78): SOURCEMGMT: Media enabled only if package is safe.
MSI © (D0:78): SOURCEMGMT: Looking for sourcelist for product {466BBDB4-7F00-4353-9672-3E81B4E55C37}
MSI © (D0:78): SOURCEMGMT: Adding {466BBDB4-7F00-4353-9672-3E81B4E55C37}; to potential sourcelist list (pcode;disk;relpath).
MSI © (D0:78): SOURCEMGMT: Now checking product {466BBDB4-7F00-4353-9672-3E81B4E55C37}
MSI © (D0:78): SOURCEMGMT: Media is enabled for product.
MSI © (D0:78): SOURCEMGMT: Attempting to use LastUsedSource from source list.
MSI © (D0:78): Cloaking enabled.
MSI © (D0:78): SOURCEMGMT: Failed to resolve source
The thread 0x4A0 has exited with code 0 (0x0).
MSI © (D0:78): Detection of product '{466BBDB4-7F00-4353-9672-3E81B4E55C37}', feature 'DCA7.2', component '{90897CF2-44DE-4CDA-BC80-A70E736EDA8F}' failed. The resource '\PrimaryVolumePath\RoadMate\Data\D7.20.SDL' in a run-from-source component could not be located because no valid and accessible source could be found.


jdoyle

jdoyle
  • Members
  • 4 posts

Posted 12 August 2003 - 14:06

After contacting Microsoft support, they've agreed that this behavior is a bug and it'll be fixed in WI 3.0.

At least we get the $99 back.