sshevade
Active participant

Query, Add rows to Installshield table using c# and automation interface

I have an installshield msi project. I went to Direct Editor and clicked on Add Table. I created a new table and added couple of columns to it. How can I use automation interface to add rows to that table as well as query the rows from that table in Installscript?

Labels (1)
0 Kudos
3 Replies
banna_k
Flexera
Flexera

Hi @sshevade ,

 

Yes, its possible to do by creating object of "WindowsInstaller.Installer" and the open the data base by passing the installshield ism project.

0 Kudos
sshevade
Active participant

Can you please post a small example?
0 Kudos
sshevade
Active participant

Also, how will the windows installer different MSI tables, vs InstallShield tables vs custom tables?
0 Kudos