A Windows XP help forum. PCbanter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » PCbanter forum » Microsoft Windows 8 » Windows 8 Help Forum
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

Program Files - Folder Move Program



 
 
Thread Tools Rate Thread Display Modes
  #1  
Old September 28th 14, 12:12 AM posted to alt.comp.os.windows-8
Bill Bradshaw
external usenet poster
 
Posts: 282
Default Program Files - Folder Move Program

Running Windows 8.1. What I want to do is move a program to a new
folder under program files. I create the new subdirectory and copy the
files to it and delete the original subdirectory. The program runs fine
from the new subdirectory. I change all the shortcuts to point to the
new subdirectory. But when I run the program using the icons in which I
have changed the shortcut location windows reinstalls it to the original
subdirectory I want to move it from and also recreates the deleted
subdirectory and changes all the shortcuts back to the recreated
subdirectory. So how do you move a program and make windows understand
that is where you now want to run it from? How does windows decide to
recreate a deleted subdirectory and put the program back in it? Since
the install program has been deleted how does windowst even find the
files that have been moved?

Hopefully what I wrote here is not too confusing.

Bill


Ads
  #2  
Old September 28th 14, 12:43 AM posted to alt.comp.os.windows-8
Ken Blake, MVP[_4_]
external usenet poster
 
Posts: 1,699
Default Program Files - Folder Move Program

On Sat, 27 Sep 2014 15:12:08 -0800, "Bill Bradshaw"
wrote:

Running Windows 8.1. What I want to do is move a program to a new
folder under program files. I create the new subdirectory and copy the
files to it and delete the original subdirectory. The program runs fine
from the new subdirectory. I change all the shortcuts to point to the
new subdirectory. But when I run the program using the icons in which I
have changed the shortcut location windows reinstalls it to the original
subdirectory I want to move it from and also recreates the deleted
subdirectory and changes all the shortcuts back to the recreated
subdirectory. So how do you move a program and make windows understand
that is where you now want to run it from?



There is an occasional exception, but as a general rule, you can *not*
move a program. You end up with many important references to the
program, in the registry and elsewhere, pointing to the old location
and screwing everything up.

The way to do what you want is to uninstall the program, then
reinstall it in the place where you want it.

  #3  
Old September 29th 14, 12:55 PM posted to alt.comp.os.windows-8
Dave-UK
external usenet poster
 
Posts: 596
Default Program Files - Folder Move Program


"Bill Bradshaw" wrote in message . ..
Running Windows 8.1. What I want to do is move a program to a new
folder under program files. I create the new subdirectory and copy the
files to it and delete the original subdirectory. The program runs fine
from the new subdirectory. I change all the shortcuts to point to the
new subdirectory. But when I run the program using the icons in which I
have changed the shortcut location windows reinstalls it to the original
subdirectory I want to move it from and also recreates the deleted
subdirectory and changes all the shortcuts back to the recreated
subdirectory. So how do you move a program and make windows understand
that is where you now want to run it from? How does windows decide to
recreate a deleted subdirectory and put the program back in it? Since
the install program has been deleted how does windowst even find the
files that have been moved?

Hopefully what I wrote here is not too confusing.

Bill


Does the installer program list where it installs the files?
If so, then try uninstalling the program, run the installer
again and edit the location to your preferred layout.






  #4  
Old September 29th 14, 02:20 PM posted to alt.comp.os.windows-8
Paul
external usenet poster
 
Posts: 18,275
Default Program Files - Folder Move Program

Bill Bradshaw wrote:
Running Windows 8.1. What I want to do is move a program to a new
folder under program files. I create the new subdirectory and copy the
files to it and delete the original subdirectory. The program runs fine
from the new subdirectory. I change all the shortcuts to point to the
new subdirectory. But when I run the program using the icons in which I
have changed the shortcut location windows reinstalls it to the original
subdirectory I want to move it from and also recreates the deleted
subdirectory and changes all the shortcuts back to the recreated
subdirectory. So how do you move a program and make windows understand
that is where you now want to run it from? How does windows decide to
recreate a deleted subdirectory and put the program back in it? Since
the install program has been deleted how does windowst even find the
files that have been moved?

Hopefully what I wrote here is not too confusing.

Bill



Program Files folder is owned by TrustedInstaller, which is
a service rather than an account (something I learned only
the other day).

Attempts to write to Program Files folder, result in the
material being redirected to the roaming folder. Where the
folder is no longer owned by TrustedInstaller. The OS is
designed, so that if you "view" Program Files, the
contents of roaming folder display in there as if the file
was really in the folder. When it isn't.

The "redirect to roaming" behavior was added for backward
compatibility, so programs which wrote "preferences" into
their Program Files folder, would get to keep the results.

It's also possible, that TrustedInstaller implements Windows File
Protection. But I can't find enough details to know what
TrustedInstaller (Windows Modules Installer) does with respect
to attempts to replace Program Files contents. Your symptoms suggest
the stuff is being put back somehow.

And those are some hints, why you shouldn't do it that way,
to a modern (booby trapped) OS.

Paul
  #5  
Old September 29th 14, 07:07 PM posted to alt.comp.os.windows-8
Bill Bradshaw
external usenet poster
 
Posts: 282
Default Program Files - Folder Move Program

"Bill Bradshaw" wrote in message
. ..
Running Windows 8.1. What I want to do is move a program to a new
folder under program files. I create the new subdirectory and copy
the files to it and delete the original subdirectory. The program
runs fine from the new subdirectory. I change all the shortcuts to
point to the new subdirectory. But when I run the program using the
icons in which I have changed the shortcut location windows reinstalls
it to the original subdirectory I want to move it from and also
recreates the deleted subdirectory and changes all the shortcuts back
to the recreated subdirectory. So how do you move a program and make
windows understand that is where you now want to run it from? How
does windows decide to recreate a deleted subdirectory and put the
program back in it? Since the install program has been deleted how
does windowst even find the files that have been moved?

Hopefully what I wrote here is not too confusing.

Bill


The program is SlimCleaner and does not allow you to pick an install
directory. Probably for security reasons. Thanks for the replys.

Bill


 




Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off






All times are GMT +1. The time now is 07:26 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 PCbanter.
The comments are property of their posters.