MAKEMSI quickly and reliably creates MSI files in a non-programmatic way
Have your say! Join the MAKEMSI discussion list or view archive! Suggest improvements. No question too simple or too complex.
[Bottom][Contents][Prev]: .idt (text representation of database tables)[Next]: 64 Bit Installs
Have your say! Join the MAKEMSI discussion list or view archive! Suggest improvements. No question too simple or too complex.
\->Windows Installer FAQ (the basics)->VB Declarations

Windows Installer Basics: VB Declarations

This is basic documentation badly missing from the MS doco...

Note that generally I use VBSCRIPT wherever possible as its much faster and easier to build but not everything can be done in script and you may need to work around script alerts.

To work out the values of constants, SDK include files such as "MSI.H" and "MsiQuery.H" can be examined (of course again it would be better if they were documented).

I have added tried and tested declarations here, let me know if you have others:

The above have been used with some degree of success in at least one program I have compiled and tested. There is no guarantee that they are 100% correct, if you know of a problem please let me know and I will update the list. If you can supply a very small working program as an example then I can add this to the doco.

Functions such as "MsiOpenDatabase()" show that there is not always one correct declaration and of course in the above I have not used the "W" versions (just the "A" for ANSI ones).


Microsoft awarded me an MVP (Most Valuable Professional award) in 2004, 2005, 2006, 2007, 2008 & 2009 for the Windows SDK (Windows Installer) area.Please email me any feedback, additional information or corrections.
See this page online (look for updates)

[Top][Contents][Prev]: .idt (text representation of database tables)[Next]: 64 Bit Installs


MAKEMSI© is (C)opyright Dennis Bareis 2003-2008 (All rights reserved).
Sunday February 28 2016 at 3:45pm
Visit MAKEMSI's Home Page
Microsoft awarded me an MVP (Most Valuable Professional award) in 2004, 2005, 2006, 2007, 2008 & 2009 for the Windows SDK (Windows Installer) area.