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

Global Variables and OnFirstUIAfter


1 reply to this topic

orionoiro

orionoiro
  • Members
  • 2 posts

Posted 06 October 2004 - 23:13

Hi peeps;

Question...

Why is is that in the OnFirstUIAfter Function, global variables do not apply.

In my script I have all the functions to determin install location and version cehcking etc etc... set in OnFirstUIBefore. After the ONFirstUIBefore, the files are coppied based on the end users selections and script checks. I then launch table updating utilites, backup routines etc etc from the OnFirstUIAfter. Unfortunatley, all these functions require data set in global variables OnFirstUIBefore, for e.g. svDir INSTALLDIR = svDir

Am I missign something here? why does the OnFirstUIAfter funtion clear the global variables? How do I get this function to use the Global Variables?

Thanks in advance Mik
please post reply here

orionoiro

orionoiro
  • Members
  • 2 posts

Posted 07 October 2004 - 00:14

Sorry never mind this post... I was not declaring the gloabla variables correctly. i.e. before the function.

Mik