This content has been marked as final. Show 7 replies
> I want to get a specific installed file name using lingo. Please tell
> me any method, function or price of code to do this.
Um, if it's a specific installed file, surely you know it's name already?
You'll have to give more details, for example are you trying to detect if
QuickTime is installed?
Andrew Morton wrote:
> Um, if it's a specific installed file, surely you know it's name
Hey, it's early on Monday morning and I had a few spare apostrophes to use
up. That's my excuse :-)
Is your app designed to run in shockwave or as an exe? For an exe you could in every case use file io or buddy api, in shockwave I'm not sure, depends on what you intend to do
Yes just like quick time. I wanto to check my own written exe. i want to check weather it is installed or not
Yes, my exe is written in C#.NET
well, to my knowledge, there is no corresponding function in Director to search for the presence of self written exes. What you can do, however, is to check via buddy api for a certain file in a certain directory (e.g. the exe itself, or, on the mac platform, for a certain folder in the preferences), or if you got registry Entries in windows, for that preferences.
Uncertainty is that I don't know if it is shockwave safe or how the functions you need are limited in shockwave, and that it is not free. For projectors, it should be easy going.
Concerning File IO I have never messed around with the fileIO but I'm sure, if you dig in there, you can also come up with a solution
One strategy is to have your custom exe (or the installer for your exe) write its path in the registry,. and then have Director (using BuddyAPI etc) read the registry