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

adding functionality to a new control


2 replies to this topic

Frankb

Frankb
  • Members
  • 10 posts

Posted 13 June 2001 - 21:12

I've added a button to the SdWelcome. I copied the 'Next' button and pasted it just above it. I would like to know how I can have it launch notepad to view a readme text file when it is clicked. I am using IS 5.5.

lasenbby

lasenbby
  • Members
  • 744 posts

Posted 13 June 2001 - 21:43

Find the script for the welcome dialog; older versions of IS have the scripts contained in a subdir of IS program dir; if it's not there I found that older version would allow you to, while debugging, step into IS functions and when doing so just copy the welcome dialog script...may have to go back later to get a script; or write your own using IS doc sample.

make a unique resource id or use one not in use on that dialog;  (sounds like you done this)

in the welcome dialog script case statement allow for this new resource id (button) and when it is hit, launchappex notepad.exe.