View Full Version : Adding registry table to msi with script.

11-16-2016, 07:49 AM
If this is not the right place, let me know
I'm trying to add the registry table to an msi with sql, Adding the table is no problem, but IS can't open it.
Does anyone know the right syntax of the sql query?
Here's what I have:

query2 = "CREATE TABLE `Registry` (`Registry` CHAR(72) NOT NULL, `Root` INT NOT NULL, `Key` CHAR(255) NOT NULL LOCALIZABLE, `Name` CHAR(255) LOCALIZABLE, `Value` LONGCHAR LOCALIZABLE, `Component_` CHAR(72) NOT NULL PRIMARY KEY `Registry`)"