Re: Re: New Gui4Cli release (request)

"Dimitris Keletsekis [email protected] [gui4cli]" <[email protected]> Fri, 25 Jul 2014 09:46:14 +0300
Newsgroups gmane.comp.windows.gui4cli
Message-ID <CAHiKg1Uw3egTpPZCFkAyFhx6FaOXf=pC52t9LSH2fY_V=94KLg@mail.gmail.com>
Hi Chris,

From version 19.31

Added $$G4C.ISINSTALL, which = 1 if the gui4cli executable you are running
    is the one installed in this system (if any g4c is installed, else = 0)





On Wed, Jul 23, 2014 at 5:55 PM, [email protected] [gui4cli] <
[email protected]> wrote:

>
>
> That's interesting!
>
> I have a option built-in for portable users to cleanup the registry from
> Avanti keys/values
> but I do not remove the main g4c keys because I didn't know how to check
> if a user has
> g4c installed.
>
> Now I wonder, if I run the Avanti executable and check the INSTALL: assign
> , does this
> tell if g4c is installed. Or is there another way to find this out?
>
> Chris
>
>
> ---In [email protected], <gui4cli@...> wrote :
>
> Hi Chris,
>
> Thanks for the feedback.
>
> $$this.path is the path that the gui that contains it is in.
>
> The path of gui4cli.exe is the HOME: assign.
>
> If the gui4cli.exe you are running is different from the installed one (ie
> in script exes etc), the path of the installed gui4cli (if there is one
> installed) is in the INSTALL: assign.
>
> To get the actual path from the assigns, you can do:
>
> v = "HOME:"
> extract v fullpath
>
> Dimitris
>
>
>  
>