What does the installation process do? Version 2.50

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
12 年 前
Hi all,

I was ready to deploy the solution to the server, but I got many errors running the .bat files. Somebody recommended to re-download the source code files once again, apply my theme/changes and re-execute the .bat files.

Before I run the .bat files I opened the solution in VS, built it and Ran it. Of course, it tries to re-install the fresh application once again.

My Questions:
1- What, other than configuring the connection strings to the database, does the installation do?
2- Is there a way to configure the newly downloaded application exactly the same as the original one?
3- Will copy all web.config files be sufficient? What else will I need?

Thanks a lot in advance,

.
12 年 前
The installation also creates tables and stored procedures in the database, and populates the tables with default values (e.g. admin user in Customer table, Countries, States, etc.)

If you've successfully run the install process, it will create 2 files in the /App_Data subfolder: Settings.txt, and InstalledPlugins.txt.  You can copy those two files to another copy of nopC's App_Data subfolder to get that copy working and pointing to the installed DB.  When you deploy the app & copy the db to a host, you'd modify the Settings.txt file with the correct connection string for the host db, and you would not then be prompted to run the install on the host.
12 年 前
New York wrote:
The installation also creates tables and stored procedures in the database, and populates the tables with default values (e.g. admin user in Customer table, Countries, States, etc.)

If you've successfully run the install process, it will create 2 files in the /App_Data subfolder: Settings.txt, and InstalledPlugins.txt.  You can copy those two files to another copy of nopC's App_Data subfolder to get that copy working and pointing to the installed DB.  When you deploy the app & copy the db to a host, you'd modify the Settings.txt file with the correct connection string for the host db, and you would not then be prompted to run the install on the host.


Excellent. Just what I was needing.

Thanks a lot!
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.