Jamal,
If you can make certain assumptions like you gave then sure, you could
copy from %allusersprofile%\gw micro\window-eyes\users\default into the
current user's profile from a script. The question is what can you copy
that wouldn't break scripts. If the script itself has changed and it
was marked to only trust the current version then copying a different
version from allusersprofile would untrust that script. If you are just
talking sets then you could just copy *.0*. You could add *.we but that
may break existing scripts that the user installed manually since the
association is held in the .we file. You could add dictionaries with
*.key, *.dic, *.chr, *.clr, *.gra.
The best thing may be for a script to allow the user to take a snapshot
of their current settings and then allow them to restore. Sort of like
the operating system restore options. This way you can just completely
replace the contents of their current user profile without risk of
shutting down scripts because of security issues and such. But if you
copy a profile you should make sure you also copy and sub directories to
keep everything in sync.
Doug
Jamal Mazrui wrote:
Hi Doug,
Iam an example of someone who wants a simple way of completely restoring
factory settings. If an uninstall and then reinstall is necessary, then
so be it, though I was naturally hoping for something that I could do
with a script.
The risk of an administrator changing All Users settings after
installation is a bit of a red herring here <smile>. I keep talking about
an individual who has done a quick install and then wants to get back to
that initial state. Let us assume that there is no one else controling
the user's access to Window-Eyes, and the user has not done something odd
like dig into the All Users folder and change such files. So, in this
situation, can the files in the All Users folder be copied into the user
profile folder? Is there any way a script can programmatically restore
all factory settings, or is the UI required?
Jamal
On Mon, 4 Aug 2008, Doug Geoffray wrote:
Date: Mon, 04 Aug 2008 18:46:12 -0400
From: Doug Geoffray <[EMAIL PROTECTED]>
Reply-To: [email protected]
To: [email protected]
Subject: Re: Restoring factory settings
Jamal,
Sure, it is possible to change options in All Users. Again, this is by
design if the admin wishes to update the defaults. If you have admin
privs then you can switch to the all users profile at any time from the
Window-Eyes file menu. Once you switch to this profile anything you
change will be updated in the all users profile.
But unlike most uninstallers, Window-Eyes will clean up after itself so
all the user profiles the admin privs allows will be removed including
the all user's profile.
If you know all user's profile is okay to use then you can simply delete
your %appdata%\gw micro\window-eyes\users directory and the next time
you launch Window-Eyes it will create a new version of that from all
users profile. Or of course you could just backup your %appdata%\gw
micro\window-eyes\users\default directory and restore it if you totally
kill your sets.
But in most cases unless the user runs text2set, they aren't likely to
destroy all their sets. They can simply use the set file manager and
restore the Window-Eyes defaults and then just the applications they may
have manually altered as well. But again, it isn't likely they will
destroy the Window-Eyes defaults and 20 applications before they figured
out the change they made wasn't good and the only way to restore things
is with the factory defaults so I think the red flag is waving a bit too
much here <smile>
Doug
Jamal Mazrui wrote:
Are you saying that Window-Eyes may have made changes from the defaults
within the All Users folder? If Window-Eyes is uninstalled, does it
eliminate the user profile folder? Often, uninstallers leave files that
were modified or created by the user. Does a new WE install overwrite
such files?
Jamal
On Mon, 4 Aug 2008, Aaron Smith wrote:
Date: Mon, 04 Aug 2008 17:08:54 -0400
From: Aaron Smith <[EMAIL PROTECTED]>
Reply-To: [email protected]
To: [email protected]
Subject: Re: Restoring factory settings
Jamal Mazrui wrote:
The user would like to return to the starting point of
the WE installation with all default settings (e.g., of the quick
install).
Because there's no guarantee that the all users profile hasn't been
mucked with, the only solution to get a true, clean factory install is
to uninstall, and re-install. Because the quick install is, well, quick,
it's simple to do. We recommend this as support techs when people want
to do what you're asking about.
Aaron
--
To insure that you receive proper support, please include all past
correspondence (where applicable), and any relevant information
pertinent to your situation when submitting a problem report to the GW
Micro Technical Support Team.
Aaron Smith
GW Micro
Phone: 260/489-3671
Fax: 260/489-2608
WWW: http://www.gwmicro.com
FTP: ftp://ftp.gwmicro.com
Technical Support & Web Development
--
Doug Geoffray
GW Micro, Inc.
Voice 260-489-3671
Fax 260-489-2608
http://www.gwmicro.com
--
Doug Geoffray
GW Micro, Inc.
Voice 260-489-3671
Fax 260-489-2608
http://www.gwmicro.com