Re: Gui4Cli and the registry

"Dimitris Keletsekis [email protected] [gui4cli]" <[email protected]> Wed, 4 Jun 2014 09:05:39 +0300
Newsgroups gmane.comp.windows.gui4cli
Message-ID <CAHiKg1U_6BcLaaYgGW7oRDz1yua2h79ZPejRyC_CCBBCqHGFbQ@mail.gmail.com>
I'll see if I can make them "on demand", ie create them only if
specifically asked for.

I do want to make it portable.

Dimitris



On Tue, Jun 3, 2014 at 11:22 AM, [email protected] [gui4cli] <
[email protected]> wrote:

>
>
> Hi Dimitris,
>
> I was googling a bit because of a new Avanti version and came across
> this...
>
> http://www.portablefreeware.com/?id=1442&ts=1222586417
>
>
> http://www.portablefreeware.com/forums/viewtopic.php?f=8&t=16913&sid=b9502bd681f2a729093044f0b7c005e6
>
>
> I knew already that Avanti was there and considerend to be portable
> although I do not
>
> advertise it as being so. I later on added code to the script that stores
> a port_path variable
>
> and check this against the $$this.path variable at launch. If they are
> different, I update
>
> the ini file with the new launch path before I load it.
>
>
> \user\current\AppData\Roaming\*Gui4Cli*
>
> HKEY_CURRENT_USER\Software\Gui4Cli\G4c
> HKEY_LOCAL_MACHINE\Software\Gui4Cli\G4c
> HKEY_CURRENT_USER\Software\Gui4Cli\Gui\AVANTI
> HKEY_CURRENT_USER\Software\Gui4Cli\Gui\AVBROWSE
> HKEY_CURRENT_USER\Software\Gui4Cli\Gui\AVSHOW
> HKEY_CURRENT_USER\Software\Gui4Cli\Gui\AVTLOAD
> HKEY_CURRENT_USER\Software\Gui4Cli\Gui\AVTSAVE
> HKEY_CURRENT_USER\Software\Gui4Cli\Gui
> HKEY_LOCAL_MACHINE\Software\Gui4Cli\Gui
>
>
> The at the "portablefreeware" posted registry entries are written from a
> self-contained
>
> executable and I assume g4c is not installed on the posters system.
>
>
> Now my question is;
>
>
> Would it be possible to reduce the registry entries to only HKEY_CURRENT_USER
> ?
>
> Also, is it necessary to write to "\user\current\AppData\Roaming\Gui4Cli"
> on Win7 ?
>
>
> This would make it easier to add a option to remove all g4c entries from
> the registry.
>
>
> Chris
>
>
>
>  
>