cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
gridman
Level 8

Standard Patch is not installing

I am trying to create a standard patch with a Basic MSI project.

The original installation works fine. So, I created a new project and added the changes, then created a patch in the Patch Design view. It builds fine, but when I try to install it, it get an error, "This patch package could not be opened. Contact the application vendor to verify that this is a valid Windows Installer patch package."

Here is the log that is generated when I run the patch (I'm using Update.exe).

Am I supposed to fill the MsiPatchCertificate table with information?

Thanks for the help.


=== Verbose logging started: 1/25/2008 14:03:46 Build type: SHIP UNICODE 3.01.4000.4039 Calling process: C:\WINDOWS\system32\MSIEXEC.EXE ===
MSI (c) (10:34) [14:03:46:140]: Resetting cached policy values
MSI (c) (10:34) [14:03:46:140]: Machine policy value 'Debug' is 0
MSI (c) (10:34) [14:03:46:140]: ******* RunEngine:
******* Product: {12A80BBB-07CA-4A51-8854-E0A256480E40}
******* Action:
******* CommandLine: **********
MSI (c) (10:34) [14:03:46:140]: Machine policy value 'DisableUserInstalls' is 0
MSI (c) (10:34) [14:03:46:171]: Cloaking enabled.
MSI (c) (10:34) [14:03:46:171]: Attempting to enable all disabled priveleges before calling Install on Server
MSI (c) (10:34) [14:03:46:187]: End dialog not enabled
MSI (c) (10:34) [14:03:46:187]: Original package ==> C:\WINDOWS\Installer\b39fb7.msi
MSI (c) (10:34) [14:03:46:187]: Package we're running from ==> C:\WINDOWS\Installer\b39fb7.msi
MSI (c) (10:34) [14:03:46:187]: APPCOMPAT: looking for appcompat database entry with ProductCode '{12A80BBB-07CA-4A51-8854-E0A256480E40}'.
MSI (c) (10:34) [14:03:46:187]: APPCOMPAT: no matching ProductCode found in database.
MSI (c) (10:34) [14:03:46:203]: MSCOREE not loaded loading copy from system32
MSI (c) (10:34) [14:03:46:218]: Original patch ==> C:\DOCUME~1\RODMAU~1\LOCALS~1\Temp\{0ADCCA5F-C9A6-4D00-8FA4-8E3748DAED75}\1.0.1.msp
MSI (c) (10:34) [14:03:46:218]: Patch we're running from ==> C:\DOCUME~1\RODMAU~1\LOCALS~1\Temp\157752c.msp
MSI (c) (10:34) [14:03:46:218]: SOFTWARE RESTRICTION POLICY: Verifying patch --> 'C:\DOCUME~1\RODMAU~1\LOCALS~1\Temp\{0ADCCA5F-C9A6-4D00-8FA4-8E3748DAED75}\1.0.1.msp' against software restriction policy
MSI (c) (10:34) [14:03:46:218]: Note: 1: 2262 2: DigitalSignature 3: -2147287038
MSI (c) (10:34) [14:03:46:218]: SOFTWARE RESTRICTION POLICY: C:\DOCUME~1\RODMAU~1\LOCALS~1\Temp\{0ADCCA5F-C9A6-4D00-8FA4-8E3748DAED75}\1.0.1.msp is not digitally signed
MSI (c) (10:34) [14:03:46:218]: SOFTWARE RESTRICTION POLICY: C:\DOCUME~1\RODMAU~1\LOCALS~1\Temp\{0ADCCA5F-C9A6-4D00-8FA4-8E3748DAED75}\1.0.1.msp is permitted to run at the 'unrestricted' authorization level.
MSI (c) (10:34) [14:03:46:218]: SequencePatches starts. Product code: {12A80BBB-07CA-4A51-8854-E0A256480E40}, Product version: 1.00.0000, Upgrade code: {ADBF7430-BA78-4C30-B09C-DD4EB17D68A2}, Product language 1033
MSI (c) (10:34) [14:03:46:218]: 3.0 patch C:\DOCUME~1\RODMAU~1\LOCALS~1\Temp\{0ADCCA5F-C9A6-4D00-8FA4-8E3748DAED75}\1.0.1.msp is of type QFE
MSI (c) (10:34) [14:03:46:218]: PATCH SEQUENCER: verifying the applicability of QFE patch C:\DOCUME~1\RODMAU~1\LOCALS~1\Temp\{0ADCCA5F-C9A6-4D00-8FA4-8E3748DAED75}\1.0.1.msp against product code: {12A80BBB-07CA-4A51-8854-E0A256480E40}, product version: 1.00.0000, product language 1033 and upgrade code: {ADBF7430-BA78-4C30-B09C-DD4EB17D68A2}
MSI (c) (10:34) [14:03:46:218]: Validating transform 'Previous1ToLatest1' with validation bits 0x8a2
MSI (c) (10:34) [14:03:46:218]: Transform 'Previous1ToLatest1' is valid.
MSI (c) (10:34) [14:03:46:218]: PATCH SEQUENCER: QFE patch C:\DOCUME~1\RODMAU~1\LOCALS~1\Temp\{0ADCCA5F-C9A6-4D00-8FA4-8E3748DAED75}\1.0.1.msp is applicable.
MSI (c) (10:34) [14:03:46:218]: SequencePatches returns success.
MSI (c) (10:34) [14:03:46:218]: Final Patch Application Order:
MSI (c) (10:34) [14:03:46:218]: {4917C024-FD57-4F40-9123-8954EEE86E97} - C:\DOCUME~1\RODMAU~1\LOCALS~1\Temp\{0ADCCA5F-C9A6-4D00-8FA4-8E3748DAED75}\1.0.1.msp
MSI (c) (10:34) [14:03:46:218]: Machine policy value 'DisablePatch' is 0
MSI (c) (10:34) [14:03:46:218]: Machine policy value 'AllowLockdownPatch' is 0
MSI (c) (10:34) [14:03:46:218]: Machine policy value 'DisableLUAPatching' is 0
MSI (c) (10:34) [14:03:46:218]: Machine policy value 'DisableFlyWeightPatching' is 0
MSI (c) (10:34) [14:03:46:218]: Turning off patch optimization. {4917C024-FD57-4F40-9123-8954EEE86E97} patch is not authored to support it.
MSI (c) (10:34) [14:03:46:218]: Looking for patch transform: Previous1ToLatest1
MSI (c) (10:34) [14:03:46:218]: Validating transform 'Previous1ToLatest1' with validation bits 0x8a2
MSI (c) (10:34) [14:03:46:218]: Transform 'Previous1ToLatest1' is valid.
MSI (c) (10:34) [14:03:46:218]: Note: 1: 2262 2: _Columns 3: -2147287038
MSI (c) (10:34) [14:03:46:218]: Note: 1: 2262 2: ActionText 3: -2147287038
MSI (c) (10:34) [14:03:46:218]: Note: 1: 2262 2: AdminExecuteSequence 3: -2147287038
MSI (c) (10:34) [14:03:46:218]: Note: 1: 2262 2: AdminUISequence 3: -2147287038
MSI (c) (10:34) [14:03:46:218]: Note: 1: 2262 2: AdvtExecuteSequence 3: -2147287038
MSI (c) (10:34) [14:03:46:218]: Note: 1: 2262 2: AdvtUISequence 3: -2147287038
MSI (c) (10:34) [14:03:46:218]: Note: 1: 2262 2: Feature 3: -2147287038
MSI (c) (10:34) [14:03:46:218]: Note: 1: 2262 2: CheckBox 3: -2147287038
MSI (c) (10:34) [14:03:46:218]: Note: 1: 2262 2: Component 3: -2147287038
MSI (c) (10:34) [14:03:46:218]: Note: 1: 2262 2: Icon 3: -2147287038
MSI (c) (10:34) [14:03:46:218]: Note: 1: 2262 2: ComboBox 3: -2147287038
MSI (c) (10:34) [14:03:46:218]: Note: 1: 2262 2: Directory 3: -2147287038
MSI (c) (10:34) [14:03:46:218]: Note: 1: 2262 2: Control 3: -2147287038
MSI (c) (10:34) [14:03:46:218]: Note: 1: 2262 2: Dialog 3: -2147287038
MSI (c) (10:34) [14:03:46:218]: Note: 1: 2262 2: ControlCondition 3: -2147287038
MSI (c) (10:34) [14:03:46:218]: Note: 1: 2262 2: ControlEvent 3: -2147287038
MSI (c) (10:34) [14:03:46:218]: Note: 1: 2262 2: CustomAction 3: -2147287038
MSI (c) (10:34) [14:03:46:218]: Note: 1: 2262 2: Error 3: -2147287038
MSI (c) (10:34) [14:03:46:218]: Note: 1: 2262 2: EventMapping 3: -2147287038
MSI (c) (10:34) [14:03:46:218]: Note: 1: 2262 2: FeatureComponents 3: -2147287038
MSI (c) (10:34) [14:03:46:218]: Note: 1: 2262 2: InstallExecuteSequence 3: -2147287038
MSI (c) (10:34) [14:03:46:218]: Note: 1: 2262 2: InstallUISequence 3: -2147287038
MSI (c) (10:34) [14:03:46:218]: Note: 1: 2262 2: ListBox 3: -2147287038
MSI (c) (10:34) [14:03:46:218]: Note: 1: 2262 2: ListView 3: -2147287038
MSI (c) (10:34) [14:03:46:218]: Note: 1: 2262 2: Patch 3: -2147287038
MSI (c) (10:34) [14:03:46:218]: Note: 1: 2262 2: RadioButton 3: -2147287038
MSI (c) (10:34) [14:03:46:218]: Note: 1: 2262 2: Registry 3: -2147287038
MSI (c) (10:34) [14:03:46:218]: Note: 1: 2262 2: RemoveFile 3: -2147287038
MSI (c) (10:34) [14:03:46:218]: Note: 1: 2262 2: Shortcut 3: -2147287038
MSI (c) (10:34) [14:03:46:218]: Note: 1: 2262 2: TextStyle 3: -2147287038
MSI (c) (10:34) [14:03:46:218]: Note: 1: 2262 2: UIText 3: -2147287038
MSI (c) (10:34) [14:03:46:218]: Note: 1: 2262 2: Upgrade 3: -2147287038
MSI (c) (10:34) [14:03:46:218]: Note: 1: 2262 2: ISComponentExtended 3: -2147287038
MSI (c) (10:34) [14:03:46:218]: Note: 1: 2262 2: ActionText 3: -2147287038
MSI (c) (10:34) [14:03:46:218]: Note: 1: 2262 2: AdminUISequence 3: -2147287038
MSI (c) (10:34) [14:03:46:218]: Note: 1: 2262 2: AdvtExecuteSequence 3: -2147287038
MSI (c) (10:34) [14:03:46:218]: Note: 1: 2262 2: AdvtUISequence 3: -2147287038
MSI (c) (10:34) [14:03:46:218]: Note: 1: 2262 2: Feature 3: -2147287038
MSI (c) (10:34) [14:03:46:218]: Note: 1: 2262 2: Binary 3: -2147287038
MSI (c) (10:34) [14:03:46:218]: Note: 1: 2262 2: CheckBox 3: -2147287038
MSI (c) (10:34) [14:03:46:218]: Note: 1: 2262 2: Component 3: -2147287038
MSI (c) (10:34) [14:03:46:218]: Note: 1: 2262 2: Icon 3: -2147287038
MSI (c) (10:34) [14:03:46:234]: Note: 1: 2262 2: ComboBox 3: -2147287038
MSI (c) (10:34) [14:03:46:234]: Note: 1: 2262 2: Directory 3: -2147287038
MSI (c) (10:34) [14:03:46:234]: Note: 1: 2262 2: Control 3: -2147287038
MSI (c) (10:34) [14:03:46:234]: Note: 1: 2262 2: Dialog 3: -2147287038
MSI (c) (10:34) [14:03:46:234]: Note: 1: 2262 2: ControlCondition 3: -2147287038
MSI (c) (10:34) [14:03:46:234]: Note: 1: 2262 2: ControlEvent 3: -2147287038
MSI (c) (10:34) [14:03:46:234]: Note: 1: 2262 2: CustomAction 3: -2147287038
MSI (c) (10:34) [14:03:46:234]: Note: 1: 2262 2: Error 3: -2147287038
MSI (c) (10:34) [14:03:46:234]: Note: 1: 2262 2: EventMapping 3: -2147287038
MSI (c) (10:34) [14:03:46:234]: Note: 1: 2262 2: FeatureComponents 3: -2147287038
MSI (c) (10:34) [14:03:46:234]: Note: 1: 2262 2: InstallExecuteSequence 3: -2147287038
MSI (c) (10:34) [14:03:46:234]: Note: 1: 2262 2: InstallUISequence 3: -2147287038
MSI (c) (10:34) [14:03:46:234]: Note: 1: 2262 2: ListBox 3: -2147287038
MSI (c) (10:34) [14:03:46:234]: Note: 1: 2262 2: ListView 3: -2147287038
MSI (c) (10:34) [14:03:46:234]: Note: 1: 2262 2: MsiFileHash 3: -2147287038
MSI (c) (10:34) [14:03:46:234]: Note: 1: 2262 2: RadioButton 3: -2147287038
MSI (c) (10:34) [14:03:46:234]: Note: 1: 2262 2: Registry 3: -2147287038
MSI (c) (10:34) [14:03:46:234]: Note: 1: 2262 2: RemoveFile 3: -2147287038
MSI (c) (10:34) [14:03:46:234]: Note: 1: 2262 2: Shortcut 3: -2147287038
MSI (c) (10:34) [14:03:46:234]: Note: 1: 2262 2: TextStyle 3: -2147287038
MSI (c) (10:34) [14:03:46:234]: Note: 1: 2262 2: UIText 3: -2147287038
MSI (c) (10:34) [14:03:46:234]: Note: 1: 2262 2: Upgrade 3: -2147287038
MSI (c) (10:34) [14:03:46:234]: Note: 1: 2262 2: _Validation 3: -2147287038
MSI (c) (10:34) [14:03:46:234]: Note: 1: 2262 2: ISComponentExtended 3: -2147287038
MSI (c) (10:34) [14:03:46:234]: Note: 1: 2262 2: ISCustomActionReference 3: -2147287038
MSI (c) (10:34) [14:03:46:234]: Note: 1: 2262 2: Patch 3: -2147287038
MSI (c) (10:34) [14:03:46:234]: Note: 1: 2262 2: MsiPatchHeaders 3: -2147287038
MSI (c) (10:34) [14:03:46:234]: Note: 1: 2262 2: Patch 3: -2147287038
MSI (c) (10:34) [14:03:46:234]: Note: 1: 2205 2: 3: Patch
MSI (c) (10:34) [14:03:46:234]: Note: 1: 2228 2: 3: Patch 4: CREATE TABLE `Patch` ( `File_` CHAR(72) NOT NULL, `Sequence` INTEGER NOT NULL, `PatchSize` LONG NOT NULL, `Attributes` INTEGER NOT NULL, `Header` OBJECT, `StreamRef_` CHAR(72) PRIMARY KEY `File_`, `Sequence` )
MSI (c) (10:34) [14:03:46:234]: Note: 1: 2262 2: Patch 3: -2147287038
MSI (c) (10:34) [14:03:46:234]: Note: 1: 2715 2: field5.jpg
MSI (c) (10:34) [14:03:46:234]: Note: 1: 2715 2: field4.jpg
MSI (c) (10:34) [14:03:46:234]: Note: 1: 2715 2: field3.jpg
MSI (c) (10:34) [14:03:46:234]: Note: 1: 2715 2: field2.jpg
MSI (c) (10:34) [14:03:46:234]: Note: 1: 2715 2: field1.jpg
MSI (c) (10:34) [14:03:46:234]: Note: 1: 2715 2: forest5.jpg
MSI (c) (10:34) [14:03:46:234]: Note: 1: 2715 2: forest4.jpg
MSI (c) (10:34) [14:03:46:234]: Note: 1: 2715 2: forest1.jpg
MSI (c) (10:34) [14:03:46:234]: Note: 1: 2715 2: forest2.jpg
MSI (c) (10:34) [14:03:46:234]: Note: 1: 2715 2: forest3.jpg
MSI (c) (10:34) [14:03:46:234]: Note: 1: 2205 2: 3: PatchPackage
MSI (c) (10:34) [14:03:46:234]: TRANSFORM: 'PatchPackage' table is missing or empty. No pre-transform fixup necessary.
MSI (c) (10:34) [14:03:46:234]: TRANSFORM: Applying regular transform to database.
MSI (c) (10:34) [14:03:46:234]: Note: 1: 2205 2: 3: MsiPatchCertificate 4:
MSI (c) (10:34) [14:03:46:234]: Note: 1: 2253 2: 3: MsiPatchCertificate
MSI (c) (10:34) [14:03:46:234]: Note: 1: 2729
DEBUG: Error 2253: Database: Transform: Cannot delete table that doesn't exist. Table: MsiPatchCertificate
1: 2253 2: 3: MsiPatchCertificate
This patch package could not be opened. Contact the application vendor to verify that this is a valid Windows Installer patch package.
Previous1ToLatest1
MSI (c) (10:34) [14:03:46:234]: Product: ApplicationX - Update '{4917C024-FD57-4F40-9123-8954EEE86E97}' could not be installed. Error code 1636. Additional information is available in the log file C:\DOCUME~1\RODMAU~1\LOCALS~1\Temp\MSI7752b.LOG.

MSI (c) (10:34) [14:03:46:234]: Note: 1: 1708
MSI (c) (10:34) [14:03:46:234]: Note: 1: 2729
MSI (c) (10:34) [14:03:46:234]: Note: 1: 2729
MSI (c) (10:34) [14:03:46:234]: Product: ApplicationX -- Installation failed.

MSI (c) (10:34) [14:03:46:234]: Attempting to delete file C:\DOCUME~1\RODMAU~1\LOCALS~1\Temp\157752c.msp
MSI (c) (10:34) [14:03:46:234]: MainEngineThread is returning 1636
=== Verbose logging stopped: 1/25/2008 14:03:46 ===
Labels (1)
0 Kudos
(1) Reply
gridman
Level 8

I worked through this.

I had signed the original installation but didn't fully sign the patch. Or I signed the patch and did not sign the application. I think this caused some irregularities. When I noticed this, I corrected it, rebuilt the patch, and it worked.
0 Kudos