Trying to use just RuntimeDbCredDlg, but getting errors with

82 views
Skip to first unread message

Philip Presley

unread,
Oct 9, 2014, 2:04:14 PM10/9/14
to msi...@googlegroups.com
I have the following snipped in my .wxs file, but when I attempt to build, I get an error about the back button of DbCreateCredDlg does not have an event defined. However, I'm not using the DbCreateCredDlg at all. Is there something else that I'm missing?

Thanks,
Philip

<WixVariable Id="WixUILicenseRtf" Value="license.rtf" />
    <Property Id="CREATE_DATABASE_LOGON_TYPE" Value="WinAuthCurrentUser"/>
    <Property Id="RUNTIME_DATABASE_LOGON_TYPE" Value="WinAuth"/>
    <Property Id="DATABASE_SERVER" Value="127.0.0.1\SQLEXPRESS"/>
    <UI>
      <DialogRef Id="WelcomeDlg"/>
      <DialogRef Id="LicenseAgreementDlg"/>
      <DialogRef Id="VerifyReadyDlg"/>
      <DialogRef Id="ErrorDlg" />
      <DialogRef Id="FatalError" />
      <DialogRef Id="FilesInUse" />
      <DialogRef Id="UserExit" />
      <DialogRef Id="SelectDbDlg" />
      
      <Publish Dialog="WelcomeDlg" Control="Next" Event="NewDialog" Value="LicenseAgreementDlg"></Publish>
      <Publish Dialog="LicenseAgreementDlg" Control="Back" Event="NewDialog" Value="WelcomeDlg">NOT Installed</Publish>
      <Publish Dialog="LicenseAgreementDlg" Control="Next" Event="NewDialog" Value="SelectDbDlg">NOT Installed</Publish>
      <Publish Dialog="SelectDbDlg" Control="Back" Event="NewDialog" Value="LicenseAgreementDlg">NOT Installed</Publish>
      <Publish Dialog="SelectDbDlg" Control="Next" Event="NewDialog" Value="RuntimeDbCredDlg">NOT Installed</Publish>
      <Publish Dialog="RuntimeDbCredDlg" Control="Back" Event="NewDialog" Value="SelectDbDlg">NOT Installed</Publish>
      <Publish Dialog="RuntimeDbCredDlg" Control="Next" Event="NewDialog" Value="VerifyReadyDlg">NOT Installed</Publish>
      <Publish Dialog="VerifyReadyDlg" Control="Back" Event="NewDialog" Value="RuntimeDbCredDlg">NOT Installed</Publish>
      <Publish Dialog="ExitDialog" Control="Back" Event="EndDialog" Value="VerifyReadyDlg">1</Publish>
      <Publish Dialog="ExitDialog" Control="Finish" Event="EndDialog" Value="Return" Order="999">1</Publish>
    </UI>

Daniel Doubrovkine

unread,
Oct 9, 2014, 6:38:19 PM10/9/14
to msi...@googlegroups.com
I think whether you use it or not it's wired up by nature of including the extension. So check whether you're including something you don't want. Honestly I don't remember exactly how to deal with this, but the CommonUI extension wires it up like so: https://github.com/dblock/msiext/blob/9acd3602535a4c1cbb5b52a59932ad1dd8e3e7ad/src/Demos/CommonUiMsi/CommonUiMsi.wxs#L71.

--
You received this message because you are subscribed to the Google Groups "msiext" group.
To unsubscribe from this group and stop receiving emails from it, send an email to msiext+un...@googlegroups.com.
To post to this group, send email to msi...@googlegroups.com.
Visit this group at http://groups.google.com/group/msiext.
For more options, visit https://groups.google.com/d/optout.



--

dB. | Moscow - Geneva - Seattle - New York
code.dblock.org - @dblockdotorg - artsy.net - github/dblock

Reply all
Reply to author
Forward
0 new messages