PDA

View Full Version : Internal Error: 2711



miltonc
06-20-2005, 11:38 AM
I discover the features to be installed only during runtime. Sometime (After SetupInitialization) during the UI sequence, I insert the following into the Feature table.
oQuery = "INSERT INTO `Feature` (`Feature`, `Title`, `Display`, `Level`, `Directory_`, `Attributes`) VALUES ( 'Feature" & i & "', '" & FeatureName & "', " & Cstr(i + 4 * i) & ", " & CStr(1) & ", '" & Target & "', " & CStr(0) & ") TEMPORARY"
So, now I get this dialog to be displayed to the user. See attachment.

Based on the user selection, I perform some custom action. Problem is I get this Internal Error: 2711 as soon as I click Install Now on the Ready to Install dialog. Anyways, I can get around this? I have seen some posts on this error code and they all point to Feature Name not in Feature table.
Thanks.

RobertDickau
06-20-2005, 12:52 PM
I think the MSI database is unloaded when execution switches from the UI to the Execute sequence, so you might have to re-insert the temporary Feature records early in the Execute sequence...

miltonc
06-20-2005, 02:12 PM
Wonderful. It works!!