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.