Windows Vista Forums
Vista Forums Home Join Vista Forums Windows 7 Forum Vista Tutorials Tags
Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks.

Go Back   Vista Forums > Misc Newsgroups > VB Script

Vista - Script for Uninstall Access 2002

Reply
 
Old 07-25-2008   #1 (permalink)
Andy1974


 
 

Script for Uninstall Access 2002


We need t uninstall Access 2002 from our Office XP Suite on our
workstations. Since it wasn't installed via group policy we can't use that
software installation method. However is there a way to run a scropt on
startup that would uninstall the Access component from our workstations?

My System SpecsSystem Spec
Old 07-25-2008   #2 (permalink)
mr_unreliable


 
 

Re: Script for Uninstall Access 2002

Andy1974 wrote:
Quote:

> We need t uninstall Access 2002 from our Office XP Suite on our
> workstations. Since it wasn't installed via group policy we can't use that
> software installation method. However is there a way to run a scropt on
> startup that would uninstall the Access component from our workstations?
hi Andy1974,

As far as uninstalling on startup, you could either place
a copy of your script in the startup folder, or store it
elsewhere and add a key to the registry to run it on
startup. (HKLM\software\microsoft\windows\currentversion\run).

As for unstalling access, I was about to suggest looking for
an "uninstaller" in the usual place:

[HKLM\Software\Microsoft\Windows\CurrentVersion\Uninstall\...

Problem with that (at least on my machine) is that there is
an uninstaller listed for ALL of ms office, no separate
uninstaller for access. I suppose that if you installed it
separately, you might find a separate uninstaller. Otherwise,
you could just look up the location of access and delete it.
(look in program files/office/... ). Uninstalling the main
app is unsatisfactory, because it leaves all the "helper files"
in place. But if you are preparing to install a later version
of access on all your workstations, all those "helper files"
will mostly likely get overwritten anyway.

cheers, jw
____________________________________________________________

You got questions? WE GOT ANSWERS!!! ..(but, no guarantee
the answers will be applicable to the questions)
My System SpecsSystem Spec
Old 07-25-2008   #3 (permalink)
Andy1974


 
 

Re: Script for Uninstall Access 2002



"mr_unreliable" wrote:
Quote:

> Andy1974 wrote:
Quote:

> > We need t uninstall Access 2002 from our Office XP Suite on our
> > workstations. Since it wasn't installed via group policy we can't use that
> > software installation method. However is there a way to run a scropt on
> > startup that would uninstall the Access component from our workstations?
>
> hi Andy1974,
>
> As far as uninstalling on startup, you could either place
> a copy of your script in the startup folder, or store it
> elsewhere and add a key to the registry to run it on
> startup. (HKLM\software\microsoft\windows\currentversion\run).
>
> As for unstalling access, I was about to suggest looking for
> an "uninstaller" in the usual place:
>
> [HKLM\Software\Microsoft\Windows\CurrentVersion\Uninstall\...
>
> Problem with that (at least on my machine) is that there is
> an uninstaller listed for ALL of ms office, no separate
> uninstaller for access. I suppose that if you installed it
> separately, you might find a separate uninstaller. Otherwise,
> you could just look up the location of access and delete it.
> (look in program files/office/... ). Uninstalling the main
> app is unsatisfactory, because it leaves all the "helper files"
> in place. But if you are preparing to install a later version
> of access on all your workstations, all those "helper files"
> will mostly likely get overwritten anyway.
>
> cheers, jw
> ____________________________________________________________
>
> You got questions? WE GOT ANSWERS!!! ..(but, no guarantee
> the answers will be applicable to the questions)
>
My System SpecsSystem Spec
Old 07-25-2008   #4 (permalink)
Andy1974


 
 

Re: Script for Uninstall Access 2002

Thanks for the insight.

I tested removing access.exe however when the shortcut or any databse is
run, Access automatically reinstalls with a new access.exe. Are there other
files I should be removing?

"mr_unreliable" wrote:
Quote:

> Andy1974 wrote:
Quote:

> > We need t uninstall Access 2002 from our Office XP Suite on our
> > workstations. Since it wasn't installed via group policy we can't use that
> > software installation method. However is there a way to run a scropt on
> > startup that would uninstall the Access component from our workstations?
>
> hi Andy1974,
>
> As far as uninstalling on startup, you could either place
> a copy of your script in the startup folder, or store it
> elsewhere and add a key to the registry to run it on
> startup. (HKLM\software\microsoft\windows\currentversion\run).
>
> As for unstalling access, I was about to suggest looking for
> an "uninstaller" in the usual place:
>
> [HKLM\Software\Microsoft\Windows\CurrentVersion\Uninstall\...
>
> Problem with that (at least on my machine) is that there is
> an uninstaller listed for ALL of ms office, no separate
> uninstaller for access. I suppose that if you installed it
> separately, you might find a separate uninstaller. Otherwise,
> you could just look up the location of access and delete it.
> (look in program files/office/... ). Uninstalling the main
> app is unsatisfactory, because it leaves all the "helper files"
> in place. But if you are preparing to install a later version
> of access on all your workstations, all those "helper files"
> will mostly likely get overwritten anyway.
>
> cheers, jw
> ____________________________________________________________
>
> You got questions? WE GOT ANSWERS!!! ..(but, no guarantee
> the answers will be applicable to the questions)
>
My System SpecsSystem Spec
Old 07-25-2008   #5 (permalink)
mr_unreliable


 
 

Re: Script for Uninstall Access 2002

Andy1974 wrote:
Quote:

> I tested removing access.exe however when the shortcut or any databse is
> run, Access automatically reinstalls with a new access.exe. Are there other
> files I should be removing?
>
Andy, this smells like some sort of auto-magic app-backup-
and-restore feature that I'm unfamiliar with.

As a remedial step, you can also delete the shortcut files,
(shortcuts have the "lnk" extension). For example, there
may be a shortcut to access in your workstation's start menu.

As far as automagically calling access when the user clicks
on a database (that would be "*.mdb"?), you could address that
one in the registry. If you look up ".mdb", you should find
something like this:

[HKEY_CLASSES_ROOT\.mdb]
"Content Type"="application/msaccess"
@="Access.Application.9"
"ZAMailSafeExt"="zlh"

[HKEY_CLASSES_ROOT\.mdb\Access.Application.9]

[HKEY_CLASSES_ROOT\.mdb\Access.Application.9\ShellNew]

[HKEY_CLASSES_ROOT\.mdb\ShellNew]
"Command"="msaccess.exe /NEWDB 1"

(with maybe some more subkeys).

If you delete that key and all the subkeys, then if somebody
clicks on the mdb file, then nothing will happen. wsh/vbs
has reg read/write/delete capability.

Again, these suggestions are all of the "brute force" type.
I don't have that automatic app restore feature that you have.
Maybe somebody else will come along and give us some insight
into how to subvert that.

cheers, jw
My System SpecsSystem Spec
Reply

Thread Tools


Similar Threads
Thread Forum
Access 2007 won't Operate Access 2002 File Vista installation & setup
Converting Access 2002 to Access 2007 Vista installation & setup
Outlook 2002 contact db access warning and Vista!!! Vista General
Problems with Access 2002 (XP) After Installing Update Vista performance & maintenance
Access 2002 runtime deployment fails Vista installation & setup


Vista Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46