How can I skip installation?

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
13 年 前
I have my database already created on my web server. I have run the deploy.bat file and created my deployed/compiled code.  I just want to be able to throw it out on the web server and skip the install process. I know I need to have the Settings.txt in my App_data directory to tell it where to point for a DB. What else do I need to do to signal it to not run the install by default. Is there a flag somewhere?
13 年 前
u also need to copy the file InstalledPlugins.txt to App_Data
13 年 前
I also do that, but isn't there a flag somewhere that tells it to go to the install pages instead of right to the homepage? I see there is this line of code in the InstallController.cs, but where does that value come from?


if (DataSettingsHelper.DatabaseIsInstalled())
                return RedirectToAction("Index", "Home");
13 年 前
So it looks like just putting the Settings.txt file in the APP_DATA folder should prevent the install from running correct?
13 年 前
Right, if it can't find a connection string in Settings.txt it will redirect to the installation process.
13 年 前
Thank you both for your help!
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.