This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Change installation directory

Hi,

I've had no luck finding a way to create a silent installation which installs Sophos Endpoint (v.9.5) to a directory other than the default (C:\Program Files\Sophos).

Using setup.exe along with some of the arguments I'm able to get it to install and update just fine, but I'm attempting to install on machines which are running Faronics Deep Freeze. I'm attempting to install to a thawspace, so that the anti-virus can update successfully and not have all the updates wiped out when the machine is rebooted.

In this case, I would like to install all of the Sophos files to X:\Sophos. I do not see any parameters for the setup.exe which allow for this, or am I just missing it? I've searched through the forums and knowledgebase but am afraid I can't find what I'm looking for.

Thanks in advance for the help.

Chris

:8795


This thread was automatically locked due to age.
Parents
  • HI Bach_tenor

    Welcome to SophosTalk

    As far as I am aware, the MSI Installer will use the default directory specified in the following registry key:
    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion

    On the right is 'ProgramFilesDir'

    If this is set to X:\Sophos it will install to X:\Sophos\Program Files\ instead of the default C:\Program Files

    This is a workaround solution - You could change the registry key to X:\Sophos and then change it back after the install via a script. 

    Important - Ensure you have a backup of the registry as it is very crucial to the system.(Warning about editing Windows registry)

    Also I recommend you test this first before deploying globally.

    Alternatively, if you know VB another article on this forum has a script you can look at:

    Good luck :)

    :8853
Reply
  • HI Bach_tenor

    Welcome to SophosTalk

    As far as I am aware, the MSI Installer will use the default directory specified in the following registry key:
    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion

    On the right is 'ProgramFilesDir'

    If this is set to X:\Sophos it will install to X:\Sophos\Program Files\ instead of the default C:\Program Files

    This is a workaround solution - You could change the registry key to X:\Sophos and then change it back after the install via a script. 

    Important - Ensure you have a backup of the registry as it is very crucial to the system.(Warning about editing Windows registry)

    Also I recommend you test this first before deploying globally.

    Alternatively, if you know VB another article on this forum has a script you can look at:

    Good luck :)

    :8853
Children
No Data