Groups | Blog | Home
all groups > dotnet setup > march 2005 >

dotnet setup : Modify MSI package through code


Jason
3/30/2005 11:58:23 AM
There is a set of standard settings we apply to packages created through
visual studio. Instead of using Orca to manually set these values I wish to
create a utility that will automatically do it.

How would one go about modifying a MSI package through code? Or what
resources can somebody point me to that can get me started?

- Jason

Phil Wilson
3/31/2005 1:08:24 PM
There's a short API example here:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/msi/setup/adding_binary_data_to_a_table_using_sql.asp

and this should be helpful;
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/msi/setup/execute_sql_statements.asp

--
Phil Wilson
[Microsoft MVP-Windows Installer]
Definitive Guide to Windows Installer
http://apress.com/book/bookDisplay.html?bID=280

[quoted text, click to view]

AddThis Social Bookmark Button