Windows 7 Forums

Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: Installing old programs without an installer

16 May 2010   #1
DarkStar GT

Windows Home Premium (64)
 
 
Installing old programs without an installer

I have some software that does not use an Installer.

In XP, all I needed to do was create a folder in C:\Program Files and copy the software files into the folder and create a desktop shortcut to the program.

The program itself writes into that home folder (various .dat files) and into C:\WINDOWS (a .ini file).

I understand that, in Windows 7, installers wanting wanting to write to \Program Files (x86)\foldername are redirected to write to \Users\username\AppData\Local\VirtualStore\Program Files\foldername. And that the program would write its files into that folder and into a \Windows folder alongside.

To keep things organised:
-- how would I install this program?
-- can I copy its files into the \Users\username\AppData\Local\VirtualStore\Program Files\foldername folder and create the shortcut?
-- anything-else needed?
-- I don't really want to create another "Program Files" folder (in, say, \Users\username\Documents).

[Useful thread: User Account Control Data Redirection ]


My System SpecsSystem Spec
.
16 May 2010   #2
swarfega

Windows 7 Professional 64-bit
 
 

I have a collection of programs that are too small for installers so I have them in their own folders under a main one such as x:\utilities. You could then right click on the main exe and drag it to desktop and create shortcut.
My System SpecsSystem Spec
16 May 2010   #3
MilesAhead

Windows 7 32 bit
 
 

I have many programs that only require unzipping to a folder and they create an .ini file in the same folder as the .exe. They work on Vista64 and Windows 7. Not everything gets redirected. If the program uses environment variables or CLSID to determine where to put stuff then it may vary. My programs just get the exe folder location and create the .ini file there.
My System SpecsSystem Spec
.

17 May 2010   #4
DarkStar GT

Windows Home Premium (64)
 
 

Ok, but I do not wish to create a third area for programs, so could I just put the files in \Users\username\AppData\Local\VirtualStore\Program Files\foldername myself? Or would Windows 7 object?
My System SpecsSystem Spec
17 May 2010   #5
ctt1wbw

OS X Snow Leopard, Windows 7 Pro on the MacBook.
 
 

I have some of these programs, too. I just keep everyone of them in the My Documents folder, that way when I run a backup, they all get copied. I find it easier to it that way.
My System SpecsSystem Spec
17 May 2010   #6
Bill2

Windows 7 x64 pro/ Windows 7 x86 Pro/ XP SP3 x86
 
 

Manually copying folders and files into the Program Files directory is a major security risk and Vista/Win7 do a good job here to prevent malicious code from altering any existing applications. So what Windows does is allow applications to write to the ProgramData folder.

Logically, \Program Files\ should contain only executables, \Program Data\ only generic supporting files, and Users\username\AppData\ the data created for the specific user of the program.
My System SpecsSystem Spec
17 May 2010   #7
DarkStar GT

Windows Home Premium (64)
 
 

^^^^
I understand that; I am not suggesting doing anything to the Program Files directory at all.
My System SpecsSystem Spec
17 May 2010   #8
DarkStar GT

Windows Home Premium (64)
 
 

Quote   Quote: Originally Posted by Bill2 View Post
Logically, \Program Files\ should contain only executables, \Program Data\ only generic supporting files, and Users\username\AppData\ the data created for the specific user of the program.
I would certainly agree with this, but it all depends on the authors of the software applications writing / updating their software to conform to these principles.
My System SpecsSystem Spec
17 May 2010   #9
MilesAhead

Windows 7 32 bit
 
 

Quote   Quote: Originally Posted by DarkStar GT View Post
^^^^
I understand that; I am not suggesting doing anything to the Program Files directory at all.
Since you are the one with the program I think you are the only one(other than maybe the author of the software) who can answer the question. Try it and see what happens. If the program writes to Windows.ini for settings the OS should redirect it. I use a folder C:\Utils for all my non-install or portable stuff. If I custom install a new OS it does not grab it and stick it in Windows.old. By just making new shortcuts I have programs that still work in the new OS right away. By sticking stuff manually in the system folders you are likely just creating problems for yourself.

edit: the other thing you can do is use Sandboxie. That will make it much easier to see all the changes after running the program sandboxed.

http://www.sandboxie.com/index.php?DownloadSandboxie
My System SpecsSystem Spec
18 May 2010   #10
DarkStar GT

Windows Home Premium (64)
 
 

Thank you for the replies.

As I'm too new to Windows 7 and no-one has mentioned copying the files into a sub-folder in VirtualStore I'll pass on that and just use a sub-folder elsewhere (something like C:\Classic Applications\appname).
My System SpecsSystem Spec
Reply

 Installing old programs without an installer




Thread Tools




Similar help and support threads
Thread Forum
Windows Installer - Every Time Programs Open / Certain Actions
On my new laptop (Win 7 Pro), which is set up the same as my new PC (Win 7 Pro), almost every time I open up a program, I see a quick instance of Windows Installer showing up. Most of the time it doesn't get in the way, but I can tell it slows things down, and it definitely messes with Mozilla...
General Discussion
Make Record in "Programs and Features" for Programs With No Installer?
I'm migrating to a new PC today (this is posted from the new one), and I'm determined to keep it more organized than my last one. I use a lot of opensource software, much of which doesn't have an installer, it's just copied to wherever you want it and shortcuts made manually. This is a problem when...
Software
Error in installing windows 7, installer cant detect hard disk
I messed up whilst installing windows 7 over older windows 7 drive. I formatted the windows 7 drive and again tried to deleted that partition, but that deletion process took around 10-15 minutes, so restarted my system. Now i cannot install any of the windows os or even linux :(. Please anybody...
Installation & Setup
Significance of shield overlay icon on installer programs?
Does anyone know what is the significance of the shield overlay icon on the icon for some downloaded program installers but not on others? I have speculated that it might be: (a) Windows recognizes this is an installer. (b) This program has been installed. (c) Something else....
General Discussion
Installing XP with VirtualBox, Then Installing Programs to Virtual OS?
I have 7 Ultimate right now, I want to install XP through VirtualBox, which is all well and fine, I know how to do that. But my question is; can I install programs that will be using XP? Say I give the virtual OS like 30gb of space, around 2gb of RAM, then while running XP in VirtualBox, can I...
Installation & Setup
Windows Installer Will not install programs.
On my Windows 7 Home Premium Computer, I am unable to install anything that uses Windows installers. I have already tried the following -msiexec /unregister -msiexec /register -Replacing the windows installers files (msi.dll msihnd.dll, and msiexec.exe) with my Windows 7 Ultimate System...
Software


Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 18:39.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App