Create a PCP file programmatically
Posted 15 January 2010 - 14:16
But how do I create a PCP file via automation (Programmatically)...via vbscript, powershell.....C# anything.....just give me a clue.
I can create a PCP file with Orca....perhaps even as a template, but then how do I update the PCP file programmatically.
Please would someone point the way.
Posted 15 January 2010 - 18:50
"The .pcp file is a binary database file with the same format as a Windows Installer database (.msi file), but with a different database schema. Therefore a .pcp file can be authored by using the same tools used for an installer database."
So the same automation methods should work to modify the tables in the PCP.
Posted 17 January 2010 - 09:28
Inside Windows Installer 4.5
Posted 18 January 2010 - 12:02
What I ended up doing is creating a temple PCP file using Installshield IDE which I will use as a template for all other patches.
For each patch I can use VBscripting and the WindowsInstaller.Installer object update the few tables that need updating.
I was not sucessfull in using Installshield Automation in opening a PCP file.
Edited by NeilH, 18 January 2010 - 12:05.