dblock / msiext

AppSecInc. Community MSI Extensions
Eclipse Public License 1.0
85 stars 109 forks source link

Failed to overwrite SelectDbDlg, error ICE17 #1

Closed mkaag closed 11 years ago

mkaag commented 11 years ago

Hey there,

I'm trying to build a Wix project (version 3.6) with dialog using the MsiExt DLLs (version 1.3). For some reasons, the project build properly in DEBUG mode, but failed in RELEASE mode with the following error message:

C:\Users\dblock\Source\GitHub\msiext\dblock\src\WixExtensions\CommonUiExtension\wixlib\SelectDbDlg.wxs(22,0): error LGHT0204: ICE17: PushButton: 'Back' of Dialog: 'SelectDbDlg' does not have an event defined in the ControlEvent table. It is a 'Do Nothing' button.

In my "myWixUI_InstallDir.wxs" file, I do overwrite the default dialog with my own, slightly modified such as:

  <DialogRef Id="GenericErrorDlg" />
  <DialogRef Id="myServiceCredDlg" />
  <DialogRef Id="mySelectDbDlg" />
  <DialogRef Id="RuntimeDbCredDlg" />

  <Publish Dialog="myServiceCredDlg" Control="Back" Event="NewDialog" Value="myConfiguration">1</Publish>
  <Publish Dialog="myServiceCredDlg" Control="Next" Event="NewDialog" Value="mySelectDbDlg">1</Publish>

  <Publish Dialog="mySelectDbDlg" Control="Back" Event="NewDialog" Value="myServiceCredDlg">1</Publish>
  <Publish Dialog="mySelectDbDlg" Control="Next" Event="NewDialog" Value="RuntimeDbCredDlg">1</Publish> 

What is weird is that while building in DEBUG mode, the file "mySelectDbDlg" is properly loaded by the project; while in RELEASE mode, the project is trying to load the file "SelectDbDlg.wxs".

Have you encountered a similar issue? I guess the next step for me is to try to compile with version 3.5; has anyone tried the new version 3.7 (freshly released)?

Thank you, regards, Maurice

mkaag commented 11 years ago

I just noticed that I've suppressed the ICE17 from DEBUG mode, this explains why it worked. But does not explain the error though!

dblock commented 11 years ago

I'll reply on the mailing list, I don't think it's a bug.