开发者

MSP Install - Error 2920: Source directory not specified for file

开发者 https://www.devze.com 2023-02-27 11:30 出处:网络
I have a base install which includes a file, then two patches after that which update that file. One patch has already been deployed, but I found out too late that I should have set the SequenceStart

I have a base install which includes a file, then two patches after that which update that file. One patch has already been deployed, but I found out too late that I should have set the SequenceStart on the <Family> element in the patch declaration. Now when I look at the patch in Orca the new file has a Sequence of 2, which is the same as some existing file.

Now I've got another patch that I want to apply over this, but even when I set the new SequenceStart correctly, it will fail with this message:

MSI (s) (D8:EC) [15:46:34:054]: Transforming 开发者_如何学Gotable Error.
MSI (s) (D8:EC) [15:46:34:054]: Transforming table Error.
MSI (s) (D8:EC) [15:46:34:054]: Note: 1: 2262 2: Error 3: -2147287038 MSI (s) (D8:EC) [15:46:34:054]: Transforming table Error.
MSI (s) (D8:EC) [15:46:34:054]: Note: 1: 2262 2: Error 3: -2147287038 MSI (s) (D8:EC) [15:46:34:054]: Transforming table Error.
MSI (s) (D8:EC) [15:46:34:054]: Note: 1: 2262 2: Error 3: -2147287038
DEBUG: Error 2920:  Source directory not specified for file <file ID>.

I have a feeling that the invalid sequence number on the first patch is messing things up here. Though the error only happens in Windows Server 2003. The second patch install succeeds in Server 2008.

Am I stuck here? Is the only way out to do a fresh install? Or could there be something else that's causing the error?

(edit) Tested it even with a correct intermediary Sequence number and it's still failing with the same error. So it must be something else. Does anyone have any clue?

(edit2) The error is thrown when using Windows Installer 3.1 but everything works when using Windows Installer 4.5.


Since you have stopped investigating I won't comment much, just mention that I would test uninstall of all the different scenarios:

1: uninstall of original setup without patches 2: uninstall of patch 1 3: uninstall of patch 2 4: uninstall of whole product after patching with patch 1 5: uninstall of whole product after patching with patch 2

Patching is a world of pain...

0

精彩评论

暂无评论...
验证码 换一张
取 消