Clean Kentico 9 instance

Dražen Janjiček asked on February 24, 2016 14:53

Hi,

I'm new Kentico and I was wondering if there is any way of installing a clean instance of Kentico 9 without any demo sites, modules or what so ever. The only installer I managed to find is the trial installer. Maybe that's the reason why I get stuff I don't want?

Also, what's with all the source code in the wwwroot? Is that really necessary?

Thanks! Drazen

Recent Answers


Brenden Kehren answered on February 24, 2016 15:43

When installing Kentico there are two things you install:
1. Kentico's toolset i.e.: Kentico Installation Manager (KIM), Kentico Import Toolkit (KIT), installation files for any new websites you add, etc. These are used to manage your website(s) from a high level.
2. The option to install a website. If you choose to install, choose a custom installation and choose NOT to install a demo site by selecting a Blank Website (Portal).

Now this being said, you will have 3 main directories in which you have files on your system:
A. C:\Program Files (x86)\Kentico - holds the Kentico files, I mentioned above in #1.
B. C:\ProgramData\KIM - holds all of the upgrade and hotfix info for your websites you manage within the KIM.
C. C:\inetpub\wwwroot - this directory would be the root of your website(s) but I choose to place mine on a different drive so all my projects are off of my OS drive. Typically this is pretty common place.

So to clarify a bit, you will have a bunch of tools which allow you to manage your Kentico websites (A and B above) and then you will have your websites themselves (C above).

Needless to say, the files in your wwwroot directory NEED to be there if you decide you want a website. As I mentioned, you can install your website in any location on your drive, you just have to make sure IIS is pointing to that location and IIS has proper access to the file system.

If you haven't already, check out the Installation Guide. The documentation is very good and should be able to get you going pretty quick. If not, look me up and I'll work with you to get you going.

2 votesVote for this answer Mark as a Correct answer

Dražen Janjiček answered on February 25, 2016 08:03

Hi Brenden,

Thanks for your reply. I have chosen to install as a web application on my favorite location but still I get loads of stuff that I don't need. For instance the entire Visual Studio solution of this implementation is in my wwwroot. Some would say that it's nice maybe for dev purposes but I'd rather like to split any source code from my Kentico installation. It doesn't make much sense to me. I also wonder why somebody would want that on any non-dev environment.

Image Text

Regarding selecting what I need, I cannot remove any sample site templates during the installation.

Image Text

Again, I have a dev license but I installed Kentico through the trial installer as I couldn't find anything else. Is that maybe the reason for all of my findings?

Best regards, Drazen

1 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.