PDA

View Full Version : Want function calls



HayoOellrich
05-30-2002, 03:52 AM
Again the actions in SF 6.0.1 ...

When programming actions code, then I really need a "function" construct: I want to "call" a subroutine, which then returns to the caller. Hereby, the code could be made much more structured, and very much easier to read. And of course, these functions provide a way to code single source for the same task.

Would be great if such functionality could be provided ...

Hayo

TimCarroll
07-10-2002, 01:52 PM
I second this suggestion. I already have a few spots in my installer where I have duplicated code. I'd prefer to isolate this code out into subroutines so that I can call it once.

Related issue: it would be great if these subroutines could be independent of the section of the installer. In other words, I want a common set of subroutines that are shared by the uninstaller, start up, before install, after install, and shutdown. This would also help me remove a few pieces of code duplication inside my installer.

Patrik
07-11-2002, 04:18 AM
Just want to note that I agree with the above.

/Patrik

gena
07-17-2002, 09:28 AM
And even more - it would be excellent to call function from .sfa file, so functions may be shared between different setup projects.

Regards,
Gennady

Ted
07-22-2002, 11:35 AM
Thanks for the suggestions. It's actually something we wanted to do for Setup Factory 6.0 but ran out of time. We'll definitely revisit the issue for a future release.