Installing old programs without an installer

DarkStar GT

New member
Power User
Local time
9:43 PM
Messages
257
Location
Surrey, UK
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: http://www.sevenforums.com/news/19426-user-account-control-data-redirection.html ]
 

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Scan 3XS P55 liteDAW
OS
Windows Home Premium (64)
CPU
Intel Core i7 860
Motherboard
Gigabyte GA-P55A-UD4
Memory
8GB (4x2GB) Corsair TwinX XMS3
Graphics Card(s)
1GB Gainward 9500 GT
Sound Card
M-Audio Delta 66
Monitor(s) Displays
Acer v223wBBd
Screen Resolution
1680 x 1050
Hard Drives
1 x 500 GB WD Barracuda (OS+Docs)
2 x 1TB Samsung Spinpoint F3 (Data)
PSU
Enermax EMD625AWT II - 625W Enermax Modu82+ II
Case
Fractal Design Define R2 Black
Cooling
Prolima Megahalems Super 6 Heatpipe Tower Cooler
Keyboard
Microsoft Digital Media Pro
Mouse
Belkin Optical Ergo
Internet Speed
8 Mbps nominal (14.9 achieved !)
Other Info
Digital Audio Workstation
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 Computer

Computer Manufacturer/Model Number
self built
OS
Windows 7 Professional 64-bit
CPU
Intel E8400 3GHz
Motherboard
Intel DX48BT2
Memory
Kingston PC3-10700H 4Gb
Graphics Card(s)
XFX Radeon HD 5850 BlackEd.
Sound Card
Asus Xonar DG
Monitor(s) Displays
2x Samsung SM-T220HD 22"
Screen Resolution
1680x1050 on two monitors
Hard Drives
OCZ Vertex 2 120gb 3.5" (OS)
Seagate Momentus XT 500gb
Samsung F3 1Tb (games)
2x Samsung F1 1Tb
PSU
Thermaltake ToughPower 850w
Case
Thermaltake Armor
Cooling
Scythe Mugen II
Keyboard
Microsoft Comfort Curve USB
Mouse
Razer Diamondback 3G
Internet Speed
8128/443
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 Computer

Computer Manufacturer/Model Number
HP Media Center
OS
Windows 7 32 bit
CPU
AMD 5200+ dual core
Memory
2 GB
Graphics Card(s)
NVidia GeForce 6150SE 128 MB
Monitor(s) Displays
CRT
Screen Resolution
1280x1024
Hard Drives
500 GB Sata internal :

SIIG USB 3.0 docking stations w/WD Caviar Black 6 Gb/s drives
Keyboard
PS/2
Mouse
PS/2 Wheel Mouse
Other Info
SIIG USB 3.0 PCIexpress card.
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 Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Scan 3XS P55 liteDAW
OS
Windows Home Premium (64)
CPU
Intel Core i7 860
Motherboard
Gigabyte GA-P55A-UD4
Memory
8GB (4x2GB) Corsair TwinX XMS3
Graphics Card(s)
1GB Gainward 9500 GT
Sound Card
M-Audio Delta 66
Monitor(s) Displays
Acer v223wBBd
Screen Resolution
1680 x 1050
Hard Drives
1 x 500 GB WD Barracuda (OS+Docs)
2 x 1TB Samsung Spinpoint F3 (Data)
PSU
Enermax EMD625AWT II - 625W Enermax Modu82+ II
Case
Fractal Design Define R2 Black
Cooling
Prolima Megahalems Super 6 Heatpipe Tower Cooler
Keyboard
Microsoft Digital Media Pro
Mouse
Belkin Optical Ergo
Internet Speed
8 Mbps nominal (14.9 achieved !)
Other Info
Digital Audio Workstation
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 Computer

Computer Manufacturer/Model Number
Unibody MacBook and a ZT Systems desktop
OS
OS X Snow Leopard, Windows 7 Pro on the MacBook.
Other Info
3G iPhone and a 16 gig wifi iPad.
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 Computer

Computer Manufacturer/Model Number
Too many to describe...
OS
Windows 7 x64 pro/ Windows 7 x86 Pro/ XP SP3 x86
^^^^
I understand that; I am not suggesting doing anything to the Program Files directory at all.
 

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Scan 3XS P55 liteDAW
OS
Windows Home Premium (64)
CPU
Intel Core i7 860
Motherboard
Gigabyte GA-P55A-UD4
Memory
8GB (4x2GB) Corsair TwinX XMS3
Graphics Card(s)
1GB Gainward 9500 GT
Sound Card
M-Audio Delta 66
Monitor(s) Displays
Acer v223wBBd
Screen Resolution
1680 x 1050
Hard Drives
1 x 500 GB WD Barracuda (OS+Docs)
2 x 1TB Samsung Spinpoint F3 (Data)
PSU
Enermax EMD625AWT II - 625W Enermax Modu82+ II
Case
Fractal Design Define R2 Black
Cooling
Prolima Megahalems Super 6 Heatpipe Tower Cooler
Keyboard
Microsoft Digital Media Pro
Mouse
Belkin Optical Ergo
Internet Speed
8 Mbps nominal (14.9 achieved !)
Other Info
Digital Audio Workstation
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 Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Scan 3XS P55 liteDAW
OS
Windows Home Premium (64)
CPU
Intel Core i7 860
Motherboard
Gigabyte GA-P55A-UD4
Memory
8GB (4x2GB) Corsair TwinX XMS3
Graphics Card(s)
1GB Gainward 9500 GT
Sound Card
M-Audio Delta 66
Monitor(s) Displays
Acer v223wBBd
Screen Resolution
1680 x 1050
Hard Drives
1 x 500 GB WD Barracuda (OS+Docs)
2 x 1TB Samsung Spinpoint F3 (Data)
PSU
Enermax EMD625AWT II - 625W Enermax Modu82+ II
Case
Fractal Design Define R2 Black
Cooling
Prolima Megahalems Super 6 Heatpipe Tower Cooler
Keyboard
Microsoft Digital Media Pro
Mouse
Belkin Optical Ergo
Internet Speed
8 Mbps nominal (14.9 achieved !)
Other Info
Digital Audio Workstation
^^^^
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
 
Last edited:

My Computer

Computer Manufacturer/Model Number
HP Media Center
OS
Windows 7 32 bit
CPU
AMD 5200+ dual core
Memory
2 GB
Graphics Card(s)
NVidia GeForce 6150SE 128 MB
Monitor(s) Displays
CRT
Screen Resolution
1280x1024
Hard Drives
500 GB Sata internal :

SIIG USB 3.0 docking stations w/WD Caviar Black 6 Gb/s drives
Keyboard
PS/2
Mouse
PS/2 Wheel Mouse
Other Info
SIIG USB 3.0 PCIexpress card.
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 Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Scan 3XS P55 liteDAW
OS
Windows Home Premium (64)
CPU
Intel Core i7 860
Motherboard
Gigabyte GA-P55A-UD4
Memory
8GB (4x2GB) Corsair TwinX XMS3
Graphics Card(s)
1GB Gainward 9500 GT
Sound Card
M-Audio Delta 66
Monitor(s) Displays
Acer v223wBBd
Screen Resolution
1680 x 1050
Hard Drives
1 x 500 GB WD Barracuda (OS+Docs)
2 x 1TB Samsung Spinpoint F3 (Data)
PSU
Enermax EMD625AWT II - 625W Enermax Modu82+ II
Case
Fractal Design Define R2 Black
Cooling
Prolima Megahalems Super 6 Heatpipe Tower Cooler
Keyboard
Microsoft Digital Media Pro
Mouse
Belkin Optical Ergo
Internet Speed
8 Mbps nominal (14.9 achieved !)
Other Info
Digital Audio Workstation
Back
Top