PDA

View Full Version : Determine install-location in custom events



Bjoern
07-06-2004, 02:39 AM
In principle a simple question. :)

How can I determine the install-location of my product in a custom event?

So to speak the "TARGETDIR" constant from IS-X InstallScript projects.

Regrads,
Björn

Bjoern
07-06-2004, 05:37 AM
I found a solution now.

File myInstallLocation= new File (arg0.resolveString("$P(absoluteInstallLocation)"));

I simply forgot the "arg0" so I always got compiler errors. :(

Regards,
Björn