Jump to content


This is a ready-only archive of the InstallSite Forum. You cannot post any new content here. / Dies ist ein Archiv des InstallSite Forums. Hier können keine neuen Beiträge veröffentlicht werden.
Photo

ControlCondition table problem


2 replies to this topic

NinlarKeldar

NinlarKeldar
  • Members
  • 9 posts

Posted 25 June 2003 - 21:03

I added a row to the ControlCondition table and it does not appear to work.

Dialog_: dlgPPServer
Control_: chkPPServerExists
Action: Hide
Condition: 1

I also tried:

Dialog_: dlgPPServer
Control_: chkPPServerExists
Action: Hide
Condition: TRUE

Neither one of these will prevent chkPPServerExists from displaying. Is there another setting that I am missing?

Stefan Krueger

Stefan Krueger

    InstallSite.org

  • Administrators
  • 13,269 posts

Posted 26 June 2003 - 08:44

InstallScript MSI projects use an external user interface which is handled by InstallScript. The control condition table only works for MSI's internal user interface. So you would have to write script code to hide these controls. This would have to be done inside your dialog script (in the DLG_INIT part), e.g. using some WinSub* function (don't have the exect function name handy)

NinlarKeldar

NinlarKeldar
  • Members
  • 9 posts

Posted 26 June 2003 - 23:12

Thanks a lot Stefan, you saved me a lot of time. I was using Win32 API functions to pull it off, but this is a lot better.

Once again thanks for your time and help.