How can I skip installation?

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