This project is read-only.


KJDatabaseInstaller: The default path isn't under the OS drive when C drive isn't OS drive.



  1. Windows 2008 R2 ENU
  2. KJ 10.50.1352.12
  3. Sample 91106
  4. C drive isn't OS drive

Repro Steps:

  1. Run AdventureWorks2008R2_NovemberCTP.exe by default steps.


The default path should be under the OS drive.

Actual Results:

The default path is under the C drive.
Please see the attached file.

file attachments

Closed Nov 17, 2009 at 9:46 AM by libinzhao


wrote Nov 10, 2009 at 1:20 AM

Fixed in build 91109

wrote Nov 10, 2009 at 5:46 AM

Ran installer by default steps, but got a warning about the default path and blocked installer.
Please see the attache file "DefaultSteps_DefaultPath_Warning.jpg".

wrote Nov 13, 2009 at 2:32 AM

I've not been able to repro this.  I set up a VM and installed the OS to the D drive, booted it up, installed SQL Server 2008R2 November CTP, ran the 91110 samples database installer, and it installed with no problems.

wrote Nov 13, 2009 at 4:01 AM

This issue repro on 91112.Before run database installer, please verify the Samples folder doesn't exist under the path "D:\Program Files\Microsoft SQL Server\100\Tools\", this issue will repro.

wrote Nov 13, 2009 at 9:58 AM

1.      Install KJ by script successfully, The samples folder is created during SQL Server installation.
2.      Install KJ manually with default steps successfully, The samples folder isn’t created during SQL Server installation.
1.      Please see the script:
2.      install KJ manually with default steps except the following steps:
·        Select all features on feature selection page in SQL Server 2008 R2 setup wizard.
·        Use default account for "SQL Full-text Filter Daemon Launcher" and "SQL Server Browser", use the same domain user for other SQL Server services.

wrote Nov 14, 2009 at 8:26 AM

Sorry, I can't repro this.  I created a VM with no SQL Server installed, and no tools\samples directory.  I installed KJ PreRelease 10.50.1352.12 using all defaults.  This, in particular installs the client tools.  As part of that, the tools\samples directory is created and a file named sqlserversamples_ENU.htm is placed there.

wrote Nov 16, 2009 at 3:07 AM

The latest Database installer 91112 couldn't create the folder which doesn't exists(example: D:\test\Samples), 
but Database installer 91109 could create the folder and continue.

wrote Nov 17, 2009 at 8:13 AM

This bug is no longer about the original subject.
It is good that the database installer checks for an existing directory.  This is a good check to make sure the user didn't misspell the directory where they want to install the software.  If the user wants to create a new directory, they can do so by clicking the "Browse" button and then clicking the new folder button.
There is an issue when the installer is run on a server installation with no client tools.  In that case, the default path is the correct one, but the directory does not yet exist.  In Database installer 91116 this situation is fixed (the Samples directory is created automatically).
The original issue raised by this bug has been fixed since I originall closed the bug.

wrote Nov 17, 2009 at 9:46 AM

Verified on build 91116.

wrote Nov 25, 2009 at 7:11 AM

wrote Feb 22, 2013 at 3:06 AM

wrote May 16, 2013 at 1:41 PM

wrote Nov 27 at 9:05 PM