Hello,
I would like to propose a new feature in the installer. I deploy a lot of SharePoint farms with the AutoSPInstaller and I have missed this feature. Some clients really want the Programs on another drive then the System drive. To make this work I have made changes to the 3.93 version. I have tested it and it seems to be working fine. Hope you can implement this by default in the next release.
Thanks
Stefan
Change to __AutoSPInstallerFunctions.ps1__
Insert from line 251:
```
$installDir = $xmlinput.Configuration.Install.InstallDir
# Set it to the default value if it's not specified in $xmlinput
if ([string]::IsNullOrEmpty($installDir)) {$installDir = "%PROGRAMFILES%\Microsoft Office Servers\"}
```
Change line 264:
```
From: <INSTALLLOCATION Value="%PROGRAMFILES%\Microsoft Office Servers\" />
To: INSTALLLOCATION Value="$installDir" />
```
Change to __AutoSPInstallerInput.xml__
Insert from line 36:
```
<!-- InstallDir is the location to use to store the SharePoint Program files. If you don't specify a value, the default location is used -->
<InstallDir></InstallDir>
```
I would like to propose a new feature in the installer. I deploy a lot of SharePoint farms with the AutoSPInstaller and I have missed this feature. Some clients really want the Programs on another drive then the System drive. To make this work I have made changes to the 3.93 version. I have tested it and it seems to be working fine. Hope you can implement this by default in the next release.
Thanks
Stefan
Change to __AutoSPInstallerFunctions.ps1__
Insert from line 251:
```
$installDir = $xmlinput.Configuration.Install.InstallDir
# Set it to the default value if it's not specified in $xmlinput
if ([string]::IsNullOrEmpty($installDir)) {$installDir = "%PROGRAMFILES%\Microsoft Office Servers\"}
```
Change line 264:
```
From: <INSTALLLOCATION Value="%PROGRAMFILES%\Microsoft Office Servers\" />
To: INSTALLLOCATION Value="$installDir" />
```
Change to __AutoSPInstallerInput.xml__
Insert from line 36:
```
<!-- InstallDir is the location to use to store the SharePoint Program files. If you don't specify a value, the default location is used -->
<InstallDir></InstallDir>
```