Click here to Skip to main content
15,902,636 members
Home / Discussions / C#
   

C#

 
AnswerRe: Broadcast a Windows Message (C#) Pin
Dave Kreskowiak27-Sep-05 12:30
mveDave Kreskowiak27-Sep-05 12:30 
QuestionDataGridView.ColumnHeadersDefaultCellStyle Pin
Drew McGhie27-Sep-05 10:10
Drew McGhie27-Sep-05 10:10 
QuestionWierd serialization behaviour Pin
jolofsson27-Sep-05 9:43
jolofsson27-Sep-05 9:43 
AnswerRe: Wierd serialization behaviour Pin
turbochimp28-Sep-05 2:08
turbochimp28-Sep-05 2:08 
QuestionEdit .msi database programatically Pin
Asad Hussain27-Sep-05 9:07
Asad Hussain27-Sep-05 9:07 
AnswerRe: Edit .msi database programatically Pin
Christian Graus27-Sep-05 9:25
protectorChristian Graus27-Sep-05 9:25 
AnswerRe: Edit .msi database programatically Pin
Dave Kreskowiak27-Sep-05 12:28
mveDave Kreskowiak27-Sep-05 12:28 
AnswerRe: Edit .msi database programatically Pin
Sean Michael Murphy28-Sep-05 8:35
Sean Michael Murphy28-Sep-05 8:35 
Asad Hussain wrote:
Is there a way to edit the msi database with c#. I want to write a program that will change just one registry entry within the msi database and then email the msi to the client.

If you download the platform SDK[^], you get a tool called "Orca" which you can use to edit the MSI database. If you know what you want to change (in general, changes to the Registry table are very straigtforward), it's very easy to effect and save the change.

If you are determined to do the changes programatically, this article[^] provides the interop signatures and sample code you'll need.

Once you've opened the database, you just use SQL to UPDATE the tables you want.

Share and enjoy.
Sean
QuestionAccess XML element directly Pin
Seraphin27-Sep-05 6:31
Seraphin27-Sep-05 6:31 
AnswerRe: Access XML element directly Pin
Gavin Jeffrey27-Sep-05 8:22
Gavin Jeffrey27-Sep-05 8:22 
QuestionListView in details view with values... Pin
Niklas Ulvinge27-Sep-05 6:11
Niklas Ulvinge27-Sep-05 6:11 
QuestionSOAP Web Service in Win Forms Application? Pin
jkersch27-Sep-05 6:01
jkersch27-Sep-05 6:01 
AnswerRe: SOAP Web Service in Win Forms Application? Pin
Heath Stewart27-Sep-05 6:24
protectorHeath Stewart27-Sep-05 6:24 
QuestionOutOfMemoryException when allocating large buffer Pin
mkomsa27-Sep-05 5:46
mkomsa27-Sep-05 5:46 
AnswerRe: OutOfMemoryException when allocating large buffer Pin
Dave Kreskowiak27-Sep-05 6:57
mveDave Kreskowiak27-Sep-05 6:57 
QuestionPropertygrid Pin
Piovra_27-Sep-05 4:50
Piovra_27-Sep-05 4:50 
AnswerRe: Propertygrid Pin
Sean Michael Murphy28-Sep-05 9:16
Sean Michael Murphy28-Sep-05 9:16 
QuestionOutOfMemoryException only when mdi child is maximized? Pin
elf2327-Sep-05 4:44
elf2327-Sep-05 4:44 
AnswerRe: OutOfMemoryException only when mdi child is maximized? Pin
Dave Kreskowiak27-Sep-05 6:28
mveDave Kreskowiak27-Sep-05 6:28 
GeneralRe: OutOfMemoryException only when mdi child is maximized? Pin
elf2327-Sep-05 6:55
elf2327-Sep-05 6:55 
GeneralRe: OutOfMemoryException only when mdi child is maximized? Pin
Dave Kreskowiak27-Sep-05 7:10
mveDave Kreskowiak27-Sep-05 7:10 
QuestionCAN ANYONE HELP ME?! Pin
zaboboa27-Sep-05 4:25
zaboboa27-Sep-05 4:25 
AnswerRe: CAN ANYONE HELP ME?! Pin
Dave Kreskowiak27-Sep-05 12:15
mveDave Kreskowiak27-Sep-05 12:15 
GeneralRe: CAN ANYONE HELP ME?! Pin
Anonymous27-Sep-05 15:10
Anonymous27-Sep-05 15:10 
GeneralRe: CAN ANYONE HELP ME?! Pin
zaboboa27-Sep-05 15:13
zaboboa27-Sep-05 15:13 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.