How can I skip installation?

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
Hace 13 años
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?
Hace 13 años
u also need to copy the file InstalledPlugins.txt to App_Data
Hace 13 años
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");
Hace 13 años
So it looks like just putting the Settings.txt file in the APP_DATA folder should prevent the install from running correct?
Hace 13 años
Right, if it can't find a connection string in Settings.txt it will redirect to the installation process.
Hace 13 años
Thank you both for your help!
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.