cancel
Showing results for 
Search instead for 
Did you mean: 

Changing sapinst_instdir location

Former Member
0 Kudos

Hello All

I am patching EP 6.40 and would like to change the location of sapinst_instdir from C:\Program Files\.. to different drive (C:\ does not have enough space for temporary install files).

Regards

Andriy

Accepted Solutions (0)

Answers (3)

Answers (3)

0 Kudos

Just to validate that you can move to a tmp drive other than C:\program files\...

Create the directory "tmp" where you want it to be: D:\user\sap\<SID>\tmp (where <SID> = your SAP SID)

open a command prompt (cmd)

CD to the desired tmp directory:

😧

cd d:\usr\sap\<SID>\tmp

D:\usr\sap\<SID>\tmp>

Once positioned there execute sapinst from the mapped location:

D:\user\sap\<SID>\tmp> Z:\NW-CE_EHP1_DVDs\51036020_master\DATA_UNITS\CE711_01_IM_WIN_X86_64_ORA_X86_64_ORA\sapinst

The SAPINST GUI will start using the D:\usr\sap\<SID>\tmp location as the sapinst work area.

Former Member
0 Kudos

Simply create a directory on another drive and run sapinst from there. Let's say you have a drive E: and on this drive you create directory "sap_temp". Open a command window and go to the E: drive. Switch to the directory you created and start sapinst.exe from here. The SAP installer will copy the necessary files to this directory and not to the "C:\Program Files\.." anymore

Former Member
0 Kudos

Hi Andriy,

I dont see the problem if you want to delete those installation files...If you already installed your system you wont need them anymore (at least that sometime you want to do it again with the same settings) ... but is not really necessary...

Good luck!

Former Member
0 Kudos

Hi

The problem is that when the system was first installed all the temp installation files where stored on C:\ while the portal was installed on another drive (E:), everything went fine.

Now when I'm trying to patch the installer wants to put the temp files into that folder on C: and there is not enough space. So I want to redirect it to another drive

Regards,

Andriy

Former Member
0 Kudos

Hi Andriy,

Whenever you install something from a mapped drive it will go default to the c:\program files.

Instead you can go and create a directory and from there you run your sapinst. So the dumps will be in that location.

One more thing as far as space constraint is concerned you can definitely clear those files from sapinst_instdir and proceed. You anyway's don't need them now.

No problem in doing so.

Hope it helps you and do reward suitable points.

Former Member
0 Kudos

I put the SARs into E: drive from the start and extracted them there. Still when I run sapinst it created sapinst_instdir ander C:\Program Files\

Found a brute force solution - had network admin expand C: drive

Thanks everyone