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

How to show up a custom dialog by CA


1 reply to this topic

HermioneJJ

HermioneJJ
  • Members
  • 27 posts

Posted 03 July 2006 - 03:55

Hi All,
I need to add a dialog to check if some old version of products have been installed and ask user to unistall them manually before install new ones. So it need "Retry" to validate the requirement.
Does anyone know how to write a CA to prompt up a dialog which contains a "Retry" button? just like InstallValidate action shows up the FilesInUse dialog?

Thanks a lot!
Hermione

HermioneJJ

HermioneJJ
  • Members
  • 27 posts

Posted 03 July 2006 - 10:50

I have try this way:
write a CA to search related products, and set some string to Property "F";
if F is not empty and then show up the Custom Dialog which prompts uster to uninstall the product listed in the dialog.
and in the dialog I set a "retry" button, and set the behavior is as following:
DoAction A F
EndDialog Return Not F
but it seems it will not execute the DoAction in the "retry". I don't know why.
I have changed the DoAction with [F] {} F ----just set the Property and this works.

Does anyone know why it desen't execute DoAction in this scenario?

Attached Images

  • retry.GIF

Edited by HermioneJJ, 03 July 2006 - 10:52.