|
@ECHO OFF
REM Change the ROOT_PATH to point to the location where RPT.exe is located
@SET ROOT_PATH = "C:\Program Files\ASP.NET Starter Kits"
REM %1 Target Directory (local path on this local IIS server)
REM %2 Existing web site on Local IIS Server
REM %3 Name of Virtual Directory to create for Reports Application (existing one will be modified)
REM %4 Database Name on local DB server
REM %5 SQL user name for %4 as db owner
REM %6 SQL password for user specified by %5
REM %7 SQL "sa" password
IF x==%1x GOTO USAGE
IF x==%2x GOTO USAGE
IF x==%3x GOTO USAGE
IF x==%4x GOTO USAGE
IF x==%5x GOTO USAGE
IF x==%6x GOTO USAGE
IF x==%7x GOTO USAGE
@cd %ROOT_PATH%
@call RPT.exe INSTALL_OPTION=FULL WEB_FILES_DIR="ReportsWebVBVS" DB_FILES_DIR="SQL Scripts" TARGET_DIR=%1 IIS_SERVER=localhost WEB_SITE=%2 VDIR=%3 DB_CONNECTION=SQL DB_SERVER=localhost DB_NAME=%4 DB_OWNER_LOGIN=%5 DB_OWNER_PWD=%6 SQL_ADMIN_USER=SA SQL_ADMIN_PWD=%7 LOG_FILE=installLog.txt
GOTO END
:USAGE
ECHO *******************************************************************************
ECHO *
ECHO * Please edit the ROOT_PATH variable in LocalFullInstall.bat before running it
ECHO *
ECHO * Usage:
ECHO * LocalFullInstall.bat targetpath site webvdir mobilevdir
ECHO * dbname dbowner dbownerpwd sapwd
ECHO *
ECHO * targetpath - Path where all the web files will be copied
ECHO * site - Existing web site on local IIS server
ECHO * webvdir - Virtual directory name for Reports Web
ECHO * dbname - Database name
ECHO * dbowner - SQL login for dbowner
ECHO * dbownerpwd - dbowner password
ECHO * sapwd - SQL "sa" password
ECHO *
ECHO *******************************************************************************
pause
:END
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.
This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.
A list of licenses authors might use can be found here