Overclock.net › Forums › Software, Programming and Coding › Operating Systems › Windows › How to properly use the command prompt to manually install specific programs?
New Posts  All Forums:Forum Nav:

How to properly use the command prompt to manually install specific programs?

post #1 of 5
Thread Starter 
I did a reinstall on my Windows 7 because I want to be more specific were my programs go on which drives. I have my SSD as my C: drive with the operating system. I also have a 1tb HDD as my E: drive. Unfortunately most programs I am trying to install do not give me the option as to which drive I prefer to install on and always use the C: drive as default.

For instance, I am having trouble trying to install Kaspersky internet security on my E: drive. The help for this is at this link.

http://support.kaspersky.com/us/9854#block2

But I am a new at this, and I am unable to get this to work. What exactly do I put in the command prompt to install Kaspersky on my E: drive. This is what I have so far.

C:\users\trevor>E:\kis14.0.0.4561abcdEN_4757.exe

This is what Kaspersky suggested, and I am trying to edit to install on the E: drive

INSTALLDIR= – installation directory (the correct syntax in the command prompt is the following: KAV14.0.0.4651.en-US.exe /p "INSTALLDIR=C:\Documents and Settings\Administrator\kav2014")

Thanks.

EDIT: On top of that, any utility or drivers I have that come on a CD for the hardware automatically install on the C drive. How do I quit having this happen. Or is it just recommended that all these programs be install on the SSD?

Thanks.
Edited by tlgriffith - 3/8/14 at 4:14pm
post #2 of 5
If you are using Win7 or Win8, you will probably have to launch the command prompt with elevated privileges. To do so, right click on the cmd prompt icon and choose "Run As Administrator"

Then type the following:
Code:
e:
kis14.0.0.4561abcdEN_4757.exe /p "INSTALLDIR=E:\<your custom installation path>\kis2014"

Couple of things to mention.
Your setup file for Kaspersky (actual installation file) does not need to be on the E drive for this to work. If the installation file is saved on a different drive or saved to a specific folder, you will need to change the first line in the above example.

Also make sure you change
Code:
<your custom installation path>
to the actual directory (on the E drive) where you want the program to be installed. For example, if your installation folder for all programs on the E drive is called "Trevors Programs" the correct command line would be:

kis14.0.0.4561abcdEN_4757.exe /p "INSTALLDIR=E:\Trevors Programs\kis2014"
Edited by DaChosenOne - 3/8/14 at 4:46pm
post #3 of 5
Thread Starter 
I'll give this a try when I get home. To clarify, there are going to be spaces in the command prompt where I see in your example?

Any thoughts on my edit?

Thanks.
post #4 of 5
Quote:
Originally Posted by tlgriffith View Post

I'll give this a try when I get home. To clarify, there are going to be spaces in the command prompt where I see in your example?

Any thoughts on my edit?

Thanks.

Just follow the example that I gave you above carefully & you should be fine. As far as spaces are concerned, please specify which space you are referring to.
post #5 of 5
Quote:
Originally Posted by tlgriffith View Post

I did a reinstall on my Windows 7 because I want to be more specific were my programs go on which drives. I have my SSD as my C: drive with the operating system. I also have a 1tb HDD as my E: drive. Unfortunately most programs I am trying to install do not give me the option as to which drive I prefer to install on and always use the C: drive as default.

For instance, I am having trouble trying to install Kaspersky internet security on my E: drive. The help for this is at this link.

http://support.kaspersky.com/us/9854#block2

But I am a new at this, and I am unable to get this to work. What exactly do I put in the command prompt to install Kaspersky on my E: drive. This is what I have so far.

C:\users\trevor>E:\kis14.0.0.4561abcdEN_4757.exe

This is what Kaspersky suggested, and I am trying to edit to install on the E: drive

INSTALLDIR= – installation directory (the correct syntax in the command prompt is the following: KAV14.0.0.4651.en-US.exe /p "INSTALLDIR=C:\Documents and Settings\Administrator\kav2014")

Thanks.

EDIT: On top of that, any utility or drivers I have that come on a CD for the hardware automatically install on the C drive. How do I quit having this happen. Or is it just recommended that all these programs be install on the SSD?

Thanks.

You can always create folder junctions on the C: drive pointing to a location on your E:. Then your programs will believe they're on C: but really be on the E: drive. Of course if that E: ever goes offline for some some reason you will have some difficulties.

I think I would install all the drivers and hardware-related utilities to the C: drive (directly) for the previously mentioned unexpectedly coming up offline reason. Just less chance of an issue that way.
 
VM Server
(17 items)
 
 
CPUGraphicsRAMHard Drive
Intel Ivy Bridge Core i7-3630QM nVidia GeForce GTX 680M 16GB DDR3 1600MHz Dual Channel Memory (2 SODIMMS) Hard Drive: Serial-ATA II 3GB/s 
Hard DriveOSMonitorPower
Hard Drive: Serial-ATA II 3GB/s Windows 10 Pro x64 17.3" FHD 16:9 (1920x1080) Battery: Smart Li-ion Battery (8-Cell) 
Audio
Sound Blaster Compatible 3D Audio 
CPUMotherboardGraphicsRAM
Intel Core i7 860 Biostar T5 XE Radeon HD 5870 Corsair 16GB  
Hard DriveHard DriveOptical DriveOS
Western Digital hard drive wd1001fals-00e8b0 Maxtor 300GB I don't need no stinking optical drive Microsoft Windows 7 Ultimate x64 
MonitorMonitorKeyboardPower
HP ZR24w 24'' Samsung SyncMaster 24" logitech wireless k360 Seventeam ST-850ZAF 850W ATX 
CaseMouseAudioAudio
Thermaltake V9 Black Edition Logitech G500 Programmable Gaming Mouse FiiO E7 USB DAC and Portable Headphone Amplifier Sennheiser HD555 Professional Headphones 
  hide details  
Reply
 
VM Server
(17 items)
 
 
CPUGraphicsRAMHard Drive
Intel Ivy Bridge Core i7-3630QM nVidia GeForce GTX 680M 16GB DDR3 1600MHz Dual Channel Memory (2 SODIMMS) Hard Drive: Serial-ATA II 3GB/s 
Hard DriveOSMonitorPower
Hard Drive: Serial-ATA II 3GB/s Windows 10 Pro x64 17.3" FHD 16:9 (1920x1080) Battery: Smart Li-ion Battery (8-Cell) 
Audio
Sound Blaster Compatible 3D Audio 
CPUMotherboardGraphicsRAM
Intel Core i7 860 Biostar T5 XE Radeon HD 5870 Corsair 16GB  
Hard DriveHard DriveOptical DriveOS
Western Digital hard drive wd1001fals-00e8b0 Maxtor 300GB I don't need no stinking optical drive Microsoft Windows 7 Ultimate x64 
MonitorMonitorKeyboardPower
HP ZR24w 24'' Samsung SyncMaster 24" logitech wireless k360 Seventeam ST-850ZAF 850W ATX 
CaseMouseAudioAudio
Thermaltake V9 Black Edition Logitech G500 Programmable Gaming Mouse FiiO E7 USB DAC and Portable Headphone Amplifier Sennheiser HD555 Professional Headphones 
  hide details  
Reply
New Posts  All Forums:Forum Nav:
  Return Home
  Back to Forum: Windows
Overclock.net › Forums › Software, Programming and Coding › Operating Systems › Windows › How to properly use the command prompt to manually install specific programs?