Re: [WiX-users] Change of properties in my MSI

2009-05-07 Thread Karma
Hey Marc, To answer your question, you need to call MsiDatabaseCommit function after you make change. Understand that you cannot permanently persist the changes into the msi file if you are doing it from a CA of the running MSI. You can find more details here http://msdn.microsoft.com/en-us/libra

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 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] What in the world is "transaction mode"?

2009-05-06 Thread Karma
Thank you, I appreciate that . And once we do MsiDatabaseCommit(), will the change be persisted onto the msi file permanently, or would the change be valid only for the duration of the current installation session? Rob Mensching-6 wrote: > > It means your changes to the MSI database won't be pe

Re: [WiX-users] Is there a Windows Installer API for extracting cabinet files?

2009-04-07 Thread Karma
Just to clarify one thing. The reason why I don't want to use msidb.exe is because the program does not return any command line error values. -- View this message in context: http://n2.nabble.com/Is-there-a-Windows-Installer-API-for-extracting-cabinet-files--tp2602175p2602299.html Sent from the

Re: [WiX-users] Interpreting Return Codes of Executable Custom Action (type 2)

2009-03-02 Thread Karma
My exit code has a meaning. That's why I wanted to write my own "return code processor." If I ignore the return code, I'll be okay in situations where the exe returns a success code 1, but what if it returns 3, 4, 5, ... other error codes. I wouldn't be able to process these error codes. If the