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

Disable a button


3 replies to this topic

davidgamo

davidgamo
  • Members
  • 9 posts

Posted 14 December 2005 - 11:29

I need to disable the change button in the DestinationFolder dialog only if an expecific value in a key of the registry exists. I know how to verify the values in the registry with an script but i can't disable the button in the dialog. Anyone knows how to do it?

Thanks for your help

lavocat

lavocat
  • Full Members
  • 158 posts

Posted 14 December 2005 - 11:56

Add this row to the ControlCondition table:

DestinationFolder ChangeFolder Disable MyProperty



MyProperty is the value you set when you verify the value of the key

davidgamo

davidgamo
  • Members
  • 9 posts

Posted 14 December 2005 - 12:44

Thanks lavocat

The problem is i don't know how to access the value of a property from my script. I create a new property in the property manager. I try to change the value of this property from my script but when i build i get an error message(C8025).

How i do it?



davidgamo

davidgamo
  • Members
  • 9 posts

Posted 14 December 2005 - 13:21

I found the solution with MsiSetProperty function