[wix-users] Slipstream bundle reports MSI state as Superseded.

Nick Elmer NElmer at veriato.com
Thu Feb 4 12:29:21 PST 2021


Hi All,
I'm trying to resolve a problem where a repair fails to replace files due the original MSI being superseded after a slipstream patch is applied. What am I missing in order to get a repair to run from my slipstream bundle? Thanks in advance!

The bundle install on a clean system with the slipstreamed patch shows this planning phase. Both the ServerSetup and ManagementConsole MSI's had their MSP's applied during install. I have verified that the files in the patch were updated as expected once the bundle install completed.

Planned package: SQLEXPRESS, state: Absent, default requested: Present, ba requested: Absent, execute: None, rollback: None, cache: No, uncache: No, dependency: None
Planned package: ServerSetup, state: Absent, default requested: Present, ba requested: Present, execute: Install, rollback: Uninstall, cache: Yes, uncache: No, dependency: Register
Planned package: ServerSetupPatch, state: Absent, default requested: Present, ba requested: Present, execute: Install, rollback: Uninstall, cache: Yes, uncache: No, dependency: Register
Planned package: ManagementConsole, state: Absent, default requested: Present, ba requested: Present, execute: Install, rollback: Uninstall, cache: Yes, uncache: No, dependency: Register
Planned package: ManagementConsolePatch, state: Absent, default requested: Present, ba requested: Present, execute: Install, rollback: Uninstall, cache: Yes, uncache: No, dependency: Register

Now, I open one of the folders with updated files and remove a directory. There are files from ServerSetup (MSI) and ServerSetupPatch (MSP) that have been removed to simulate a needed repair. When I execute the repair, I see the following detection output logged. The operation: Downgrade confuses me as I'm not sure why the bundle thinks the MSI is being downgraded! That must have something to do with the state: Superseded being determined, but I'm not sure why!! What am I missing!

Calculating patch applicability for target product code: {SERVERSETUP_PRODUCT_CODE_GUID}, context: Machine
Calculating patch applicability for target product code: {MANAGEMENT_CONSOLE_PRODUCT_CODE_GUID}, context: Machine

Detected Package Begin: PackageId:ServerSetup, Result:None
Detected related package: { SERVERSETUP_PRODUCT_CODE_GUID }, scope: PerMachine, version: 4.3.0.420, language: 1033 operation: Downgrade
Detected Related MSI Package: ServerSetup
..
Detected Package Begin: PackageId:ServerSetupPatch, Result:None
OnDetectTargetMsiPackage Package:ServerSetupPatch, ProductCode:{ SERVERSETUP_PRODUCT_CODE_GUID }, State:Present, Result:None.
..
Detected Package Begin: PackageId: ManagementConsole, Result:None
Detected related package: { MANAGEMENT_CONSOLE_PRODUCT_CODE_GUID }, scope: PerMachine, version: 4.3.0.420, language: 1033 operation: Downgrade
Detected Related MSI Package: ManagementConsole
..
Detected Package Begin: PackageId: ManagementConsolePatch, Result:None
OnDetectTargetMsiPackage Package: ManagementConsolePatch, ProductCode:{ MANAGEMENT_CONSOLE_PRODUCT_CODE_GUID }, State:Present, Result:None.

Detected package: SQLEXPRESS, state: Absent, cached: None
Detected package: ServerSetup, state: Superseded, cached: Complete
Detected package: ServerSetupPatch, state: Present, cached: Complete
Detected package: ServerSetupPatch target: { SERVERSETUP_PRODUCT_CODE_GUID }, state: Present
Detected package: Veriato360ManagementConsole, state: Superseded, cached: Complete
Detected package: Veriato360ManagementConsolePatch, state: Present, cached: Complete
Detected package: Veriato360ManagementConsolePatch target: { MANAGEMENT_CONSOLE_PRODUCT_CODE_GUID }, state: Present

Plan begin, 5 packages, action: Repair
..
OnPlanTargetMsiPackage: PackageId:ServerSetupPatch, ProductCode:{ SERVERSETUP_PRODUCT_CODE_GUID }, RequestedState:Repair, Result:None.
OnPlanTargetMsiPackage: PackageId: ManagementConsolePatch, ProductCode:{ MANAGEMENT_CONSOLE_PRODUCT_CODE_GUID }, RequestedState:Repair, Result:None.
..
SQLEXPRESS, state: Absent, default requested: Repair, ba requested: Absent, execute: None, rollback: None, cache: No, uncache: No, dependency: None
Planned package: ServerSetup, state: Superseded, default requested: None, ba requested: None, execute: None, rollback: None, cache: No, uncache: No, dependency: Register
Planned package: ServerSetupPatch, state: Present, default requested: Repair, ba requested: Repair, execute: Repair, rollback: None, cache: No, uncache: No, dependency: Register
Planned package: ManagementConsole, state: Superseded, default requested: None, ba requested: None, execute: None, rollback: None, cache: No, uncache: No, dependency: Register
Planned package: ManagementConsolePatch, state: Present, default requested: Repair, ba requested: Repair, execute: Repair, rollback: None, cache: No, uncache: No, dependency: Register





More information about the wix-users mailing list