Gui4Cli and the registry

"[email protected] [gui4cli]" <[email protected]> 03 Jun 2014 01:22:16 -0700
Newsgroups gmane.comp.windows.gui4cli
Message-ID <[email protected]>
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/?id=1442&ts=1222586417

 http://www.portablefreeware.com/forums/viewtopic.php?f=8&t=16913&sid=b9502bd681f2a729093044f0b7c005e6 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