Re: [WiX-users] Modifying MSI database during installation help!

2009-05-07 Thread Karma
In case anyone's still wondering how to modify the in-memory copy of the MSI database here are some pointers. You can't do much with using SQL command to modify the database (using UPDATE, DELETE, ...). If you want to modify a existing row, do the following. First, open up the view containing the

Re: [WiX-users] Modifying MSI database during installation help!

2009-05-07 Thread Alex Shevchuk
x, TEMPORARY is valid for INSERT INTO only, not for UPDATE. Thanks for being fan of my blog. :-) Alex -Original Message- From: Karma [mailto:dongl...@gmail.com] Sent: Thursday, May 07, 2009 8:39 AM To: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] Modifying MSI database duri

Re: [WiX-users] Modifying MSI database during installation help!

2009-05-07 Thread Karma
Thank you guys both for so much. But would you explain more on how I can specify my intention of modifying the in-memory copy of the MSI? When using MsiDatabaseOpenView, I tried to use "UPDATE `Component` SET `Component`.`Attributes`='256' WHERE `Component`.`Component`='AuthPluginRegistry' TEMPORA

Re: [WiX-users] Modifying MSI database during installation help!

2009-05-07 Thread Alex Shevchuk
-Original Message- From: DONG LEE [mailto:dongl...@gmail.com] Sent: Wednesday, May 06, 2009 6:41 PM To: WiX-users@lists.sourceforge.net Subject: [WiX-users] Modifying MSI database during installation help! Hi guys, So I am trying to edit MSI tables (component table, file table, ...) from

Re: [WiX-users] Modifying MSI database during installation help!

2009-05-06 Thread Curtis Jewell
On Wed, 06 May 2009 18:41 -0700, "DONG LEE" wrote: > Hi guys, > > So I am trying to edit MSI tables (component table, file table, ...) from > a > custom action while the MSI is being run. > Following are the attempts I've made, and so far I have failed miserably. > And I am attempting this becaus

Re: [WiX-users] Modifying MSI database during installation help!

2009-05-06 Thread Rob Mensching
You can only add Temporary rows (and add temporary columns, I think) to existing tables from a CustomAction. DONG LEE wrote: > Hi guys, > > So I am trying to edit MSI tables (component table, file table, ...) from a > custom action while the MSI is being run. > Following are the attempts I've mad

[WiX-users] Modifying MSI database during installation help!

2009-05-06 Thread DONG LEE
Hi guys, So I am trying to edit MSI tables (component table, file table, ...) from a custom action while the MSI is being run. Following are the attempts I've made, and so far I have failed miserably. And I am attempting this because it needs to be customized after being shipped, in runtime based