Re: Transferring programmes from one partition to another
From: Crash Override (CrashOverride_at_discussions.microsoft.com)
Date: 11/01/04
- Next message: Bob I: "Re: Att.-HP Pavilion AMD Users"
- Previous message: Kathy_at_nospam.com: "Non-existing Network Connections"
- In reply to: Lee Chapelle: "Re: Transferring programmes from one partition to another"
- Next in thread: Lee Chapelle: "Re: Transferring programmes from one partition to another"
- Reply: Lee Chapelle: "Re: Transferring programmes from one partition to another"
- Messages sorted by: [ date ] [ thread ]
Date: Mon, 1 Nov 2004 09:44:06 -0800
You are making the assumption that all developers code their apps to the use
the same dll location. This simply is not true in practice. The exe does in
fact call the dll, however it is called based on an association in the
registry. If the exe file is moved, the association is broken and is not
guranteed to work. The dll may look to the registry but since the exe and
other files were moved, the registry entries are incorrect resulting in a
broken application. Depending on the size of the application and the number
of registry entries involed, you could in theory anyway, update the registry
manually. Not really a place for an amatuer to be poking around in though.
"Lee Chapelle" wrote:
>
> "Crash Override" <CrashOverride@discussions.microsoft.com> wrote
> >
> >
> > "Lee Chapelle" wrote:
> >
> > >
> > > "Shenan Stanley" <news_helper@hushmail.com> wrote
> > >
> > > >> I want to have all my programmes on C. At the moment I have some on C
> > > >> and D. Can I transfer all the programmes in D to C by copy and paste?
> > > >
> > > > Likely not.
> > > >
> > > > The number of registry/dll enties/files found on your C drives would
> > > > likely prohibit this.
> > > > Uninstall the applications you wish to move, reinstall them on the D
> drive
> > > > appropriately.
> > >
> > > This frequently works just fine. When you move the application files you
> are
> > > not altering the registry entries or moving dlls. As long as the
> application
> > > support system remains in place the executable should still be able to
> > > function whether from D: or C:.
> > >
> > > I would suggest try one at a time testing as you go.
> > >
> > >
> > > Lee, you have this completely backwards. This practice does not work
> unless you are talking about simple exe files that have no dll or ocx files
> associated with them. Most complex applications have hundreds of files
> associated with them and as many, if not more, registry entries. Moving the
> files will cause the application not to function because the registry
> expects to find the file(s) in a specific location. The registry is not
> dynamically updated when a file is simply moved. The proper way of dealing
> with what the OP asked is to uninstall the applications they want moved and
> then reinstall them. This is the only surefire way to put them where you
> want and have them still function.
>
> I agree that is a better general idea, but one does not always have that
> luxury.
>
> The dlls are generally installed to some folder like c:\windows\system,
> those are not being moved, nor are the registry entries. The executable
> calls the dll and the registry entries, not the other way round. When the
> executable is run it calls the dll. When it looks in c:\windows\system where
> it expects to find a dll, it is there. When it refers to the registry, it
> finds the settings there also. If there are support files within the same
> Program Files folder, they will also be unmoved relative to the executable.
>
>
>
- Next message: Bob I: "Re: Att.-HP Pavilion AMD Users"
- Previous message: Kathy_at_nospam.com: "Non-existing Network Connections"
- In reply to: Lee Chapelle: "Re: Transferring programmes from one partition to another"
- Next in thread: Lee Chapelle: "Re: Transferring programmes from one partition to another"
- Reply: Lee Chapelle: "Re: Transferring programmes from one partition to another"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|