Hello,


I was wondering what I need to do to remove this error.  I looked online and on 
this site but haven't found an answer.  How do I remove the focus from the 
ChangeButton?



Thanks.





I am getting this error in my log file when I run my WiX installer:



MSI (c) (40:D0) [15:53:15:156]: Note: 1: 2228 2:  3: Error 4: SELECT `Message` 
FROM `Error` WHERE `Error` = 2836

DEBUG: Error 2836:  The control ChangeButton on the dialog MaintenanceTypeDlg 
can not take focus

The installer has encountered an unexpected error installing this package. This 
may indicate a problem with this package. The error code is 2836. The arguments 
are: MaintenanceTypeDlg, ChangeButton,

Action 15:53:15: MaintenanceTypeDlg. Dialog created





Here is the code from my UserInterface.wxs file.  I set ARPNOMODIFY to 1 to 
disable the Change button on the MaintenanceDlg page:



      <Publish Dialog="MaintenanceWelcomeDlg" Control="Next" Event="NewDialog" 
Value="MaintenanceTypeDlg">1</Publish>



      <Publish Dialog="MaintenanceTypeDlg" Control="RepairButton" 
Event="NewDialog" Value="VerifyReadyDlg">1</Publish>

      <Publish Dialog="MaintenanceTypeDlg" Control="RemoveButton" 
Event="NewDialog" Value="VerifyReadyDlg">1</Publish>

      <Publish Dialog="MaintenanceTypeDlg" Control="Back" Event="NewDialog" 
Value="MaintenanceWelcomeDlg">1</Publish>



      <!-- Greys out the 'Change' button on MaintenanceTypeDlg -->

      <Property Id="ARPNOMODIFY" Value="1" />

------------------------------------------------------------------------------
Infragistics Professional
Build stunning WinForms apps today!
Reboot your WinForms applications with our WinForms controls. 
Build a bridge from your legacy apps to the future.
http://pubads.g.doubleclick.net/gampad/clk?id=153845071&iu=/4140/ostg.clktrk
_______________________________________________
WiX-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to