diff --git a/ReleaseClienti/SP_prod/GMW-RT.SetParameters.xml b/ReleaseClienti/SP_prod/GMW-RT.SetParameters.xml deleted file mode 100644 index 2aefe42f..00000000 --- a/ReleaseClienti/SP_prod/GMW-RT.SetParameters.xml +++ /dev/null @@ -1,4 +0,0 @@ - - - - \ No newline at end of file diff --git a/ReleaseClienti/SP_prod/GMW-RT.SourceManifest.xml b/ReleaseClienti/SP_prod/GMW-RT.SourceManifest.xml deleted file mode 100644 index cc4ab1f6..00000000 --- a/ReleaseClienti/SP_prod/GMW-RT.SourceManifest.xml +++ /dev/null @@ -1,6 +0,0 @@ - - - - - - \ No newline at end of file diff --git a/ReleaseClienti/SP_prod/GMW-RT.deploy-readme.txt b/ReleaseClienti/SP_prod/GMW-RT.deploy-readme.txt deleted file mode 100644 index c15229c6..00000000 --- a/ReleaseClienti/SP_prod/GMW-RT.deploy-readme.txt +++ /dev/null @@ -1,63 +0,0 @@ - -=========================== -Prerequisites : --------------------------- -To deploy this Web package, Web Deploy (msdeploy.exe) must be installed on the computer that runs the .cmd file. For information about how to install Web Deploy, see the following URL: -http://go.microsoft.com/?linkid=9278654 -This batch file requires that the package file "GMW-RT.zip" and optionally provided the parameters file "GMW-RT.SetParameters.xml" in the same folder or destination folder by environment variable. - -=========================== -Usage: --------------------------- -GMW-RT.deploy.cmd [/T|/Y] [/M:ComputerName] [/U:UserName] [/P:Password] [/G:UseTempAgent] [Additional msdeploy.exe flags ...] - - -=========================== -Required Flags: --------------------------- -/T: - Calls msdeploy.exe with the "-whatif" flag, which simulates deployment. This does not deploy the package. Instead, it creates a report of what will happen when you actually deploy the package. -/Y: - Calls msdeploy.exe without the "-whatif" flag, which deploys the package to the current machine or a destination server. Use /Y after you have verified the output that was generated by using the /T flag. - -Note: Do not use /T and /Y in the same command. - -=========================== -Optional Flags: --------------------------- - By Default, this script deploy on the current machine where this script is called with current user credential without agent service. Only pass the following value for advance scenario. - -/M: - If this flag is not specified, the package is installed on the computer where the command is run. The Service URL can be in the following format: - https://:8172/MSDeploy.axd - This format requires that IIS 7 be installed on the destination server and that IIS 7 Web Management Service(WMSvc) and Web Deployment Handler be set up. - The service URL can also be in the following format: - http:///MSDeployAgentService - This format requires administrative rights on the destination server, and it requires that Web Deploy Remote Service (MsDepSvc) be installed on the destination server. IIS 7 does not have to be installed on the destination server. - -/U: -/P: -/G: - Specifies that the package is deployed by creating a temporary listener on the destination server. This requires no special installation on the destination server, but it requires you to be an administrator on that server. The default value of this flag is False. - -/A: - Specifies the type of authentication to be used. The possible values are NTLM and Basic. If the wmsvc provider setting is specified, the default authentication type is Basic; otherwise, the default authentication type is NTLM. - -/L - Specifies that the package is deployed to local IISExpress user instance. - -[Additional msdeploy.exe flags] - The msdeploy.exe command supports additional flags. You can include any of these additional flags in the "$(ProjectName).Deploy.cmd" file, and the flags are passed through to msdeploy.exe during execution. - Alternatively, you can specify additional flags by setting the "_MsDeployAdditionalFlags" environment variable. These settings are used by this batch file. - Note: Any flag value that includes an equal sign (=) must be enclosed in double quotation marks, as shown in the following example, which will skip deploying the databases that are included in the package: - "-skip:objectName=dbFullSql" - -=========================== -Environment-Specific Settings: --------------------------- - - To customize application-specific settings for each deployment environment (for example, the IIS application name, the physical path, and any connection strings), edit the settings in the following file: - "GMW-RT.SetParameters.xml" -=========================== -For more information on this deploy script visit: http://go.microsoft.com/fwlink/?LinkID=183544 - diff --git a/ReleaseClienti/SP_prod/GMW-RT.deploy.cmd b/ReleaseClienti/SP_prod/GMW-RT.deploy.cmd deleted file mode 100644 index 773a65b4..00000000 --- a/ReleaseClienti/SP_prod/GMW-RT.deploy.cmd +++ /dev/null @@ -1,311 +0,0 @@ -@rem --------------------------------------------------------------------------------- -@rem Copyright 2008 Microsoft Corporation. All rights reserved. -@rem This is provided as sample to deploy the package using msdeploy.exe -@rem For information about IIS Web Deploy technology, -@rem please visit http://go.microsoft.com/?linkid=9278654 -@rem Note: This batch file assumes the package and setparametsrs.xml are in the same folder with this file -@rem --------------------------------------------------------------------------------- -@if %_echo%!==! echo off -setlocal -@rem --------------------------------------------------------------------------------- -@rem Please Make sure you have Web Deploy install in your machine. -@rem Alternatively, you can explicit set the MsDeployPath to the location it is on your machine -@rem set MSDeployPath="C:\Program Files (x86)\IIS\Microsoft Web Deploy V3\" -@rem --------------------------------------------------------------------------------- - -@rem --------------------------------------------------------------------------------- -@rem if user does not set MsDeployPath environment variable, we will try to retrieve it from registry. -@rem --------------------------------------------------------------------------------- -if "%MSDeployPath%" == "" ( -for /F "usebackq tokens=1,2,*" %%h in (`reg query "HKLM\SOFTWARE\Microsoft\IIS Extensions\MSDeploy" /s ^| findstr -i "InstallPath"`) do ( -if /I "%%h" == "InstallPath" ( -if /I "%%i" == "REG_SZ" ( -if not "%%j" == "" ( -if "%%~dpj" == "%%j" ( -set MSDeployPath=%%j -)))))) - -@rem ------------------------------------------ - -@rem ------------------------------------------ - - -if not exist "%MSDeployPath%msdeploy.exe" ( -echo. msdeploy.exe is not found on this machine. Please install Web Deploy before execute the script. -echo. Please visit http://go.microsoft.com/?linkid=9278654 -goto :usage -) - -set RootPath=%~dp0 -if /I "%_DeploySetParametersFile%" == "" ( -set _DeploySetParametersFile=%RootPath%GMW-RT.SetParameters.xml -) - -@rem ------------------------------------------ - -@rem ------------------------------------------ - - -set _ArgTestDeploy= -set _ArgDestinationType=auto -set _ArgComputerNameWithQuote="" -set _ArgUserNameWithQuote="" -set _ArgPasswordWithQuote="" -set _ArgEncryptPasswordWithQuote="" -set _ArgIncludeAclsWithQuote="False" -set _ArgAuthTypeWithQuote="" -set _ArgtempAgentWithQuote="" -set _ArgLocalIIS= -set _ArgLocalIISVersion= -set _HaveArgMSDeployAdditonalFlags= - - -@rem --------------------------------------------------------------------------------- -@rem Simple Parse the arguments -@rem --------------------------------------------------------------------------------- -:NextArgument -set _ArgCurrent=%~1 -set _ArgFlagFirst=%_ArgCurrent:~0,1% -set _ArgFlag=%_ArgCurrent:~0,3% -set _ArgValue=%_ArgCurrent:~3% - -if /I "%_ArgFlag%" == "" goto :GetStarted -if /I "%_ArgFlag%" == "~0,3" goto :GetStarted -if /I "%_ArgFlag%" == "/T" set _ArgTestDeploy=true&goto :ArgumentOK -if /I "%_ArgFlag%" == "/Y" set _ArgTestDeploy=false&goto :ArgumentOK -if /I "%_ArgFlag%" == "/L" set _ArgLocalIIS=true&goto :ArgumentOK - -if /I "%_ArgFlag%" == "/M:" set _ArgComputerNameWithQuote="%_ArgValue%"&goto :ArgumentOK -if /I "%_ArgFlag%" == "/U:" set _ArgUserNameWithQuote="%_ArgValue%"&goto :ArgumentOK -if /I "%_ArgFlag%" == "/P:" set _ArgPasswordWithQuote="%_ArgValue%"&goto :ArgumentOK -if /I "%_ArgFlag%" == "/E:" set _ArgEncryptPasswordWithQuote="%_ArgValue%"&goto :ArgumentOK -if /I "%_ArgFlag%" == "/I:" set _ArgIncludeAclsWithQuote="%_ArgValue%"&goto :ArgumentOK -if /I "%_ArgFlag%" == "/A:" set _ArgAuthTypeWithQuote="%_ArgValue%"&goto :ArgumentOK -if /I "%_ArgFlag%" == "/G:" set _ArgtempAgentWithQuote="%_ArgValue%"&goto :ArgumentOK - -@rem Any addition flags, pass through to the msdeploy -if "%_HaveArgMSDeployAdditonalFlags%" == "" ( -goto :Assign_ArgMsDeployAdditionalFlags -) -set _ArgMsDeployAdditionalFlags=%_ArgMsDeployAdditionalFlags:&=^&% %_ArgCurrent:&=^&% -set _HaveArgMSDeployAdditonalFlags=1 -goto :ArgumentOK - - -:Assign_ArgMsDeployAdditionalFlags -set _ArgMsDeployAdditionalFlags=%_ArgCurrent:&=^&% -set _HaveArgMSDeployAdditonalFlags=1 -goto :ArgumentOK - -:ArgumentOK -shift -goto :NextArgument - -:GetStarted -@rem ------------------------------------------ - -@rem ------------------------------------------ -if /I "%_ArgTestDeploy%" == "" goto :usage -if /I "%_ArgDestinationType%" == "" goto :usage - -set _Destination=%_ArgDestinationType% -if not %_ArgComputerNameWithQuote% == "" set _Destination=%_Destination%,computerName=%_ArgComputerNameWithQuote% -if not %_ArgUserNameWithQuote% == "" set _Destination=%_Destination%,userName=%_ArgUserNameWithQuote% -if not %_ArgPasswordWithQuote% == "" set _Destination=%_Destination%,password=%_ArgPasswordWithQuote% -if not %_ArgAuthTypeWithQuote% == "" set _Destination=%_Destination%,authtype=%_ArgAuthTypeWithQuote% -if not %_ArgEncryptPasswordWithQuote% == "" set _Destination=%_Destination%,encryptPassword=%_ArgEncryptPasswordWithQuote% -if not %_ArgIncludeAclsWithQuote% == "" set _Destination=%_Destination%,includeAcls=%_ArgIncludeAclsWithQuote% -if not %_ArgtempAgentWithQuote% == "" set _Destination=%_Destination%,tempAgent=%_ArgtempAgentWithQuote% - -@rem ------------------------------------------ - -@rem ------------------------------------------ - - -@rem --------------------------------------------------------------------------------- -@rem add -whatif when -T is specified -@rem --------------------------------------------------------------------------------- -if /I "%_ArgTestDeploy%" NEQ "false" ( -set _MsDeployAdditionalFlags=-whatif %_MsDeployAdditionalFlags% -) - -@rem ------------------------------------------ - -@rem ------------------------------------------ - -@rem --------------------------------------------------------------------------------- -@rem add flags for IISExpress when -L is specified -@rem --------------------------------------------------------------------------------- - -if /I "%_ArgLocalIIS%" == "true" ( -call :SetIISExpressArguments -) -if /I "%_ArgLocalIIS%" == "true" ( -if not exist "%IISExpressPath%%IISExpressManifest%" ( -echo. IISExpress is not found on this machine. Please install through Web Platform Installer before execute the script. -echo. or remove /L flag -echo. Please visit http://go.microsoft.com/?linkid=9278654 -goto :usage -) -if not exist "%IISExpressUserProfileDirectory%" ( -echo. %IISExpressUserProfileDirectory% is not exists -echo. IISExpress is found on the machine. But the user have run IISExpress at least once. -echo. Please visit http://go.microsoft.com/?linkid=9278654 for detail -goto :usage -) - -set _MsDeployAdditionalFlags=%_MsDeployAdditionalFlags% -appHostConfigDir:%IISExpressUserProfileDirectory% -WebServerDir:"%IISExpressPath%" -webServerManifest:"%IISExpressManifest%" -) - -@rem --------------------------------------------------------------------------------- -@rem check the existence of the package file -@rem --------------------------------------------------------------------------------- -if not exist "%RootPath%GMW-RT.zip" ( -echo "%RootPath%GMW-RT.zip" does not exist. -echo This batch file relies on this deploy source file^(s^) in the same folder. -goto :usage -) - -@rem --------------------------------------------- - -@rem --------------------------------------------- - -@rem --------------------------------------------------------------------------------- -@rem Execute msdeploy.exe command line -@rem --------------------------------------------------------------------------------- -call :CheckParameterFile -echo. Start executing msdeploy.exe -echo ------------------------------------------------------- -if not exist "%_DeploySetParametersFile%" ( -set _MSDeployCommandline="%MSDeployPath%msdeploy.exe" -source:package='%RootPath%GMW-RT.zip' -dest:%_Destination% -verb:sync -disableLink:AppPoolExtension -disableLink:ContentExtension -disableLink:CertificateExtension -skip:objectname='dirPath',absolutepath='obj\\Release\\Package\\PackageTmp\\App_Data$' -skip:objectname='dirPath',absolutepath='Default\ Web\ Site/GMW-RT\\App_Data$' -) else ( -set _MSDeployCommandline="%MSDeployPath%msdeploy.exe" -source:package='%RootPath%GMW-RT.zip' -dest:%_Destination% -verb:sync -disableLink:AppPoolExtension -disableLink:ContentExtension -disableLink:CertificateExtension -skip:objectname='dirPath',absolutepath='obj\\Release\\Package\\PackageTmp\\App_Data$' -skip:objectname='dirPath',absolutepath='Default\ Web\ Site/GMW-RT\\App_Data$' -setParamFile:"%_DeploySetParametersFile%" -) - -if "%_HaveArgMSDeployAdditonalFlags%" == "" ( -goto :MSDeployWithOutArgMsDeployAdditionalFlag -) -goto :MSDeployWithArgMsDeployAdditionalFlag -goto :eof - -@rem --------------------------------------------------------------------------------- -@rem MSDeployWithArgMsDeployAdditionalFlag -@rem --------------------------------------------------------------------------------- -:MSDeployWithArgMsDeployAdditionalFlag -echo. %_MSDeployCommandline% %_MsDeployAdditionalFlags% %_ArgMsDeployAdditionalFlags:&=^&% -%_MSDeployCommandline% %_MsDeployAdditionalFlags% %_ArgMsDeployAdditionalFlags:&=^&% -goto :eof - -@rem --------------------------------------------------------------------------------- -@rem MSDeployWithOutArgMsDeployAdditionalFlag -@rem --------------------------------------------------------------------------------- -:MSDeployWithOutArgMsDeployAdditionalFlag -echo. %_MSDeployCommandline% %_MsDeployAdditionalFlags% -%_MSDeployCommandline% %_MsDeployAdditionalFlags% -goto :eof - -@rem --------------------------------------------------------------------------------- -@rem Find and set IISExpress argument. -@rem --------------------------------------------------------------------------------- -:SetIISExpressArguments - -if "%IISExpressPath%" == "" ( -for /F "usebackq tokens=1,2,*" %%h in (`reg query "HKLM\SOFTWARE\Microsoft\IISExpress" /s ^| findstr -i "InstallPath"`) do ( -if /I "%%h" == "InstallPath" ( -if /I "%%i" == "REG_SZ" ( -if not "%%j" == "" ( -if "%%~dpj" == "%%j" ( -set IISExpressPath=%%j -)))))) - -if "%IISExpressPath%" == "" ( -for /F "usebackq tokens=1,2,*" %%h in (`reg query "HKLM\SOFTWARE\Wow6432Node\Microsoft\IISExpress" /s ^| findstr -i "InstallPath"`) do ( -if /I "%%h" == "InstallPath" ( -if /I "%%i" == "REG_SZ" ( -if not "%%j" == "" ( -if "%%~dpj" == "%%j" ( -set IISExpressPath=%%j -)))))) - -if "%PersonalDocumentFolder%" == "" ( -for /F "usebackq tokens=2*" %%i in (`reg query "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders" /v Personal`) do ( -set PersonalDocumentFolder=%%j -)) - -if "%IISExpressManifest%" == "" ( -for /F "usebackq tokens=1,2,*" %%h in (`reg query "HKLM\SOFTWARE\Microsoft\IISExpress" /s ^| findstr -i "Manifest"`) do ( -if /I "%%h" == "Manifest" ( -if /I "%%i" == "REG_SZ" ( -if not "%%j" == "" ( -set IISExpressManifest=%%j -))))) - -if "%IISExpressManifest%" == "" ( -for /F "usebackq tokens=1,2,*" %%h in (`reg query "HKLM\SOFTWARE\Wow6432Node\Microsoft\IISExpress" /s ^| findstr -i "Manifest"`) do ( -if /I "%%h" == "Manifest" ( -if /I "%%i" == "REG_SZ" ( -if not "%%j" == "" ( -set IISExpressManifest=%%j -))))) - -set IISExpressUserProfileDirectory="%PersonalDocumentFolder%\IISExpress\config" - -@rem --------------------------------------------- - -@rem --------------------------------------------- - -goto :eof - -@rem --------------------------------------------------------------------------------- -@rem CheckParameterFile -- check if the package's setparamters.xml exists or not -@rem --------------------------------------------------------------------------------- -:CheckParameterFile -if exist "%_DeploySetParametersFile%" ( -echo SetParameters from: -echo "%_DeploySetParametersFile%" -echo You can change IIS Application Name, Physical path, connectionString -echo or other deploy parameters in the above file. -) else ( -echo SetParamterFiles does not exist in package location. -echo Use package embedded defaultValue to deploy. -) -echo ------------------------------------------------------- -goto :eof - -@rem --------------------------------------------------------------------------------- -@rem Usage -@rem --------------------------------------------------------------------------------- -:usage -echo ========================================================= -if not exist "%RootPath%GMW-RT.deploy-readme.txt" ( -echo Usage:%~nx0 [/T^|/Y] [/M:ComputerName] [/U:userName] [/P:password] [/G:tempAgent] [additional msdeploy flags ...] -echo Required flags: -echo /T Calls msdeploy.exe with the "-whatif" flag, which simulates deployment. -echo /Y Calls msdeploy.exe without the "-whatif" flag, which deploys the package to the current machine or destination server -echo Optional flags: -echo. By Default, this script deploy to the current machine where this script is invoked which will use current user credential without tempAgent. -echo. Only pass these arguments when in advance scenario. -echo /M: Msdeploy destination name of remote computer or proxy-URL. Default is local. -echo /U: Msdeploy destination user name. -echo /P: Msdeploy destination password. -echo /G: Msdeploy destination tempAgent. True or False. Default is false. -echo /A: specifies the type of authentication to be used. The possible values are NTLM and Basic. If the wmsvc provider setting is specified, the default authentication type is Basic -otherwise, the default authentication type is NTLM. -echo /L: Deploy to Local IISExpress User Instance. - -echo.[additional msdeploy flags]: note: " is required for passing = through command line. -echo "-skip:objectName=setAcl" "-skip:objectName=dbFullSql" -echo.Alternative environment variable _MsDeployAdditionalFlags is also honored. -echo. -echo. Please make sure MSDeploy is installed in the box http://go.microsoft.com/?linkid=9278654 -echo. -echo In addition, you can change IIS Application Name, Physical path, -echo connectionString and other deploy parameters in the following file: -echo "%_DeploySetParametersFile%" -echo. -echo For more information about this batch file, visit http://go.microsoft.com/fwlink/?LinkID=183544 -) else ( -start notepad "%RootPath%GMW-RT.deploy-readme.txt" -) -echo ========================================================= -goto :eof diff --git a/ReleaseClienti/SP_prod/GMW-RT.zip b/ReleaseClienti/SP_prod/GMW-RT.zip deleted file mode 100644 index 901cc394..00000000 Binary files a/ReleaseClienti/SP_prod/GMW-RT.zip and /dev/null differ diff --git a/ReleaseClienti/SP_prod/GMW-UT.SetParameters.xml b/ReleaseClienti/SP_prod/GMW-UT.SetParameters.xml deleted file mode 100644 index 141e330d..00000000 --- a/ReleaseClienti/SP_prod/GMW-UT.SetParameters.xml +++ /dev/null @@ -1,5 +0,0 @@ - - - - - \ No newline at end of file diff --git a/ReleaseClienti/SP_prod/GMW-UT.SourceManifest.xml b/ReleaseClienti/SP_prod/GMW-UT.SourceManifest.xml deleted file mode 100644 index c5eab709..00000000 --- a/ReleaseClienti/SP_prod/GMW-UT.SourceManifest.xml +++ /dev/null @@ -1,6 +0,0 @@ - - - - - - \ No newline at end of file diff --git a/ReleaseClienti/SP_prod/GMW-UT.deploy-readme.txt b/ReleaseClienti/SP_prod/GMW-UT.deploy-readme.txt deleted file mode 100644 index 4b532bca..00000000 --- a/ReleaseClienti/SP_prod/GMW-UT.deploy-readme.txt +++ /dev/null @@ -1,63 +0,0 @@ - -=========================== -Prerequisites : --------------------------- -To deploy this Web package, Web Deploy (msdeploy.exe) must be installed on the computer that runs the .cmd file. For information about how to install Web Deploy, see the following URL: -http://go.microsoft.com/?linkid=9278654 -This batch file requires that the package file "GMW-UT.zip" and optionally provided the parameters file "GMW-UT.SetParameters.xml" in the same folder or destination folder by environment variable. - -=========================== -Usage: --------------------------- -GMW-UT.deploy.cmd [/T|/Y] [/M:ComputerName] [/U:UserName] [/P:Password] [/G:UseTempAgent] [Additional msdeploy.exe flags ...] - - -=========================== -Required Flags: --------------------------- -/T: - Calls msdeploy.exe with the "-whatif" flag, which simulates deployment. This does not deploy the package. Instead, it creates a report of what will happen when you actually deploy the package. -/Y: - Calls msdeploy.exe without the "-whatif" flag, which deploys the package to the current machine or a destination server. Use /Y after you have verified the output that was generated by using the /T flag. - -Note: Do not use /T and /Y in the same command. - -=========================== -Optional Flags: --------------------------- - By Default, this script deploy on the current machine where this script is called with current user credential without agent service. Only pass the following value for advance scenario. - -/M: - If this flag is not specified, the package is installed on the computer where the command is run. The Service URL can be in the following format: - https://:8172/MSDeploy.axd - This format requires that IIS 7 be installed on the destination server and that IIS 7 Web Management Service(WMSvc) and Web Deployment Handler be set up. - The service URL can also be in the following format: - http:///MSDeployAgentService - This format requires administrative rights on the destination server, and it requires that Web Deploy Remote Service (MsDepSvc) be installed on the destination server. IIS 7 does not have to be installed on the destination server. - -/U: -/P: -/G: - Specifies that the package is deployed by creating a temporary listener on the destination server. This requires no special installation on the destination server, but it requires you to be an administrator on that server. The default value of this flag is False. - -/A: - Specifies the type of authentication to be used. The possible values are NTLM and Basic. If the wmsvc provider setting is specified, the default authentication type is Basic; otherwise, the default authentication type is NTLM. - -/L - Specifies that the package is deployed to local IISExpress user instance. - -[Additional msdeploy.exe flags] - The msdeploy.exe command supports additional flags. You can include any of these additional flags in the "$(ProjectName).Deploy.cmd" file, and the flags are passed through to msdeploy.exe during execution. - Alternatively, you can specify additional flags by setting the "_MsDeployAdditionalFlags" environment variable. These settings are used by this batch file. - Note: Any flag value that includes an equal sign (=) must be enclosed in double quotation marks, as shown in the following example, which will skip deploying the databases that are included in the package: - "-skip:objectName=dbFullSql" - -=========================== -Environment-Specific Settings: --------------------------- - - To customize application-specific settings for each deployment environment (for example, the IIS application name, the physical path, and any connection strings), edit the settings in the following file: - "GMW-UT.SetParameters.xml" -=========================== -For more information on this deploy script visit: http://go.microsoft.com/fwlink/?LinkID=183544 - diff --git a/ReleaseClienti/SP_prod/GMW-UT.deploy.cmd b/ReleaseClienti/SP_prod/GMW-UT.deploy.cmd deleted file mode 100644 index e046d9b2..00000000 --- a/ReleaseClienti/SP_prod/GMW-UT.deploy.cmd +++ /dev/null @@ -1,311 +0,0 @@ -@rem --------------------------------------------------------------------------------- -@rem Copyright 2008 Microsoft Corporation. All rights reserved. -@rem This is provided as sample to deploy the package using msdeploy.exe -@rem For information about IIS Web Deploy technology, -@rem please visit http://go.microsoft.com/?linkid=9278654 -@rem Note: This batch file assumes the package and setparametsrs.xml are in the same folder with this file -@rem --------------------------------------------------------------------------------- -@if %_echo%!==! echo off -setlocal -@rem --------------------------------------------------------------------------------- -@rem Please Make sure you have Web Deploy install in your machine. -@rem Alternatively, you can explicit set the MsDeployPath to the location it is on your machine -@rem set MSDeployPath="C:\Program Files (x86)\IIS\Microsoft Web Deploy V3\" -@rem --------------------------------------------------------------------------------- - -@rem --------------------------------------------------------------------------------- -@rem if user does not set MsDeployPath environment variable, we will try to retrieve it from registry. -@rem --------------------------------------------------------------------------------- -if "%MSDeployPath%" == "" ( -for /F "usebackq tokens=1,2,*" %%h in (`reg query "HKLM\SOFTWARE\Microsoft\IIS Extensions\MSDeploy" /s ^| findstr -i "InstallPath"`) do ( -if /I "%%h" == "InstallPath" ( -if /I "%%i" == "REG_SZ" ( -if not "%%j" == "" ( -if "%%~dpj" == "%%j" ( -set MSDeployPath=%%j -)))))) - -@rem ------------------------------------------ - -@rem ------------------------------------------ - - -if not exist "%MSDeployPath%msdeploy.exe" ( -echo. msdeploy.exe is not found on this machine. Please install Web Deploy before execute the script. -echo. Please visit http://go.microsoft.com/?linkid=9278654 -goto :usage -) - -set RootPath=%~dp0 -if /I "%_DeploySetParametersFile%" == "" ( -set _DeploySetParametersFile=%RootPath%GMW-UT.SetParameters.xml -) - -@rem ------------------------------------------ - -@rem ------------------------------------------ - - -set _ArgTestDeploy= -set _ArgDestinationType=auto -set _ArgComputerNameWithQuote="" -set _ArgUserNameWithQuote="" -set _ArgPasswordWithQuote="" -set _ArgEncryptPasswordWithQuote="" -set _ArgIncludeAclsWithQuote="False" -set _ArgAuthTypeWithQuote="" -set _ArgtempAgentWithQuote="" -set _ArgLocalIIS= -set _ArgLocalIISVersion= -set _HaveArgMSDeployAdditonalFlags= - - -@rem --------------------------------------------------------------------------------- -@rem Simple Parse the arguments -@rem --------------------------------------------------------------------------------- -:NextArgument -set _ArgCurrent=%~1 -set _ArgFlagFirst=%_ArgCurrent:~0,1% -set _ArgFlag=%_ArgCurrent:~0,3% -set _ArgValue=%_ArgCurrent:~3% - -if /I "%_ArgFlag%" == "" goto :GetStarted -if /I "%_ArgFlag%" == "~0,3" goto :GetStarted -if /I "%_ArgFlag%" == "/T" set _ArgTestDeploy=true&goto :ArgumentOK -if /I "%_ArgFlag%" == "/Y" set _ArgTestDeploy=false&goto :ArgumentOK -if /I "%_ArgFlag%" == "/L" set _ArgLocalIIS=true&goto :ArgumentOK - -if /I "%_ArgFlag%" == "/M:" set _ArgComputerNameWithQuote="%_ArgValue%"&goto :ArgumentOK -if /I "%_ArgFlag%" == "/U:" set _ArgUserNameWithQuote="%_ArgValue%"&goto :ArgumentOK -if /I "%_ArgFlag%" == "/P:" set _ArgPasswordWithQuote="%_ArgValue%"&goto :ArgumentOK -if /I "%_ArgFlag%" == "/E:" set _ArgEncryptPasswordWithQuote="%_ArgValue%"&goto :ArgumentOK -if /I "%_ArgFlag%" == "/I:" set _ArgIncludeAclsWithQuote="%_ArgValue%"&goto :ArgumentOK -if /I "%_ArgFlag%" == "/A:" set _ArgAuthTypeWithQuote="%_ArgValue%"&goto :ArgumentOK -if /I "%_ArgFlag%" == "/G:" set _ArgtempAgentWithQuote="%_ArgValue%"&goto :ArgumentOK - -@rem Any addition flags, pass through to the msdeploy -if "%_HaveArgMSDeployAdditonalFlags%" == "" ( -goto :Assign_ArgMsDeployAdditionalFlags -) -set _ArgMsDeployAdditionalFlags=%_ArgMsDeployAdditionalFlags:&=^&% %_ArgCurrent:&=^&% -set _HaveArgMSDeployAdditonalFlags=1 -goto :ArgumentOK - - -:Assign_ArgMsDeployAdditionalFlags -set _ArgMsDeployAdditionalFlags=%_ArgCurrent:&=^&% -set _HaveArgMSDeployAdditonalFlags=1 -goto :ArgumentOK - -:ArgumentOK -shift -goto :NextArgument - -:GetStarted -@rem ------------------------------------------ - -@rem ------------------------------------------ -if /I "%_ArgTestDeploy%" == "" goto :usage -if /I "%_ArgDestinationType%" == "" goto :usage - -set _Destination=%_ArgDestinationType% -if not %_ArgComputerNameWithQuote% == "" set _Destination=%_Destination%,computerName=%_ArgComputerNameWithQuote% -if not %_ArgUserNameWithQuote% == "" set _Destination=%_Destination%,userName=%_ArgUserNameWithQuote% -if not %_ArgPasswordWithQuote% == "" set _Destination=%_Destination%,password=%_ArgPasswordWithQuote% -if not %_ArgAuthTypeWithQuote% == "" set _Destination=%_Destination%,authtype=%_ArgAuthTypeWithQuote% -if not %_ArgEncryptPasswordWithQuote% == "" set _Destination=%_Destination%,encryptPassword=%_ArgEncryptPasswordWithQuote% -if not %_ArgIncludeAclsWithQuote% == "" set _Destination=%_Destination%,includeAcls=%_ArgIncludeAclsWithQuote% -if not %_ArgtempAgentWithQuote% == "" set _Destination=%_Destination%,tempAgent=%_ArgtempAgentWithQuote% - -@rem ------------------------------------------ - -@rem ------------------------------------------ - - -@rem --------------------------------------------------------------------------------- -@rem add -whatif when -T is specified -@rem --------------------------------------------------------------------------------- -if /I "%_ArgTestDeploy%" NEQ "false" ( -set _MsDeployAdditionalFlags=-whatif %_MsDeployAdditionalFlags% -) - -@rem ------------------------------------------ - -@rem ------------------------------------------ - -@rem --------------------------------------------------------------------------------- -@rem add flags for IISExpress when -L is specified -@rem --------------------------------------------------------------------------------- - -if /I "%_ArgLocalIIS%" == "true" ( -call :SetIISExpressArguments -) -if /I "%_ArgLocalIIS%" == "true" ( -if not exist "%IISExpressPath%%IISExpressManifest%" ( -echo. IISExpress is not found on this machine. Please install through Web Platform Installer before execute the script. -echo. or remove /L flag -echo. Please visit http://go.microsoft.com/?linkid=9278654 -goto :usage -) -if not exist "%IISExpressUserProfileDirectory%" ( -echo. %IISExpressUserProfileDirectory% is not exists -echo. IISExpress is found on the machine. But the user have run IISExpress at least once. -echo. Please visit http://go.microsoft.com/?linkid=9278654 for detail -goto :usage -) - -set _MsDeployAdditionalFlags=%_MsDeployAdditionalFlags% -appHostConfigDir:%IISExpressUserProfileDirectory% -WebServerDir:"%IISExpressPath%" -webServerManifest:"%IISExpressManifest%" -) - -@rem --------------------------------------------------------------------------------- -@rem check the existence of the package file -@rem --------------------------------------------------------------------------------- -if not exist "%RootPath%GMW-UT.zip" ( -echo "%RootPath%GMW-UT.zip" does not exist. -echo This batch file relies on this deploy source file^(s^) in the same folder. -goto :usage -) - -@rem --------------------------------------------- - -@rem --------------------------------------------- - -@rem --------------------------------------------------------------------------------- -@rem Execute msdeploy.exe command line -@rem --------------------------------------------------------------------------------- -call :CheckParameterFile -echo. Start executing msdeploy.exe -echo ------------------------------------------------------- -if not exist "%_DeploySetParametersFile%" ( -set _MSDeployCommandline="%MSDeployPath%msdeploy.exe" -source:package='%RootPath%GMW-UT.zip' -dest:%_Destination% -verb:sync -disableLink:AppPoolExtension -disableLink:ContentExtension -disableLink:CertificateExtension -skip:objectname='dirPath',absolutepath='obj\\SP_prod\\Package\\PackageTmp\\App_Data$' -skip:objectname='dirPath',absolutepath='Default\ Web\ Site/GMW-UT\\App_Data$' -) else ( -set _MSDeployCommandline="%MSDeployPath%msdeploy.exe" -source:package='%RootPath%GMW-UT.zip' -dest:%_Destination% -verb:sync -disableLink:AppPoolExtension -disableLink:ContentExtension -disableLink:CertificateExtension -skip:objectname='dirPath',absolutepath='obj\\SP_prod\\Package\\PackageTmp\\App_Data$' -skip:objectname='dirPath',absolutepath='Default\ Web\ Site/GMW-UT\\App_Data$' -setParamFile:"%_DeploySetParametersFile%" -) - -if "%_HaveArgMSDeployAdditonalFlags%" == "" ( -goto :MSDeployWithOutArgMsDeployAdditionalFlag -) -goto :MSDeployWithArgMsDeployAdditionalFlag -goto :eof - -@rem --------------------------------------------------------------------------------- -@rem MSDeployWithArgMsDeployAdditionalFlag -@rem --------------------------------------------------------------------------------- -:MSDeployWithArgMsDeployAdditionalFlag -echo. %_MSDeployCommandline% %_MsDeployAdditionalFlags% %_ArgMsDeployAdditionalFlags:&=^&% -%_MSDeployCommandline% %_MsDeployAdditionalFlags% %_ArgMsDeployAdditionalFlags:&=^&% -goto :eof - -@rem --------------------------------------------------------------------------------- -@rem MSDeployWithOutArgMsDeployAdditionalFlag -@rem --------------------------------------------------------------------------------- -:MSDeployWithOutArgMsDeployAdditionalFlag -echo. %_MSDeployCommandline% %_MsDeployAdditionalFlags% -%_MSDeployCommandline% %_MsDeployAdditionalFlags% -goto :eof - -@rem --------------------------------------------------------------------------------- -@rem Find and set IISExpress argument. -@rem --------------------------------------------------------------------------------- -:SetIISExpressArguments - -if "%IISExpressPath%" == "" ( -for /F "usebackq tokens=1,2,*" %%h in (`reg query "HKLM\SOFTWARE\Microsoft\IISExpress" /s ^| findstr -i "InstallPath"`) do ( -if /I "%%h" == "InstallPath" ( -if /I "%%i" == "REG_SZ" ( -if not "%%j" == "" ( -if "%%~dpj" == "%%j" ( -set IISExpressPath=%%j -)))))) - -if "%IISExpressPath%" == "" ( -for /F "usebackq tokens=1,2,*" %%h in (`reg query "HKLM\SOFTWARE\Wow6432Node\Microsoft\IISExpress" /s ^| findstr -i "InstallPath"`) do ( -if /I "%%h" == "InstallPath" ( -if /I "%%i" == "REG_SZ" ( -if not "%%j" == "" ( -if "%%~dpj" == "%%j" ( -set IISExpressPath=%%j -)))))) - -if "%PersonalDocumentFolder%" == "" ( -for /F "usebackq tokens=2*" %%i in (`reg query "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders" /v Personal`) do ( -set PersonalDocumentFolder=%%j -)) - -if "%IISExpressManifest%" == "" ( -for /F "usebackq tokens=1,2,*" %%h in (`reg query "HKLM\SOFTWARE\Microsoft\IISExpress" /s ^| findstr -i "Manifest"`) do ( -if /I "%%h" == "Manifest" ( -if /I "%%i" == "REG_SZ" ( -if not "%%j" == "" ( -set IISExpressManifest=%%j -))))) - -if "%IISExpressManifest%" == "" ( -for /F "usebackq tokens=1,2,*" %%h in (`reg query "HKLM\SOFTWARE\Wow6432Node\Microsoft\IISExpress" /s ^| findstr -i "Manifest"`) do ( -if /I "%%h" == "Manifest" ( -if /I "%%i" == "REG_SZ" ( -if not "%%j" == "" ( -set IISExpressManifest=%%j -))))) - -set IISExpressUserProfileDirectory="%PersonalDocumentFolder%\IISExpress\config" - -@rem --------------------------------------------- - -@rem --------------------------------------------- - -goto :eof - -@rem --------------------------------------------------------------------------------- -@rem CheckParameterFile -- check if the package's setparamters.xml exists or not -@rem --------------------------------------------------------------------------------- -:CheckParameterFile -if exist "%_DeploySetParametersFile%" ( -echo SetParameters from: -echo "%_DeploySetParametersFile%" -echo You can change IIS Application Name, Physical path, connectionString -echo or other deploy parameters in the above file. -) else ( -echo SetParamterFiles does not exist in package location. -echo Use package embedded defaultValue to deploy. -) -echo ------------------------------------------------------- -goto :eof - -@rem --------------------------------------------------------------------------------- -@rem Usage -@rem --------------------------------------------------------------------------------- -:usage -echo ========================================================= -if not exist "%RootPath%GMW-UT.deploy-readme.txt" ( -echo Usage:%~nx0 [/T^|/Y] [/M:ComputerName] [/U:userName] [/P:password] [/G:tempAgent] [additional msdeploy flags ...] -echo Required flags: -echo /T Calls msdeploy.exe with the "-whatif" flag, which simulates deployment. -echo /Y Calls msdeploy.exe without the "-whatif" flag, which deploys the package to the current machine or destination server -echo Optional flags: -echo. By Default, this script deploy to the current machine where this script is invoked which will use current user credential without tempAgent. -echo. Only pass these arguments when in advance scenario. -echo /M: Msdeploy destination name of remote computer or proxy-URL. Default is local. -echo /U: Msdeploy destination user name. -echo /P: Msdeploy destination password. -echo /G: Msdeploy destination tempAgent. True or False. Default is false. -echo /A: specifies the type of authentication to be used. The possible values are NTLM and Basic. If the wmsvc provider setting is specified, the default authentication type is Basic -otherwise, the default authentication type is NTLM. -echo /L: Deploy to Local IISExpress User Instance. - -echo.[additional msdeploy flags]: note: " is required for passing = through command line. -echo "-skip:objectName=setAcl" "-skip:objectName=dbFullSql" -echo.Alternative environment variable _MsDeployAdditionalFlags is also honored. -echo. -echo. Please make sure MSDeploy is installed in the box http://go.microsoft.com/?linkid=9278654 -echo. -echo In addition, you can change IIS Application Name, Physical path, -echo connectionString and other deploy parameters in the following file: -echo "%_DeploySetParametersFile%" -echo. -echo For more information about this batch file, visit http://go.microsoft.com/fwlink/?LinkID=183544 -) else ( -start notepad "%RootPath%GMW-UT.deploy-readme.txt" -) -echo ========================================================= -goto :eof diff --git a/ReleaseClienti/SP_prod/GMW-UT.zip b/ReleaseClienti/SP_prod/GMW-UT.zip deleted file mode 100644 index cbb46763..00000000 Binary files a/ReleaseClienti/SP_prod/GMW-UT.zip and /dev/null differ diff --git a/ReleaseClienti/SP_prod/GMW.SetParameters.xml b/ReleaseClienti/SP_prod/GMW.SetParameters.xml deleted file mode 100644 index e2c47e40..00000000 --- a/ReleaseClienti/SP_prod/GMW.SetParameters.xml +++ /dev/null @@ -1,5 +0,0 @@ - - - - - \ No newline at end of file diff --git a/ReleaseClienti/SP_prod/GMW.SourceManifest.xml b/ReleaseClienti/SP_prod/GMW.SourceManifest.xml deleted file mode 100644 index 97cc3b80..00000000 --- a/ReleaseClienti/SP_prod/GMW.SourceManifest.xml +++ /dev/null @@ -1,6 +0,0 @@ - - - - - - \ No newline at end of file diff --git a/ReleaseClienti/SP_prod/GMW.deploy-readme.txt b/ReleaseClienti/SP_prod/GMW.deploy-readme.txt deleted file mode 100644 index 2b1a7c3e..00000000 --- a/ReleaseClienti/SP_prod/GMW.deploy-readme.txt +++ /dev/null @@ -1,63 +0,0 @@ - -=========================== -Prerequisites : --------------------------- -To deploy this Web package, Web Deploy (msdeploy.exe) must be installed on the computer that runs the .cmd file. For information about how to install Web Deploy, see the following URL: -http://go.microsoft.com/?linkid=9278654 -This batch file requires that the package file "GMW.zip" and optionally provided the parameters file "GMW.SetParameters.xml" in the same folder or destination folder by environment variable. - -=========================== -Usage: --------------------------- -GMW.deploy.cmd [/T|/Y] [/M:ComputerName] [/U:UserName] [/P:Password] [/G:UseTempAgent] [Additional msdeploy.exe flags ...] - - -=========================== -Required Flags: --------------------------- -/T: - Calls msdeploy.exe with the "-whatif" flag, which simulates deployment. This does not deploy the package. Instead, it creates a report of what will happen when you actually deploy the package. -/Y: - Calls msdeploy.exe without the "-whatif" flag, which deploys the package to the current machine or a destination server. Use /Y after you have verified the output that was generated by using the /T flag. - -Note: Do not use /T and /Y in the same command. - -=========================== -Optional Flags: --------------------------- - By Default, this script deploy on the current machine where this script is called with current user credential without agent service. Only pass the following value for advance scenario. - -/M: - If this flag is not specified, the package is installed on the computer where the command is run. The Service URL can be in the following format: - https://:8172/MSDeploy.axd - This format requires that IIS 7 be installed on the destination server and that IIS 7 Web Management Service(WMSvc) and Web Deployment Handler be set up. - The service URL can also be in the following format: - http:///MSDeployAgentService - This format requires administrative rights on the destination server, and it requires that Web Deploy Remote Service (MsDepSvc) be installed on the destination server. IIS 7 does not have to be installed on the destination server. - -/U: -/P: -/G: - Specifies that the package is deployed by creating a temporary listener on the destination server. This requires no special installation on the destination server, but it requires you to be an administrator on that server. The default value of this flag is False. - -/A: - Specifies the type of authentication to be used. The possible values are NTLM and Basic. If the wmsvc provider setting is specified, the default authentication type is Basic; otherwise, the default authentication type is NTLM. - -/L - Specifies that the package is deployed to local IISExpress user instance. - -[Additional msdeploy.exe flags] - The msdeploy.exe command supports additional flags. You can include any of these additional flags in the "$(ProjectName).Deploy.cmd" file, and the flags are passed through to msdeploy.exe during execution. - Alternatively, you can specify additional flags by setting the "_MsDeployAdditionalFlags" environment variable. These settings are used by this batch file. - Note: Any flag value that includes an equal sign (=) must be enclosed in double quotation marks, as shown in the following example, which will skip deploying the databases that are included in the package: - "-skip:objectName=dbFullSql" - -=========================== -Environment-Specific Settings: --------------------------- - - To customize application-specific settings for each deployment environment (for example, the IIS application name, the physical path, and any connection strings), edit the settings in the following file: - "GMW.SetParameters.xml" -=========================== -For more information on this deploy script visit: http://go.microsoft.com/fwlink/?LinkID=183544 - diff --git a/ReleaseClienti/SP_prod/GMW.deploy.cmd b/ReleaseClienti/SP_prod/GMW.deploy.cmd deleted file mode 100644 index c9e0d21f..00000000 --- a/ReleaseClienti/SP_prod/GMW.deploy.cmd +++ /dev/null @@ -1,311 +0,0 @@ -@rem --------------------------------------------------------------------------------- -@rem Copyright 2008 Microsoft Corporation. All rights reserved. -@rem This is provided as sample to deploy the package using msdeploy.exe -@rem For information about IIS Web Deploy technology, -@rem please visit http://go.microsoft.com/?linkid=9278654 -@rem Note: This batch file assumes the package and setparametsrs.xml are in the same folder with this file -@rem --------------------------------------------------------------------------------- -@if %_echo%!==! echo off -setlocal -@rem --------------------------------------------------------------------------------- -@rem Please Make sure you have Web Deploy install in your machine. -@rem Alternatively, you can explicit set the MsDeployPath to the location it is on your machine -@rem set MSDeployPath="C:\Program Files (x86)\IIS\Microsoft Web Deploy V3\" -@rem --------------------------------------------------------------------------------- - -@rem --------------------------------------------------------------------------------- -@rem if user does not set MsDeployPath environment variable, we will try to retrieve it from registry. -@rem --------------------------------------------------------------------------------- -if "%MSDeployPath%" == "" ( -for /F "usebackq tokens=1,2,*" %%h in (`reg query "HKLM\SOFTWARE\Microsoft\IIS Extensions\MSDeploy" /s ^| findstr -i "InstallPath"`) do ( -if /I "%%h" == "InstallPath" ( -if /I "%%i" == "REG_SZ" ( -if not "%%j" == "" ( -if "%%~dpj" == "%%j" ( -set MSDeployPath=%%j -)))))) - -@rem ------------------------------------------ - -@rem ------------------------------------------ - - -if not exist "%MSDeployPath%msdeploy.exe" ( -echo. msdeploy.exe is not found on this machine. Please install Web Deploy before execute the script. -echo. Please visit http://go.microsoft.com/?linkid=9278654 -goto :usage -) - -set RootPath=%~dp0 -if /I "%_DeploySetParametersFile%" == "" ( -set _DeploySetParametersFile=%RootPath%GMW.SetParameters.xml -) - -@rem ------------------------------------------ - -@rem ------------------------------------------ - - -set _ArgTestDeploy= -set _ArgDestinationType=auto -set _ArgComputerNameWithQuote="" -set _ArgUserNameWithQuote="" -set _ArgPasswordWithQuote="" -set _ArgEncryptPasswordWithQuote="" -set _ArgIncludeAclsWithQuote="False" -set _ArgAuthTypeWithQuote="" -set _ArgtempAgentWithQuote="" -set _ArgLocalIIS= -set _ArgLocalIISVersion= -set _HaveArgMSDeployAdditonalFlags= - - -@rem --------------------------------------------------------------------------------- -@rem Simple Parse the arguments -@rem --------------------------------------------------------------------------------- -:NextArgument -set _ArgCurrent=%~1 -set _ArgFlagFirst=%_ArgCurrent:~0,1% -set _ArgFlag=%_ArgCurrent:~0,3% -set _ArgValue=%_ArgCurrent:~3% - -if /I "%_ArgFlag%" == "" goto :GetStarted -if /I "%_ArgFlag%" == "~0,3" goto :GetStarted -if /I "%_ArgFlag%" == "/T" set _ArgTestDeploy=true&goto :ArgumentOK -if /I "%_ArgFlag%" == "/Y" set _ArgTestDeploy=false&goto :ArgumentOK -if /I "%_ArgFlag%" == "/L" set _ArgLocalIIS=true&goto :ArgumentOK - -if /I "%_ArgFlag%" == "/M:" set _ArgComputerNameWithQuote="%_ArgValue%"&goto :ArgumentOK -if /I "%_ArgFlag%" == "/U:" set _ArgUserNameWithQuote="%_ArgValue%"&goto :ArgumentOK -if /I "%_ArgFlag%" == "/P:" set _ArgPasswordWithQuote="%_ArgValue%"&goto :ArgumentOK -if /I "%_ArgFlag%" == "/E:" set _ArgEncryptPasswordWithQuote="%_ArgValue%"&goto :ArgumentOK -if /I "%_ArgFlag%" == "/I:" set _ArgIncludeAclsWithQuote="%_ArgValue%"&goto :ArgumentOK -if /I "%_ArgFlag%" == "/A:" set _ArgAuthTypeWithQuote="%_ArgValue%"&goto :ArgumentOK -if /I "%_ArgFlag%" == "/G:" set _ArgtempAgentWithQuote="%_ArgValue%"&goto :ArgumentOK - -@rem Any addition flags, pass through to the msdeploy -if "%_HaveArgMSDeployAdditonalFlags%" == "" ( -goto :Assign_ArgMsDeployAdditionalFlags -) -set _ArgMsDeployAdditionalFlags=%_ArgMsDeployAdditionalFlags:&=^&% %_ArgCurrent:&=^&% -set _HaveArgMSDeployAdditonalFlags=1 -goto :ArgumentOK - - -:Assign_ArgMsDeployAdditionalFlags -set _ArgMsDeployAdditionalFlags=%_ArgCurrent:&=^&% -set _HaveArgMSDeployAdditonalFlags=1 -goto :ArgumentOK - -:ArgumentOK -shift -goto :NextArgument - -:GetStarted -@rem ------------------------------------------ - -@rem ------------------------------------------ -if /I "%_ArgTestDeploy%" == "" goto :usage -if /I "%_ArgDestinationType%" == "" goto :usage - -set _Destination=%_ArgDestinationType% -if not %_ArgComputerNameWithQuote% == "" set _Destination=%_Destination%,computerName=%_ArgComputerNameWithQuote% -if not %_ArgUserNameWithQuote% == "" set _Destination=%_Destination%,userName=%_ArgUserNameWithQuote% -if not %_ArgPasswordWithQuote% == "" set _Destination=%_Destination%,password=%_ArgPasswordWithQuote% -if not %_ArgAuthTypeWithQuote% == "" set _Destination=%_Destination%,authtype=%_ArgAuthTypeWithQuote% -if not %_ArgEncryptPasswordWithQuote% == "" set _Destination=%_Destination%,encryptPassword=%_ArgEncryptPasswordWithQuote% -if not %_ArgIncludeAclsWithQuote% == "" set _Destination=%_Destination%,includeAcls=%_ArgIncludeAclsWithQuote% -if not %_ArgtempAgentWithQuote% == "" set _Destination=%_Destination%,tempAgent=%_ArgtempAgentWithQuote% - -@rem ------------------------------------------ - -@rem ------------------------------------------ - - -@rem --------------------------------------------------------------------------------- -@rem add -whatif when -T is specified -@rem --------------------------------------------------------------------------------- -if /I "%_ArgTestDeploy%" NEQ "false" ( -set _MsDeployAdditionalFlags=-whatif %_MsDeployAdditionalFlags% -) - -@rem ------------------------------------------ - -@rem ------------------------------------------ - -@rem --------------------------------------------------------------------------------- -@rem add flags for IISExpress when -L is specified -@rem --------------------------------------------------------------------------------- - -if /I "%_ArgLocalIIS%" == "true" ( -call :SetIISExpressArguments -) -if /I "%_ArgLocalIIS%" == "true" ( -if not exist "%IISExpressPath%%IISExpressManifest%" ( -echo. IISExpress is not found on this machine. Please install through Web Platform Installer before execute the script. -echo. or remove /L flag -echo. Please visit http://go.microsoft.com/?linkid=9278654 -goto :usage -) -if not exist "%IISExpressUserProfileDirectory%" ( -echo. %IISExpressUserProfileDirectory% is not exists -echo. IISExpress is found on the machine. But the user have run IISExpress at least once. -echo. Please visit http://go.microsoft.com/?linkid=9278654 for detail -goto :usage -) - -set _MsDeployAdditionalFlags=%_MsDeployAdditionalFlags% -appHostConfigDir:%IISExpressUserProfileDirectory% -WebServerDir:"%IISExpressPath%" -webServerManifest:"%IISExpressManifest%" -) - -@rem --------------------------------------------------------------------------------- -@rem check the existence of the package file -@rem --------------------------------------------------------------------------------- -if not exist "%RootPath%GMW.zip" ( -echo "%RootPath%GMW.zip" does not exist. -echo This batch file relies on this deploy source file^(s^) in the same folder. -goto :usage -) - -@rem --------------------------------------------- - -@rem --------------------------------------------- - -@rem --------------------------------------------------------------------------------- -@rem Execute msdeploy.exe command line -@rem --------------------------------------------------------------------------------- -call :CheckParameterFile -echo. Start executing msdeploy.exe -echo ------------------------------------------------------- -if not exist "%_DeploySetParametersFile%" ( -set _MSDeployCommandline="%MSDeployPath%msdeploy.exe" -source:package='%RootPath%GMW.zip' -dest:%_Destination% -verb:sync -disableLink:AppPoolExtension -disableLink:ContentExtension -disableLink:CertificateExtension -skip:objectname='dirPath',absolutepath='obj\\SP_prod\\Package\\PackageTmp\\App_Data$' -skip:objectname='dirPath',absolutepath='Default\ Web\ Site/GMW\\App_Data$' -) else ( -set _MSDeployCommandline="%MSDeployPath%msdeploy.exe" -source:package='%RootPath%GMW.zip' -dest:%_Destination% -verb:sync -disableLink:AppPoolExtension -disableLink:ContentExtension -disableLink:CertificateExtension -skip:objectname='dirPath',absolutepath='obj\\SP_prod\\Package\\PackageTmp\\App_Data$' -skip:objectname='dirPath',absolutepath='Default\ Web\ Site/GMW\\App_Data$' -setParamFile:"%_DeploySetParametersFile%" -) - -if "%_HaveArgMSDeployAdditonalFlags%" == "" ( -goto :MSDeployWithOutArgMsDeployAdditionalFlag -) -goto :MSDeployWithArgMsDeployAdditionalFlag -goto :eof - -@rem --------------------------------------------------------------------------------- -@rem MSDeployWithArgMsDeployAdditionalFlag -@rem --------------------------------------------------------------------------------- -:MSDeployWithArgMsDeployAdditionalFlag -echo. %_MSDeployCommandline% %_MsDeployAdditionalFlags% %_ArgMsDeployAdditionalFlags:&=^&% -%_MSDeployCommandline% %_MsDeployAdditionalFlags% %_ArgMsDeployAdditionalFlags:&=^&% -goto :eof - -@rem --------------------------------------------------------------------------------- -@rem MSDeployWithOutArgMsDeployAdditionalFlag -@rem --------------------------------------------------------------------------------- -:MSDeployWithOutArgMsDeployAdditionalFlag -echo. %_MSDeployCommandline% %_MsDeployAdditionalFlags% -%_MSDeployCommandline% %_MsDeployAdditionalFlags% -goto :eof - -@rem --------------------------------------------------------------------------------- -@rem Find and set IISExpress argument. -@rem --------------------------------------------------------------------------------- -:SetIISExpressArguments - -if "%IISExpressPath%" == "" ( -for /F "usebackq tokens=1,2,*" %%h in (`reg query "HKLM\SOFTWARE\Microsoft\IISExpress" /s ^| findstr -i "InstallPath"`) do ( -if /I "%%h" == "InstallPath" ( -if /I "%%i" == "REG_SZ" ( -if not "%%j" == "" ( -if "%%~dpj" == "%%j" ( -set IISExpressPath=%%j -)))))) - -if "%IISExpressPath%" == "" ( -for /F "usebackq tokens=1,2,*" %%h in (`reg query "HKLM\SOFTWARE\Wow6432Node\Microsoft\IISExpress" /s ^| findstr -i "InstallPath"`) do ( -if /I "%%h" == "InstallPath" ( -if /I "%%i" == "REG_SZ" ( -if not "%%j" == "" ( -if "%%~dpj" == "%%j" ( -set IISExpressPath=%%j -)))))) - -if "%PersonalDocumentFolder%" == "" ( -for /F "usebackq tokens=2*" %%i in (`reg query "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders" /v Personal`) do ( -set PersonalDocumentFolder=%%j -)) - -if "%IISExpressManifest%" == "" ( -for /F "usebackq tokens=1,2,*" %%h in (`reg query "HKLM\SOFTWARE\Microsoft\IISExpress" /s ^| findstr -i "Manifest"`) do ( -if /I "%%h" == "Manifest" ( -if /I "%%i" == "REG_SZ" ( -if not "%%j" == "" ( -set IISExpressManifest=%%j -))))) - -if "%IISExpressManifest%" == "" ( -for /F "usebackq tokens=1,2,*" %%h in (`reg query "HKLM\SOFTWARE\Wow6432Node\Microsoft\IISExpress" /s ^| findstr -i "Manifest"`) do ( -if /I "%%h" == "Manifest" ( -if /I "%%i" == "REG_SZ" ( -if not "%%j" == "" ( -set IISExpressManifest=%%j -))))) - -set IISExpressUserProfileDirectory="%PersonalDocumentFolder%\IISExpress\config" - -@rem --------------------------------------------- - -@rem --------------------------------------------- - -goto :eof - -@rem --------------------------------------------------------------------------------- -@rem CheckParameterFile -- check if the package's setparamters.xml exists or not -@rem --------------------------------------------------------------------------------- -:CheckParameterFile -if exist "%_DeploySetParametersFile%" ( -echo SetParameters from: -echo "%_DeploySetParametersFile%" -echo You can change IIS Application Name, Physical path, connectionString -echo or other deploy parameters in the above file. -) else ( -echo SetParamterFiles does not exist in package location. -echo Use package embedded defaultValue to deploy. -) -echo ------------------------------------------------------- -goto :eof - -@rem --------------------------------------------------------------------------------- -@rem Usage -@rem --------------------------------------------------------------------------------- -:usage -echo ========================================================= -if not exist "%RootPath%GMW.deploy-readme.txt" ( -echo Usage:%~nx0 [/T^|/Y] [/M:ComputerName] [/U:userName] [/P:password] [/G:tempAgent] [additional msdeploy flags ...] -echo Required flags: -echo /T Calls msdeploy.exe with the "-whatif" flag, which simulates deployment. -echo /Y Calls msdeploy.exe without the "-whatif" flag, which deploys the package to the current machine or destination server -echo Optional flags: -echo. By Default, this script deploy to the current machine where this script is invoked which will use current user credential without tempAgent. -echo. Only pass these arguments when in advance scenario. -echo /M: Msdeploy destination name of remote computer or proxy-URL. Default is local. -echo /U: Msdeploy destination user name. -echo /P: Msdeploy destination password. -echo /G: Msdeploy destination tempAgent. True or False. Default is false. -echo /A: specifies the type of authentication to be used. The possible values are NTLM and Basic. If the wmsvc provider setting is specified, the default authentication type is Basic -otherwise, the default authentication type is NTLM. -echo /L: Deploy to Local IISExpress User Instance. - -echo.[additional msdeploy flags]: note: " is required for passing = through command line. -echo "-skip:objectName=setAcl" "-skip:objectName=dbFullSql" -echo.Alternative environment variable _MsDeployAdditionalFlags is also honored. -echo. -echo. Please make sure MSDeploy is installed in the box http://go.microsoft.com/?linkid=9278654 -echo. -echo In addition, you can change IIS Application Name, Physical path, -echo connectionString and other deploy parameters in the following file: -echo "%_DeploySetParametersFile%" -echo. -echo For more information about this batch file, visit http://go.microsoft.com/fwlink/?LinkID=183544 -) else ( -start notepad "%RootPath%GMW.deploy-readme.txt" -) -echo ========================================================= -goto :eof diff --git a/ReleaseClienti/SP_prod/GMW.zip b/ReleaseClienti/SP_prod/GMW.zip deleted file mode 100644 index 56747543..00000000 Binary files a/ReleaseClienti/SP_prod/GMW.zip and /dev/null differ diff --git a/ReleaseClienti/SP_prod/SP_GMW_Term.SetParameters.xml b/ReleaseClienti/SP_prod/SP_GMW_Term.SetParameters.xml deleted file mode 100644 index b048dfbe..00000000 --- a/ReleaseClienti/SP_prod/SP_GMW_Term.SetParameters.xml +++ /dev/null @@ -1,5 +0,0 @@ - - - - - \ No newline at end of file diff --git a/ReleaseClienti/SP_prod/SP_GMW_Term.SourceManifest.xml b/ReleaseClienti/SP_prod/SP_GMW_Term.SourceManifest.xml deleted file mode 100644 index cc6ab0da..00000000 --- a/ReleaseClienti/SP_prod/SP_GMW_Term.SourceManifest.xml +++ /dev/null @@ -1,6 +0,0 @@ - - - - - - \ No newline at end of file diff --git a/ReleaseClienti/SP_prod/SP_GMW_Term.deploy-readme.txt b/ReleaseClienti/SP_prod/SP_GMW_Term.deploy-readme.txt deleted file mode 100644 index 4c0fcc8f..00000000 --- a/ReleaseClienti/SP_prod/SP_GMW_Term.deploy-readme.txt +++ /dev/null @@ -1,63 +0,0 @@ - -=========================== -Prerequisites : --------------------------- -To deploy this Web package, Web Deploy (msdeploy.exe) must be installed on the computer that runs the .cmd file. For information about how to install Web Deploy, see the following URL: -http://go.microsoft.com/?linkid=9278654 -This batch file requires that the package file "SP_GMW_Term.zip" and optionally provided the parameters file "SP_GMW_Term.SetParameters.xml" in the same folder or destination folder by environment variable. - -=========================== -Usage: --------------------------- -SP_GMW_Term.deploy.cmd [/T|/Y] [/M:ComputerName] [/U:UserName] [/P:Password] [/G:UseTempAgent] [Additional msdeploy.exe flags ...] - - -=========================== -Required Flags: --------------------------- -/T: - Calls msdeploy.exe with the "-whatif" flag, which simulates deployment. This does not deploy the package. Instead, it creates a report of what will happen when you actually deploy the package. -/Y: - Calls msdeploy.exe without the "-whatif" flag, which deploys the package to the current machine or a destination server. Use /Y after you have verified the output that was generated by using the /T flag. - -Note: Do not use /T and /Y in the same command. - -=========================== -Optional Flags: --------------------------- - By Default, this script deploy on the current machine where this script is called with current user credential without agent service. Only pass the following value for advance scenario. - -/M: - If this flag is not specified, the package is installed on the computer where the command is run. The Service URL can be in the following format: - https://:8172/MSDeploy.axd - This format requires that IIS 7 be installed on the destination server and that IIS 7 Web Management Service(WMSvc) and Web Deployment Handler be set up. - The service URL can also be in the following format: - http:///MSDeployAgentService - This format requires administrative rights on the destination server, and it requires that Web Deploy Remote Service (MsDepSvc) be installed on the destination server. IIS 7 does not have to be installed on the destination server. - -/U: -/P: -/G: - Specifies that the package is deployed by creating a temporary listener on the destination server. This requires no special installation on the destination server, but it requires you to be an administrator on that server. The default value of this flag is False. - -/A: - Specifies the type of authentication to be used. The possible values are NTLM and Basic. If the wmsvc provider setting is specified, the default authentication type is Basic; otherwise, the default authentication type is NTLM. - -/L - Specifies that the package is deployed to local IISExpress user instance. - -[Additional msdeploy.exe flags] - The msdeploy.exe command supports additional flags. You can include any of these additional flags in the "$(ProjectName).Deploy.cmd" file, and the flags are passed through to msdeploy.exe during execution. - Alternatively, you can specify additional flags by setting the "_MsDeployAdditionalFlags" environment variable. These settings are used by this batch file. - Note: Any flag value that includes an equal sign (=) must be enclosed in double quotation marks, as shown in the following example, which will skip deploying the databases that are included in the package: - "-skip:objectName=dbFullSql" - -=========================== -Environment-Specific Settings: --------------------------- - - To customize application-specific settings for each deployment environment (for example, the IIS application name, the physical path, and any connection strings), edit the settings in the following file: - "SP_GMW_Term.SetParameters.xml" -=========================== -For more information on this deploy script visit: http://go.microsoft.com/fwlink/?LinkID=183544 - diff --git a/ReleaseClienti/SP_prod/SP_GMW_Term.deploy.cmd b/ReleaseClienti/SP_prod/SP_GMW_Term.deploy.cmd deleted file mode 100644 index 77263ad6..00000000 --- a/ReleaseClienti/SP_prod/SP_GMW_Term.deploy.cmd +++ /dev/null @@ -1,311 +0,0 @@ -@rem --------------------------------------------------------------------------------- -@rem Copyright 2008 Microsoft Corporation. All rights reserved. -@rem This is provided as sample to deploy the package using msdeploy.exe -@rem For information about IIS Web Deploy technology, -@rem please visit http://go.microsoft.com/?linkid=9278654 -@rem Note: This batch file assumes the package and setparametsrs.xml are in the same folder with this file -@rem --------------------------------------------------------------------------------- -@if %_echo%!==! echo off -setlocal -@rem --------------------------------------------------------------------------------- -@rem Please Make sure you have Web Deploy install in your machine. -@rem Alternatively, you can explicit set the MsDeployPath to the location it is on your machine -@rem set MSDeployPath="C:\Program Files (x86)\IIS\Microsoft Web Deploy V3\" -@rem --------------------------------------------------------------------------------- - -@rem --------------------------------------------------------------------------------- -@rem if user does not set MsDeployPath environment variable, we will try to retrieve it from registry. -@rem --------------------------------------------------------------------------------- -if "%MSDeployPath%" == "" ( -for /F "usebackq tokens=1,2,*" %%h in (`reg query "HKLM\SOFTWARE\Microsoft\IIS Extensions\MSDeploy" /s ^| findstr -i "InstallPath"`) do ( -if /I "%%h" == "InstallPath" ( -if /I "%%i" == "REG_SZ" ( -if not "%%j" == "" ( -if "%%~dpj" == "%%j" ( -set MSDeployPath=%%j -)))))) - -@rem ------------------------------------------ - -@rem ------------------------------------------ - - -if not exist "%MSDeployPath%msdeploy.exe" ( -echo. msdeploy.exe is not found on this machine. Please install Web Deploy before execute the script. -echo. Please visit http://go.microsoft.com/?linkid=9278654 -goto :usage -) - -set RootPath=%~dp0 -if /I "%_DeploySetParametersFile%" == "" ( -set _DeploySetParametersFile=%RootPath%SP_GMW_Term.SetParameters.xml -) - -@rem ------------------------------------------ - -@rem ------------------------------------------ - - -set _ArgTestDeploy= -set _ArgDestinationType=auto -set _ArgComputerNameWithQuote="" -set _ArgUserNameWithQuote="" -set _ArgPasswordWithQuote="" -set _ArgEncryptPasswordWithQuote="" -set _ArgIncludeAclsWithQuote="False" -set _ArgAuthTypeWithQuote="" -set _ArgtempAgentWithQuote="" -set _ArgLocalIIS= -set _ArgLocalIISVersion= -set _HaveArgMSDeployAdditonalFlags= - - -@rem --------------------------------------------------------------------------------- -@rem Simple Parse the arguments -@rem --------------------------------------------------------------------------------- -:NextArgument -set _ArgCurrent=%~1 -set _ArgFlagFirst=%_ArgCurrent:~0,1% -set _ArgFlag=%_ArgCurrent:~0,3% -set _ArgValue=%_ArgCurrent:~3% - -if /I "%_ArgFlag%" == "" goto :GetStarted -if /I "%_ArgFlag%" == "~0,3" goto :GetStarted -if /I "%_ArgFlag%" == "/T" set _ArgTestDeploy=true&goto :ArgumentOK -if /I "%_ArgFlag%" == "/Y" set _ArgTestDeploy=false&goto :ArgumentOK -if /I "%_ArgFlag%" == "/L" set _ArgLocalIIS=true&goto :ArgumentOK - -if /I "%_ArgFlag%" == "/M:" set _ArgComputerNameWithQuote="%_ArgValue%"&goto :ArgumentOK -if /I "%_ArgFlag%" == "/U:" set _ArgUserNameWithQuote="%_ArgValue%"&goto :ArgumentOK -if /I "%_ArgFlag%" == "/P:" set _ArgPasswordWithQuote="%_ArgValue%"&goto :ArgumentOK -if /I "%_ArgFlag%" == "/E:" set _ArgEncryptPasswordWithQuote="%_ArgValue%"&goto :ArgumentOK -if /I "%_ArgFlag%" == "/I:" set _ArgIncludeAclsWithQuote="%_ArgValue%"&goto :ArgumentOK -if /I "%_ArgFlag%" == "/A:" set _ArgAuthTypeWithQuote="%_ArgValue%"&goto :ArgumentOK -if /I "%_ArgFlag%" == "/G:" set _ArgtempAgentWithQuote="%_ArgValue%"&goto :ArgumentOK - -@rem Any addition flags, pass through to the msdeploy -if "%_HaveArgMSDeployAdditonalFlags%" == "" ( -goto :Assign_ArgMsDeployAdditionalFlags -) -set _ArgMsDeployAdditionalFlags=%_ArgMsDeployAdditionalFlags:&=^&% %_ArgCurrent:&=^&% -set _HaveArgMSDeployAdditonalFlags=1 -goto :ArgumentOK - - -:Assign_ArgMsDeployAdditionalFlags -set _ArgMsDeployAdditionalFlags=%_ArgCurrent:&=^&% -set _HaveArgMSDeployAdditonalFlags=1 -goto :ArgumentOK - -:ArgumentOK -shift -goto :NextArgument - -:GetStarted -@rem ------------------------------------------ - -@rem ------------------------------------------ -if /I "%_ArgTestDeploy%" == "" goto :usage -if /I "%_ArgDestinationType%" == "" goto :usage - -set _Destination=%_ArgDestinationType% -if not %_ArgComputerNameWithQuote% == "" set _Destination=%_Destination%,computerName=%_ArgComputerNameWithQuote% -if not %_ArgUserNameWithQuote% == "" set _Destination=%_Destination%,userName=%_ArgUserNameWithQuote% -if not %_ArgPasswordWithQuote% == "" set _Destination=%_Destination%,password=%_ArgPasswordWithQuote% -if not %_ArgAuthTypeWithQuote% == "" set _Destination=%_Destination%,authtype=%_ArgAuthTypeWithQuote% -if not %_ArgEncryptPasswordWithQuote% == "" set _Destination=%_Destination%,encryptPassword=%_ArgEncryptPasswordWithQuote% -if not %_ArgIncludeAclsWithQuote% == "" set _Destination=%_Destination%,includeAcls=%_ArgIncludeAclsWithQuote% -if not %_ArgtempAgentWithQuote% == "" set _Destination=%_Destination%,tempAgent=%_ArgtempAgentWithQuote% - -@rem ------------------------------------------ - -@rem ------------------------------------------ - - -@rem --------------------------------------------------------------------------------- -@rem add -whatif when -T is specified -@rem --------------------------------------------------------------------------------- -if /I "%_ArgTestDeploy%" NEQ "false" ( -set _MsDeployAdditionalFlags=-whatif %_MsDeployAdditionalFlags% -) - -@rem ------------------------------------------ - -@rem ------------------------------------------ - -@rem --------------------------------------------------------------------------------- -@rem add flags for IISExpress when -L is specified -@rem --------------------------------------------------------------------------------- - -if /I "%_ArgLocalIIS%" == "true" ( -call :SetIISExpressArguments -) -if /I "%_ArgLocalIIS%" == "true" ( -if not exist "%IISExpressPath%%IISExpressManifest%" ( -echo. IISExpress is not found on this machine. Please install through Web Platform Installer before execute the script. -echo. or remove /L flag -echo. Please visit http://go.microsoft.com/?linkid=9278654 -goto :usage -) -if not exist "%IISExpressUserProfileDirectory%" ( -echo. %IISExpressUserProfileDirectory% is not exists -echo. IISExpress is found on the machine. But the user have run IISExpress at least once. -echo. Please visit http://go.microsoft.com/?linkid=9278654 for detail -goto :usage -) - -set _MsDeployAdditionalFlags=%_MsDeployAdditionalFlags% -appHostConfigDir:%IISExpressUserProfileDirectory% -WebServerDir:"%IISExpressPath%" -webServerManifest:"%IISExpressManifest%" -) - -@rem --------------------------------------------------------------------------------- -@rem check the existence of the package file -@rem --------------------------------------------------------------------------------- -if not exist "%RootPath%SP_GMW_Term.zip" ( -echo "%RootPath%SP_GMW_Term.zip" does not exist. -echo This batch file relies on this deploy source file^(s^) in the same folder. -goto :usage -) - -@rem --------------------------------------------- - -@rem --------------------------------------------- - -@rem --------------------------------------------------------------------------------- -@rem Execute msdeploy.exe command line -@rem --------------------------------------------------------------------------------- -call :CheckParameterFile -echo. Start executing msdeploy.exe -echo ------------------------------------------------------- -if not exist "%_DeploySetParametersFile%" ( -set _MSDeployCommandline="%MSDeployPath%msdeploy.exe" -source:package='%RootPath%SP_GMW_Term.zip' -dest:%_Destination% -verb:sync -disableLink:AppPoolExtension -disableLink:ContentExtension -disableLink:CertificateExtension -skip:objectname='dirPath',absolutepath='obj\\Release\\Package\\PackageTmp\\App_Data$' -skip:objectname='dirPath',absolutepath='Default\ Web\ Site/GMW_Term\\App_Data$' -) else ( -set _MSDeployCommandline="%MSDeployPath%msdeploy.exe" -source:package='%RootPath%SP_GMW_Term.zip' -dest:%_Destination% -verb:sync -disableLink:AppPoolExtension -disableLink:ContentExtension -disableLink:CertificateExtension -skip:objectname='dirPath',absolutepath='obj\\Release\\Package\\PackageTmp\\App_Data$' -skip:objectname='dirPath',absolutepath='Default\ Web\ Site/GMW_Term\\App_Data$' -setParamFile:"%_DeploySetParametersFile%" -) - -if "%_HaveArgMSDeployAdditonalFlags%" == "" ( -goto :MSDeployWithOutArgMsDeployAdditionalFlag -) -goto :MSDeployWithArgMsDeployAdditionalFlag -goto :eof - -@rem --------------------------------------------------------------------------------- -@rem MSDeployWithArgMsDeployAdditionalFlag -@rem --------------------------------------------------------------------------------- -:MSDeployWithArgMsDeployAdditionalFlag -echo. %_MSDeployCommandline% %_MsDeployAdditionalFlags% %_ArgMsDeployAdditionalFlags:&=^&% -%_MSDeployCommandline% %_MsDeployAdditionalFlags% %_ArgMsDeployAdditionalFlags:&=^&% -goto :eof - -@rem --------------------------------------------------------------------------------- -@rem MSDeployWithOutArgMsDeployAdditionalFlag -@rem --------------------------------------------------------------------------------- -:MSDeployWithOutArgMsDeployAdditionalFlag -echo. %_MSDeployCommandline% %_MsDeployAdditionalFlags% -%_MSDeployCommandline% %_MsDeployAdditionalFlags% -goto :eof - -@rem --------------------------------------------------------------------------------- -@rem Find and set IISExpress argument. -@rem --------------------------------------------------------------------------------- -:SetIISExpressArguments - -if "%IISExpressPath%" == "" ( -for /F "usebackq tokens=1,2,*" %%h in (`reg query "HKLM\SOFTWARE\Microsoft\IISExpress" /s ^| findstr -i "InstallPath"`) do ( -if /I "%%h" == "InstallPath" ( -if /I "%%i" == "REG_SZ" ( -if not "%%j" == "" ( -if "%%~dpj" == "%%j" ( -set IISExpressPath=%%j -)))))) - -if "%IISExpressPath%" == "" ( -for /F "usebackq tokens=1,2,*" %%h in (`reg query "HKLM\SOFTWARE\Wow6432Node\Microsoft\IISExpress" /s ^| findstr -i "InstallPath"`) do ( -if /I "%%h" == "InstallPath" ( -if /I "%%i" == "REG_SZ" ( -if not "%%j" == "" ( -if "%%~dpj" == "%%j" ( -set IISExpressPath=%%j -)))))) - -if "%PersonalDocumentFolder%" == "" ( -for /F "usebackq tokens=2*" %%i in (`reg query "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders" /v Personal`) do ( -set PersonalDocumentFolder=%%j -)) - -if "%IISExpressManifest%" == "" ( -for /F "usebackq tokens=1,2,*" %%h in (`reg query "HKLM\SOFTWARE\Microsoft\IISExpress" /s ^| findstr -i "Manifest"`) do ( -if /I "%%h" == "Manifest" ( -if /I "%%i" == "REG_SZ" ( -if not "%%j" == "" ( -set IISExpressManifest=%%j -))))) - -if "%IISExpressManifest%" == "" ( -for /F "usebackq tokens=1,2,*" %%h in (`reg query "HKLM\SOFTWARE\Wow6432Node\Microsoft\IISExpress" /s ^| findstr -i "Manifest"`) do ( -if /I "%%h" == "Manifest" ( -if /I "%%i" == "REG_SZ" ( -if not "%%j" == "" ( -set IISExpressManifest=%%j -))))) - -set IISExpressUserProfileDirectory="%PersonalDocumentFolder%\IISExpress\config" - -@rem --------------------------------------------- - -@rem --------------------------------------------- - -goto :eof - -@rem --------------------------------------------------------------------------------- -@rem CheckParameterFile -- check if the package's setparamters.xml exists or not -@rem --------------------------------------------------------------------------------- -:CheckParameterFile -if exist "%_DeploySetParametersFile%" ( -echo SetParameters from: -echo "%_DeploySetParametersFile%" -echo You can change IIS Application Name, Physical path, connectionString -echo or other deploy parameters in the above file. -) else ( -echo SetParamterFiles does not exist in package location. -echo Use package embedded defaultValue to deploy. -) -echo ------------------------------------------------------- -goto :eof - -@rem --------------------------------------------------------------------------------- -@rem Usage -@rem --------------------------------------------------------------------------------- -:usage -echo ========================================================= -if not exist "%RootPath%SP_GMW_Term.deploy-readme.txt" ( -echo Usage:%~nx0 [/T^|/Y] [/M:ComputerName] [/U:userName] [/P:password] [/G:tempAgent] [additional msdeploy flags ...] -echo Required flags: -echo /T Calls msdeploy.exe with the "-whatif" flag, which simulates deployment. -echo /Y Calls msdeploy.exe without the "-whatif" flag, which deploys the package to the current machine or destination server -echo Optional flags: -echo. By Default, this script deploy to the current machine where this script is invoked which will use current user credential without tempAgent. -echo. Only pass these arguments when in advance scenario. -echo /M: Msdeploy destination name of remote computer or proxy-URL. Default is local. -echo /U: Msdeploy destination user name. -echo /P: Msdeploy destination password. -echo /G: Msdeploy destination tempAgent. True or False. Default is false. -echo /A: specifies the type of authentication to be used. The possible values are NTLM and Basic. If the wmsvc provider setting is specified, the default authentication type is Basic -otherwise, the default authentication type is NTLM. -echo /L: Deploy to Local IISExpress User Instance. - -echo.[additional msdeploy flags]: note: " is required for passing = through command line. -echo "-skip:objectName=setAcl" "-skip:objectName=dbFullSql" -echo.Alternative environment variable _MsDeployAdditionalFlags is also honored. -echo. -echo. Please make sure MSDeploy is installed in the box http://go.microsoft.com/?linkid=9278654 -echo. -echo In addition, you can change IIS Application Name, Physical path, -echo connectionString and other deploy parameters in the following file: -echo "%_DeploySetParametersFile%" -echo. -echo For more information about this batch file, visit http://go.microsoft.com/fwlink/?LinkID=183544 -) else ( -start notepad "%RootPath%SP_GMW_Term.deploy-readme.txt" -) -echo ========================================================= -goto :eof diff --git a/ReleaseClienti/SP_prod/SP_GMW_Term.zip b/ReleaseClienti/SP_prod/SP_GMW_Term.zip deleted file mode 100644 index bd7b5621..00000000 Binary files a/ReleaseClienti/SP_prod/SP_GMW_Term.zip and /dev/null differ diff --git a/ReleaseClienti/SP_test/GMW-RT.SetParameters.xml b/ReleaseClienti/SP_test/GMW-RT.SetParameters.xml deleted file mode 100644 index 6d24bc4b..00000000 --- a/ReleaseClienti/SP_test/GMW-RT.SetParameters.xml +++ /dev/null @@ -1,4 +0,0 @@ - - - - \ No newline at end of file diff --git a/ReleaseClienti/SP_test/GMW-RT.SourceManifest.xml b/ReleaseClienti/SP_test/GMW-RT.SourceManifest.xml deleted file mode 100644 index cc4ab1f6..00000000 --- a/ReleaseClienti/SP_test/GMW-RT.SourceManifest.xml +++ /dev/null @@ -1,6 +0,0 @@ - - - - - - \ No newline at end of file diff --git a/ReleaseClienti/SP_test/GMW-RT.deploy-readme.txt b/ReleaseClienti/SP_test/GMW-RT.deploy-readme.txt deleted file mode 100644 index c15229c6..00000000 --- a/ReleaseClienti/SP_test/GMW-RT.deploy-readme.txt +++ /dev/null @@ -1,63 +0,0 @@ - -=========================== -Prerequisites : --------------------------- -To deploy this Web package, Web Deploy (msdeploy.exe) must be installed on the computer that runs the .cmd file. For information about how to install Web Deploy, see the following URL: -http://go.microsoft.com/?linkid=9278654 -This batch file requires that the package file "GMW-RT.zip" and optionally provided the parameters file "GMW-RT.SetParameters.xml" in the same folder or destination folder by environment variable. - -=========================== -Usage: --------------------------- -GMW-RT.deploy.cmd [/T|/Y] [/M:ComputerName] [/U:UserName] [/P:Password] [/G:UseTempAgent] [Additional msdeploy.exe flags ...] - - -=========================== -Required Flags: --------------------------- -/T: - Calls msdeploy.exe with the "-whatif" flag, which simulates deployment. This does not deploy the package. Instead, it creates a report of what will happen when you actually deploy the package. -/Y: - Calls msdeploy.exe without the "-whatif" flag, which deploys the package to the current machine or a destination server. Use /Y after you have verified the output that was generated by using the /T flag. - -Note: Do not use /T and /Y in the same command. - -=========================== -Optional Flags: --------------------------- - By Default, this script deploy on the current machine where this script is called with current user credential without agent service. Only pass the following value for advance scenario. - -/M: - If this flag is not specified, the package is installed on the computer where the command is run. The Service URL can be in the following format: - https://:8172/MSDeploy.axd - This format requires that IIS 7 be installed on the destination server and that IIS 7 Web Management Service(WMSvc) and Web Deployment Handler be set up. - The service URL can also be in the following format: - http:///MSDeployAgentService - This format requires administrative rights on the destination server, and it requires that Web Deploy Remote Service (MsDepSvc) be installed on the destination server. IIS 7 does not have to be installed on the destination server. - -/U: -/P: -/G: - Specifies that the package is deployed by creating a temporary listener on the destination server. This requires no special installation on the destination server, but it requires you to be an administrator on that server. The default value of this flag is False. - -/A: - Specifies the type of authentication to be used. The possible values are NTLM and Basic. If the wmsvc provider setting is specified, the default authentication type is Basic; otherwise, the default authentication type is NTLM. - -/L - Specifies that the package is deployed to local IISExpress user instance. - -[Additional msdeploy.exe flags] - The msdeploy.exe command supports additional flags. You can include any of these additional flags in the "$(ProjectName).Deploy.cmd" file, and the flags are passed through to msdeploy.exe during execution. - Alternatively, you can specify additional flags by setting the "_MsDeployAdditionalFlags" environment variable. These settings are used by this batch file. - Note: Any flag value that includes an equal sign (=) must be enclosed in double quotation marks, as shown in the following example, which will skip deploying the databases that are included in the package: - "-skip:objectName=dbFullSql" - -=========================== -Environment-Specific Settings: --------------------------- - - To customize application-specific settings for each deployment environment (for example, the IIS application name, the physical path, and any connection strings), edit the settings in the following file: - "GMW-RT.SetParameters.xml" -=========================== -For more information on this deploy script visit: http://go.microsoft.com/fwlink/?LinkID=183544 - diff --git a/ReleaseClienti/SP_test/GMW-RT.deploy.cmd b/ReleaseClienti/SP_test/GMW-RT.deploy.cmd deleted file mode 100644 index 2c1708f6..00000000 --- a/ReleaseClienti/SP_test/GMW-RT.deploy.cmd +++ /dev/null @@ -1,311 +0,0 @@ -@rem --------------------------------------------------------------------------------- -@rem Copyright 2008 Microsoft Corporation. All rights reserved. -@rem This is provided as sample to deploy the package using msdeploy.exe -@rem For information about IIS Web Deploy technology, -@rem please visit http://go.microsoft.com/?linkid=9278654 -@rem Note: This batch file assumes the package and setparametsrs.xml are in the same folder with this file -@rem --------------------------------------------------------------------------------- -@if %_echo%!==! echo off -setlocal -@rem --------------------------------------------------------------------------------- -@rem Please Make sure you have Web Deploy install in your machine. -@rem Alternatively, you can explicit set the MsDeployPath to the location it is on your machine -@rem set MSDeployPath="C:\Program Files (x86)\IIS\Microsoft Web Deploy V3\" -@rem --------------------------------------------------------------------------------- - -@rem --------------------------------------------------------------------------------- -@rem if user does not set MsDeployPath environment variable, we will try to retrieve it from registry. -@rem --------------------------------------------------------------------------------- -if "%MSDeployPath%" == "" ( -for /F "usebackq tokens=1,2,*" %%h in (`reg query "HKLM\SOFTWARE\Microsoft\IIS Extensions\MSDeploy" /s ^| findstr -i "InstallPath"`) do ( -if /I "%%h" == "InstallPath" ( -if /I "%%i" == "REG_SZ" ( -if not "%%j" == "" ( -if "%%~dpj" == "%%j" ( -set MSDeployPath=%%j -)))))) - -@rem ------------------------------------------ - -@rem ------------------------------------------ - - -if not exist "%MSDeployPath%msdeploy.exe" ( -echo. msdeploy.exe is not found on this machine. Please install Web Deploy before execute the script. -echo. Please visit http://go.microsoft.com/?linkid=9278654 -goto :usage -) - -set RootPath=%~dp0 -if /I "%_DeploySetParametersFile%" == "" ( -set _DeploySetParametersFile=%RootPath%GMW-RT.SetParameters.xml -) - -@rem ------------------------------------------ - -@rem ------------------------------------------ - - -set _ArgTestDeploy= -set _ArgDestinationType=auto -set _ArgComputerNameWithQuote="" -set _ArgUserNameWithQuote="" -set _ArgPasswordWithQuote="" -set _ArgEncryptPasswordWithQuote="" -set _ArgIncludeAclsWithQuote="False" -set _ArgAuthTypeWithQuote="" -set _ArgtempAgentWithQuote="" -set _ArgLocalIIS= -set _ArgLocalIISVersion= -set _HaveArgMSDeployAdditonalFlags= - - -@rem --------------------------------------------------------------------------------- -@rem Simple Parse the arguments -@rem --------------------------------------------------------------------------------- -:NextArgument -set _ArgCurrent=%~1 -set _ArgFlagFirst=%_ArgCurrent:~0,1% -set _ArgFlag=%_ArgCurrent:~0,3% -set _ArgValue=%_ArgCurrent:~3% - -if /I "%_ArgFlag%" == "" goto :GetStarted -if /I "%_ArgFlag%" == "~0,3" goto :GetStarted -if /I "%_ArgFlag%" == "/T" set _ArgTestDeploy=true&goto :ArgumentOK -if /I "%_ArgFlag%" == "/Y" set _ArgTestDeploy=false&goto :ArgumentOK -if /I "%_ArgFlag%" == "/L" set _ArgLocalIIS=true&goto :ArgumentOK - -if /I "%_ArgFlag%" == "/M:" set _ArgComputerNameWithQuote="%_ArgValue%"&goto :ArgumentOK -if /I "%_ArgFlag%" == "/U:" set _ArgUserNameWithQuote="%_ArgValue%"&goto :ArgumentOK -if /I "%_ArgFlag%" == "/P:" set _ArgPasswordWithQuote="%_ArgValue%"&goto :ArgumentOK -if /I "%_ArgFlag%" == "/E:" set _ArgEncryptPasswordWithQuote="%_ArgValue%"&goto :ArgumentOK -if /I "%_ArgFlag%" == "/I:" set _ArgIncludeAclsWithQuote="%_ArgValue%"&goto :ArgumentOK -if /I "%_ArgFlag%" == "/A:" set _ArgAuthTypeWithQuote="%_ArgValue%"&goto :ArgumentOK -if /I "%_ArgFlag%" == "/G:" set _ArgtempAgentWithQuote="%_ArgValue%"&goto :ArgumentOK - -@rem Any addition flags, pass through to the msdeploy -if "%_HaveArgMSDeployAdditonalFlags%" == "" ( -goto :Assign_ArgMsDeployAdditionalFlags -) -set _ArgMsDeployAdditionalFlags=%_ArgMsDeployAdditionalFlags:&=^&% %_ArgCurrent:&=^&% -set _HaveArgMSDeployAdditonalFlags=1 -goto :ArgumentOK - - -:Assign_ArgMsDeployAdditionalFlags -set _ArgMsDeployAdditionalFlags=%_ArgCurrent:&=^&% -set _HaveArgMSDeployAdditonalFlags=1 -goto :ArgumentOK - -:ArgumentOK -shift -goto :NextArgument - -:GetStarted -@rem ------------------------------------------ - -@rem ------------------------------------------ -if /I "%_ArgTestDeploy%" == "" goto :usage -if /I "%_ArgDestinationType%" == "" goto :usage - -set _Destination=%_ArgDestinationType% -if not %_ArgComputerNameWithQuote% == "" set _Destination=%_Destination%,computerName=%_ArgComputerNameWithQuote% -if not %_ArgUserNameWithQuote% == "" set _Destination=%_Destination%,userName=%_ArgUserNameWithQuote% -if not %_ArgPasswordWithQuote% == "" set _Destination=%_Destination%,password=%_ArgPasswordWithQuote% -if not %_ArgAuthTypeWithQuote% == "" set _Destination=%_Destination%,authtype=%_ArgAuthTypeWithQuote% -if not %_ArgEncryptPasswordWithQuote% == "" set _Destination=%_Destination%,encryptPassword=%_ArgEncryptPasswordWithQuote% -if not %_ArgIncludeAclsWithQuote% == "" set _Destination=%_Destination%,includeAcls=%_ArgIncludeAclsWithQuote% -if not %_ArgtempAgentWithQuote% == "" set _Destination=%_Destination%,tempAgent=%_ArgtempAgentWithQuote% - -@rem ------------------------------------------ - -@rem ------------------------------------------ - - -@rem --------------------------------------------------------------------------------- -@rem add -whatif when -T is specified -@rem --------------------------------------------------------------------------------- -if /I "%_ArgTestDeploy%" NEQ "false" ( -set _MsDeployAdditionalFlags=-whatif %_MsDeployAdditionalFlags% -) - -@rem ------------------------------------------ - -@rem ------------------------------------------ - -@rem --------------------------------------------------------------------------------- -@rem add flags for IISExpress when -L is specified -@rem --------------------------------------------------------------------------------- - -if /I "%_ArgLocalIIS%" == "true" ( -call :SetIISExpressArguments -) -if /I "%_ArgLocalIIS%" == "true" ( -if not exist "%IISExpressPath%%IISExpressManifest%" ( -echo. IISExpress is not found on this machine. Please install through Web Platform Installer before execute the script. -echo. or remove /L flag -echo. Please visit http://go.microsoft.com/?linkid=9278654 -goto :usage -) -if not exist "%IISExpressUserProfileDirectory%" ( -echo. %IISExpressUserProfileDirectory% is not exists -echo. IISExpress is found on the machine. But the user have run IISExpress at least once. -echo. Please visit http://go.microsoft.com/?linkid=9278654 for detail -goto :usage -) - -set _MsDeployAdditionalFlags=%_MsDeployAdditionalFlags% -appHostConfigDir:%IISExpressUserProfileDirectory% -WebServerDir:"%IISExpressPath%" -webServerManifest:"%IISExpressManifest%" -) - -@rem --------------------------------------------------------------------------------- -@rem check the existence of the package file -@rem --------------------------------------------------------------------------------- -if not exist "%RootPath%GMW-RT.zip" ( -echo "%RootPath%GMW-RT.zip" does not exist. -echo This batch file relies on this deploy source file^(s^) in the same folder. -goto :usage -) - -@rem --------------------------------------------- - -@rem --------------------------------------------- - -@rem --------------------------------------------------------------------------------- -@rem Execute msdeploy.exe command line -@rem --------------------------------------------------------------------------------- -call :CheckParameterFile -echo. Start executing msdeploy.exe -echo ------------------------------------------------------- -if not exist "%_DeploySetParametersFile%" ( -set _MSDeployCommandline="%MSDeployPath%msdeploy.exe" -source:package='%RootPath%GMW-RT.zip' -dest:%_Destination% -verb:sync -disableLink:AppPoolExtension -disableLink:ContentExtension -disableLink:CertificateExtension -skip:objectname='dirPath',absolutepath='obj\\Release\\Package\\PackageTmp\\App_Data$' -skip:objectname='dirPath',absolutepath='Default\ Web\ Site/GMW-RT-Test\\App_Data$' -) else ( -set _MSDeployCommandline="%MSDeployPath%msdeploy.exe" -source:package='%RootPath%GMW-RT.zip' -dest:%_Destination% -verb:sync -disableLink:AppPoolExtension -disableLink:ContentExtension -disableLink:CertificateExtension -skip:objectname='dirPath',absolutepath='obj\\Release\\Package\\PackageTmp\\App_Data$' -skip:objectname='dirPath',absolutepath='Default\ Web\ Site/GMW-RT-Test\\App_Data$' -setParamFile:"%_DeploySetParametersFile%" -) - -if "%_HaveArgMSDeployAdditonalFlags%" == "" ( -goto :MSDeployWithOutArgMsDeployAdditionalFlag -) -goto :MSDeployWithArgMsDeployAdditionalFlag -goto :eof - -@rem --------------------------------------------------------------------------------- -@rem MSDeployWithArgMsDeployAdditionalFlag -@rem --------------------------------------------------------------------------------- -:MSDeployWithArgMsDeployAdditionalFlag -echo. %_MSDeployCommandline% %_MsDeployAdditionalFlags% %_ArgMsDeployAdditionalFlags:&=^&% -%_MSDeployCommandline% %_MsDeployAdditionalFlags% %_ArgMsDeployAdditionalFlags:&=^&% -goto :eof - -@rem --------------------------------------------------------------------------------- -@rem MSDeployWithOutArgMsDeployAdditionalFlag -@rem --------------------------------------------------------------------------------- -:MSDeployWithOutArgMsDeployAdditionalFlag -echo. %_MSDeployCommandline% %_MsDeployAdditionalFlags% -%_MSDeployCommandline% %_MsDeployAdditionalFlags% -goto :eof - -@rem --------------------------------------------------------------------------------- -@rem Find and set IISExpress argument. -@rem --------------------------------------------------------------------------------- -:SetIISExpressArguments - -if "%IISExpressPath%" == "" ( -for /F "usebackq tokens=1,2,*" %%h in (`reg query "HKLM\SOFTWARE\Microsoft\IISExpress" /s ^| findstr -i "InstallPath"`) do ( -if /I "%%h" == "InstallPath" ( -if /I "%%i" == "REG_SZ" ( -if not "%%j" == "" ( -if "%%~dpj" == "%%j" ( -set IISExpressPath=%%j -)))))) - -if "%IISExpressPath%" == "" ( -for /F "usebackq tokens=1,2,*" %%h in (`reg query "HKLM\SOFTWARE\Wow6432Node\Microsoft\IISExpress" /s ^| findstr -i "InstallPath"`) do ( -if /I "%%h" == "InstallPath" ( -if /I "%%i" == "REG_SZ" ( -if not "%%j" == "" ( -if "%%~dpj" == "%%j" ( -set IISExpressPath=%%j -)))))) - -if "%PersonalDocumentFolder%" == "" ( -for /F "usebackq tokens=2*" %%i in (`reg query "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders" /v Personal`) do ( -set PersonalDocumentFolder=%%j -)) - -if "%IISExpressManifest%" == "" ( -for /F "usebackq tokens=1,2,*" %%h in (`reg query "HKLM\SOFTWARE\Microsoft\IISExpress" /s ^| findstr -i "Manifest"`) do ( -if /I "%%h" == "Manifest" ( -if /I "%%i" == "REG_SZ" ( -if not "%%j" == "" ( -set IISExpressManifest=%%j -))))) - -if "%IISExpressManifest%" == "" ( -for /F "usebackq tokens=1,2,*" %%h in (`reg query "HKLM\SOFTWARE\Wow6432Node\Microsoft\IISExpress" /s ^| findstr -i "Manifest"`) do ( -if /I "%%h" == "Manifest" ( -if /I "%%i" == "REG_SZ" ( -if not "%%j" == "" ( -set IISExpressManifest=%%j -))))) - -set IISExpressUserProfileDirectory="%PersonalDocumentFolder%\IISExpress\config" - -@rem --------------------------------------------- - -@rem --------------------------------------------- - -goto :eof - -@rem --------------------------------------------------------------------------------- -@rem CheckParameterFile -- check if the package's setparamters.xml exists or not -@rem --------------------------------------------------------------------------------- -:CheckParameterFile -if exist "%_DeploySetParametersFile%" ( -echo SetParameters from: -echo "%_DeploySetParametersFile%" -echo You can change IIS Application Name, Physical path, connectionString -echo or other deploy parameters in the above file. -) else ( -echo SetParamterFiles does not exist in package location. -echo Use package embedded defaultValue to deploy. -) -echo ------------------------------------------------------- -goto :eof - -@rem --------------------------------------------------------------------------------- -@rem Usage -@rem --------------------------------------------------------------------------------- -:usage -echo ========================================================= -if not exist "%RootPath%GMW-RT.deploy-readme.txt" ( -echo Usage:%~nx0 [/T^|/Y] [/M:ComputerName] [/U:userName] [/P:password] [/G:tempAgent] [additional msdeploy flags ...] -echo Required flags: -echo /T Calls msdeploy.exe with the "-whatif" flag, which simulates deployment. -echo /Y Calls msdeploy.exe without the "-whatif" flag, which deploys the package to the current machine or destination server -echo Optional flags: -echo. By Default, this script deploy to the current machine where this script is invoked which will use current user credential without tempAgent. -echo. Only pass these arguments when in advance scenario. -echo /M: Msdeploy destination name of remote computer or proxy-URL. Default is local. -echo /U: Msdeploy destination user name. -echo /P: Msdeploy destination password. -echo /G: Msdeploy destination tempAgent. True or False. Default is false. -echo /A: specifies the type of authentication to be used. The possible values are NTLM and Basic. If the wmsvc provider setting is specified, the default authentication type is Basic -otherwise, the default authentication type is NTLM. -echo /L: Deploy to Local IISExpress User Instance. - -echo.[additional msdeploy flags]: note: " is required for passing = through command line. -echo "-skip:objectName=setAcl" "-skip:objectName=dbFullSql" -echo.Alternative environment variable _MsDeployAdditionalFlags is also honored. -echo. -echo. Please make sure MSDeploy is installed in the box http://go.microsoft.com/?linkid=9278654 -echo. -echo In addition, you can change IIS Application Name, Physical path, -echo connectionString and other deploy parameters in the following file: -echo "%_DeploySetParametersFile%" -echo. -echo For more information about this batch file, visit http://go.microsoft.com/fwlink/?LinkID=183544 -) else ( -start notepad "%RootPath%GMW-RT.deploy-readme.txt" -) -echo ========================================================= -goto :eof diff --git a/ReleaseClienti/SP_test/GMW-RT.zip b/ReleaseClienti/SP_test/GMW-RT.zip deleted file mode 100644 index d316fa1a..00000000 Binary files a/ReleaseClienti/SP_test/GMW-RT.zip and /dev/null differ diff --git a/ReleaseClienti/SP_test/GMW-UT.SetParameters.xml b/ReleaseClienti/SP_test/GMW-UT.SetParameters.xml deleted file mode 100644 index 2f43387f..00000000 --- a/ReleaseClienti/SP_test/GMW-UT.SetParameters.xml +++ /dev/null @@ -1,5 +0,0 @@ - - - - - \ No newline at end of file diff --git a/ReleaseClienti/SP_test/GMW-UT.SourceManifest.xml b/ReleaseClienti/SP_test/GMW-UT.SourceManifest.xml deleted file mode 100644 index 9cbd4a66..00000000 --- a/ReleaseClienti/SP_test/GMW-UT.SourceManifest.xml +++ /dev/null @@ -1,6 +0,0 @@ - - - - - - \ No newline at end of file diff --git a/ReleaseClienti/SP_test/GMW-UT.deploy-readme.txt b/ReleaseClienti/SP_test/GMW-UT.deploy-readme.txt deleted file mode 100644 index 4b532bca..00000000 --- a/ReleaseClienti/SP_test/GMW-UT.deploy-readme.txt +++ /dev/null @@ -1,63 +0,0 @@ - -=========================== -Prerequisites : --------------------------- -To deploy this Web package, Web Deploy (msdeploy.exe) must be installed on the computer that runs the .cmd file. For information about how to install Web Deploy, see the following URL: -http://go.microsoft.com/?linkid=9278654 -This batch file requires that the package file "GMW-UT.zip" and optionally provided the parameters file "GMW-UT.SetParameters.xml" in the same folder or destination folder by environment variable. - -=========================== -Usage: --------------------------- -GMW-UT.deploy.cmd [/T|/Y] [/M:ComputerName] [/U:UserName] [/P:Password] [/G:UseTempAgent] [Additional msdeploy.exe flags ...] - - -=========================== -Required Flags: --------------------------- -/T: - Calls msdeploy.exe with the "-whatif" flag, which simulates deployment. This does not deploy the package. Instead, it creates a report of what will happen when you actually deploy the package. -/Y: - Calls msdeploy.exe without the "-whatif" flag, which deploys the package to the current machine or a destination server. Use /Y after you have verified the output that was generated by using the /T flag. - -Note: Do not use /T and /Y in the same command. - -=========================== -Optional Flags: --------------------------- - By Default, this script deploy on the current machine where this script is called with current user credential without agent service. Only pass the following value for advance scenario. - -/M: - If this flag is not specified, the package is installed on the computer where the command is run. The Service URL can be in the following format: - https://:8172/MSDeploy.axd - This format requires that IIS 7 be installed on the destination server and that IIS 7 Web Management Service(WMSvc) and Web Deployment Handler be set up. - The service URL can also be in the following format: - http:///MSDeployAgentService - This format requires administrative rights on the destination server, and it requires that Web Deploy Remote Service (MsDepSvc) be installed on the destination server. IIS 7 does not have to be installed on the destination server. - -/U: -/P: -/G: - Specifies that the package is deployed by creating a temporary listener on the destination server. This requires no special installation on the destination server, but it requires you to be an administrator on that server. The default value of this flag is False. - -/A: - Specifies the type of authentication to be used. The possible values are NTLM and Basic. If the wmsvc provider setting is specified, the default authentication type is Basic; otherwise, the default authentication type is NTLM. - -/L - Specifies that the package is deployed to local IISExpress user instance. - -[Additional msdeploy.exe flags] - The msdeploy.exe command supports additional flags. You can include any of these additional flags in the "$(ProjectName).Deploy.cmd" file, and the flags are passed through to msdeploy.exe during execution. - Alternatively, you can specify additional flags by setting the "_MsDeployAdditionalFlags" environment variable. These settings are used by this batch file. - Note: Any flag value that includes an equal sign (=) must be enclosed in double quotation marks, as shown in the following example, which will skip deploying the databases that are included in the package: - "-skip:objectName=dbFullSql" - -=========================== -Environment-Specific Settings: --------------------------- - - To customize application-specific settings for each deployment environment (for example, the IIS application name, the physical path, and any connection strings), edit the settings in the following file: - "GMW-UT.SetParameters.xml" -=========================== -For more information on this deploy script visit: http://go.microsoft.com/fwlink/?LinkID=183544 - diff --git a/ReleaseClienti/SP_test/GMW-UT.deploy.cmd b/ReleaseClienti/SP_test/GMW-UT.deploy.cmd deleted file mode 100644 index f31c0a4d..00000000 --- a/ReleaseClienti/SP_test/GMW-UT.deploy.cmd +++ /dev/null @@ -1,311 +0,0 @@ -@rem --------------------------------------------------------------------------------- -@rem Copyright 2008 Microsoft Corporation. All rights reserved. -@rem This is provided as sample to deploy the package using msdeploy.exe -@rem For information about IIS Web Deploy technology, -@rem please visit http://go.microsoft.com/?linkid=9278654 -@rem Note: This batch file assumes the package and setparametsrs.xml are in the same folder with this file -@rem --------------------------------------------------------------------------------- -@if %_echo%!==! echo off -setlocal -@rem --------------------------------------------------------------------------------- -@rem Please Make sure you have Web Deploy install in your machine. -@rem Alternatively, you can explicit set the MsDeployPath to the location it is on your machine -@rem set MSDeployPath="C:\Program Files (x86)\IIS\Microsoft Web Deploy V3\" -@rem --------------------------------------------------------------------------------- - -@rem --------------------------------------------------------------------------------- -@rem if user does not set MsDeployPath environment variable, we will try to retrieve it from registry. -@rem --------------------------------------------------------------------------------- -if "%MSDeployPath%" == "" ( -for /F "usebackq tokens=1,2,*" %%h in (`reg query "HKLM\SOFTWARE\Microsoft\IIS Extensions\MSDeploy" /s ^| findstr -i "InstallPath"`) do ( -if /I "%%h" == "InstallPath" ( -if /I "%%i" == "REG_SZ" ( -if not "%%j" == "" ( -if "%%~dpj" == "%%j" ( -set MSDeployPath=%%j -)))))) - -@rem ------------------------------------------ - -@rem ------------------------------------------ - - -if not exist "%MSDeployPath%msdeploy.exe" ( -echo. msdeploy.exe is not found on this machine. Please install Web Deploy before execute the script. -echo. Please visit http://go.microsoft.com/?linkid=9278654 -goto :usage -) - -set RootPath=%~dp0 -if /I "%_DeploySetParametersFile%" == "" ( -set _DeploySetParametersFile=%RootPath%GMW-UT.SetParameters.xml -) - -@rem ------------------------------------------ - -@rem ------------------------------------------ - - -set _ArgTestDeploy= -set _ArgDestinationType=auto -set _ArgComputerNameWithQuote="" -set _ArgUserNameWithQuote="" -set _ArgPasswordWithQuote="" -set _ArgEncryptPasswordWithQuote="" -set _ArgIncludeAclsWithQuote="False" -set _ArgAuthTypeWithQuote="" -set _ArgtempAgentWithQuote="" -set _ArgLocalIIS= -set _ArgLocalIISVersion= -set _HaveArgMSDeployAdditonalFlags= - - -@rem --------------------------------------------------------------------------------- -@rem Simple Parse the arguments -@rem --------------------------------------------------------------------------------- -:NextArgument -set _ArgCurrent=%~1 -set _ArgFlagFirst=%_ArgCurrent:~0,1% -set _ArgFlag=%_ArgCurrent:~0,3% -set _ArgValue=%_ArgCurrent:~3% - -if /I "%_ArgFlag%" == "" goto :GetStarted -if /I "%_ArgFlag%" == "~0,3" goto :GetStarted -if /I "%_ArgFlag%" == "/T" set _ArgTestDeploy=true&goto :ArgumentOK -if /I "%_ArgFlag%" == "/Y" set _ArgTestDeploy=false&goto :ArgumentOK -if /I "%_ArgFlag%" == "/L" set _ArgLocalIIS=true&goto :ArgumentOK - -if /I "%_ArgFlag%" == "/M:" set _ArgComputerNameWithQuote="%_ArgValue%"&goto :ArgumentOK -if /I "%_ArgFlag%" == "/U:" set _ArgUserNameWithQuote="%_ArgValue%"&goto :ArgumentOK -if /I "%_ArgFlag%" == "/P:" set _ArgPasswordWithQuote="%_ArgValue%"&goto :ArgumentOK -if /I "%_ArgFlag%" == "/E:" set _ArgEncryptPasswordWithQuote="%_ArgValue%"&goto :ArgumentOK -if /I "%_ArgFlag%" == "/I:" set _ArgIncludeAclsWithQuote="%_ArgValue%"&goto :ArgumentOK -if /I "%_ArgFlag%" == "/A:" set _ArgAuthTypeWithQuote="%_ArgValue%"&goto :ArgumentOK -if /I "%_ArgFlag%" == "/G:" set _ArgtempAgentWithQuote="%_ArgValue%"&goto :ArgumentOK - -@rem Any addition flags, pass through to the msdeploy -if "%_HaveArgMSDeployAdditonalFlags%" == "" ( -goto :Assign_ArgMsDeployAdditionalFlags -) -set _ArgMsDeployAdditionalFlags=%_ArgMsDeployAdditionalFlags:&=^&% %_ArgCurrent:&=^&% -set _HaveArgMSDeployAdditonalFlags=1 -goto :ArgumentOK - - -:Assign_ArgMsDeployAdditionalFlags -set _ArgMsDeployAdditionalFlags=%_ArgCurrent:&=^&% -set _HaveArgMSDeployAdditonalFlags=1 -goto :ArgumentOK - -:ArgumentOK -shift -goto :NextArgument - -:GetStarted -@rem ------------------------------------------ - -@rem ------------------------------------------ -if /I "%_ArgTestDeploy%" == "" goto :usage -if /I "%_ArgDestinationType%" == "" goto :usage - -set _Destination=%_ArgDestinationType% -if not %_ArgComputerNameWithQuote% == "" set _Destination=%_Destination%,computerName=%_ArgComputerNameWithQuote% -if not %_ArgUserNameWithQuote% == "" set _Destination=%_Destination%,userName=%_ArgUserNameWithQuote% -if not %_ArgPasswordWithQuote% == "" set _Destination=%_Destination%,password=%_ArgPasswordWithQuote% -if not %_ArgAuthTypeWithQuote% == "" set _Destination=%_Destination%,authtype=%_ArgAuthTypeWithQuote% -if not %_ArgEncryptPasswordWithQuote% == "" set _Destination=%_Destination%,encryptPassword=%_ArgEncryptPasswordWithQuote% -if not %_ArgIncludeAclsWithQuote% == "" set _Destination=%_Destination%,includeAcls=%_ArgIncludeAclsWithQuote% -if not %_ArgtempAgentWithQuote% == "" set _Destination=%_Destination%,tempAgent=%_ArgtempAgentWithQuote% - -@rem ------------------------------------------ - -@rem ------------------------------------------ - - -@rem --------------------------------------------------------------------------------- -@rem add -whatif when -T is specified -@rem --------------------------------------------------------------------------------- -if /I "%_ArgTestDeploy%" NEQ "false" ( -set _MsDeployAdditionalFlags=-whatif %_MsDeployAdditionalFlags% -) - -@rem ------------------------------------------ - -@rem ------------------------------------------ - -@rem --------------------------------------------------------------------------------- -@rem add flags for IISExpress when -L is specified -@rem --------------------------------------------------------------------------------- - -if /I "%_ArgLocalIIS%" == "true" ( -call :SetIISExpressArguments -) -if /I "%_ArgLocalIIS%" == "true" ( -if not exist "%IISExpressPath%%IISExpressManifest%" ( -echo. IISExpress is not found on this machine. Please install through Web Platform Installer before execute the script. -echo. or remove /L flag -echo. Please visit http://go.microsoft.com/?linkid=9278654 -goto :usage -) -if not exist "%IISExpressUserProfileDirectory%" ( -echo. %IISExpressUserProfileDirectory% is not exists -echo. IISExpress is found on the machine. But the user have run IISExpress at least once. -echo. Please visit http://go.microsoft.com/?linkid=9278654 for detail -goto :usage -) - -set _MsDeployAdditionalFlags=%_MsDeployAdditionalFlags% -appHostConfigDir:%IISExpressUserProfileDirectory% -WebServerDir:"%IISExpressPath%" -webServerManifest:"%IISExpressManifest%" -) - -@rem --------------------------------------------------------------------------------- -@rem check the existence of the package file -@rem --------------------------------------------------------------------------------- -if not exist "%RootPath%GMW-UT.zip" ( -echo "%RootPath%GMW-UT.zip" does not exist. -echo This batch file relies on this deploy source file^(s^) in the same folder. -goto :usage -) - -@rem --------------------------------------------- - -@rem --------------------------------------------- - -@rem --------------------------------------------------------------------------------- -@rem Execute msdeploy.exe command line -@rem --------------------------------------------------------------------------------- -call :CheckParameterFile -echo. Start executing msdeploy.exe -echo ------------------------------------------------------- -if not exist "%_DeploySetParametersFile%" ( -set _MSDeployCommandline="%MSDeployPath%msdeploy.exe" -source:package='%RootPath%GMW-UT.zip' -dest:%_Destination% -verb:sync -disableLink:AppPoolExtension -disableLink:ContentExtension -disableLink:CertificateExtension -skip:objectname='dirPath',absolutepath='obj\\Release\\Package\\PackageTmp\\App_Data$' -skip:objectname='dirPath',absolutepath='Default\ Web\ Site/GMW-UT_test\\App_Data$' -) else ( -set _MSDeployCommandline="%MSDeployPath%msdeploy.exe" -source:package='%RootPath%GMW-UT.zip' -dest:%_Destination% -verb:sync -disableLink:AppPoolExtension -disableLink:ContentExtension -disableLink:CertificateExtension -skip:objectname='dirPath',absolutepath='obj\\Release\\Package\\PackageTmp\\App_Data$' -skip:objectname='dirPath',absolutepath='Default\ Web\ Site/GMW-UT_test\\App_Data$' -setParamFile:"%_DeploySetParametersFile%" -) - -if "%_HaveArgMSDeployAdditonalFlags%" == "" ( -goto :MSDeployWithOutArgMsDeployAdditionalFlag -) -goto :MSDeployWithArgMsDeployAdditionalFlag -goto :eof - -@rem --------------------------------------------------------------------------------- -@rem MSDeployWithArgMsDeployAdditionalFlag -@rem --------------------------------------------------------------------------------- -:MSDeployWithArgMsDeployAdditionalFlag -echo. %_MSDeployCommandline% %_MsDeployAdditionalFlags% %_ArgMsDeployAdditionalFlags:&=^&% -%_MSDeployCommandline% %_MsDeployAdditionalFlags% %_ArgMsDeployAdditionalFlags:&=^&% -goto :eof - -@rem --------------------------------------------------------------------------------- -@rem MSDeployWithOutArgMsDeployAdditionalFlag -@rem --------------------------------------------------------------------------------- -:MSDeployWithOutArgMsDeployAdditionalFlag -echo. %_MSDeployCommandline% %_MsDeployAdditionalFlags% -%_MSDeployCommandline% %_MsDeployAdditionalFlags% -goto :eof - -@rem --------------------------------------------------------------------------------- -@rem Find and set IISExpress argument. -@rem --------------------------------------------------------------------------------- -:SetIISExpressArguments - -if "%IISExpressPath%" == "" ( -for /F "usebackq tokens=1,2,*" %%h in (`reg query "HKLM\SOFTWARE\Microsoft\IISExpress" /s ^| findstr -i "InstallPath"`) do ( -if /I "%%h" == "InstallPath" ( -if /I "%%i" == "REG_SZ" ( -if not "%%j" == "" ( -if "%%~dpj" == "%%j" ( -set IISExpressPath=%%j -)))))) - -if "%IISExpressPath%" == "" ( -for /F "usebackq tokens=1,2,*" %%h in (`reg query "HKLM\SOFTWARE\Wow6432Node\Microsoft\IISExpress" /s ^| findstr -i "InstallPath"`) do ( -if /I "%%h" == "InstallPath" ( -if /I "%%i" == "REG_SZ" ( -if not "%%j" == "" ( -if "%%~dpj" == "%%j" ( -set IISExpressPath=%%j -)))))) - -if "%PersonalDocumentFolder%" == "" ( -for /F "usebackq tokens=2*" %%i in (`reg query "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders" /v Personal`) do ( -set PersonalDocumentFolder=%%j -)) - -if "%IISExpressManifest%" == "" ( -for /F "usebackq tokens=1,2,*" %%h in (`reg query "HKLM\SOFTWARE\Microsoft\IISExpress" /s ^| findstr -i "Manifest"`) do ( -if /I "%%h" == "Manifest" ( -if /I "%%i" == "REG_SZ" ( -if not "%%j" == "" ( -set IISExpressManifest=%%j -))))) - -if "%IISExpressManifest%" == "" ( -for /F "usebackq tokens=1,2,*" %%h in (`reg query "HKLM\SOFTWARE\Wow6432Node\Microsoft\IISExpress" /s ^| findstr -i "Manifest"`) do ( -if /I "%%h" == "Manifest" ( -if /I "%%i" == "REG_SZ" ( -if not "%%j" == "" ( -set IISExpressManifest=%%j -))))) - -set IISExpressUserProfileDirectory="%PersonalDocumentFolder%\IISExpress\config" - -@rem --------------------------------------------- - -@rem --------------------------------------------- - -goto :eof - -@rem --------------------------------------------------------------------------------- -@rem CheckParameterFile -- check if the package's setparamters.xml exists or not -@rem --------------------------------------------------------------------------------- -:CheckParameterFile -if exist "%_DeploySetParametersFile%" ( -echo SetParameters from: -echo "%_DeploySetParametersFile%" -echo You can change IIS Application Name, Physical path, connectionString -echo or other deploy parameters in the above file. -) else ( -echo SetParamterFiles does not exist in package location. -echo Use package embedded defaultValue to deploy. -) -echo ------------------------------------------------------- -goto :eof - -@rem --------------------------------------------------------------------------------- -@rem Usage -@rem --------------------------------------------------------------------------------- -:usage -echo ========================================================= -if not exist "%RootPath%GMW-UT.deploy-readme.txt" ( -echo Usage:%~nx0 [/T^|/Y] [/M:ComputerName] [/U:userName] [/P:password] [/G:tempAgent] [additional msdeploy flags ...] -echo Required flags: -echo /T Calls msdeploy.exe with the "-whatif" flag, which simulates deployment. -echo /Y Calls msdeploy.exe without the "-whatif" flag, which deploys the package to the current machine or destination server -echo Optional flags: -echo. By Default, this script deploy to the current machine where this script is invoked which will use current user credential without tempAgent. -echo. Only pass these arguments when in advance scenario. -echo /M: Msdeploy destination name of remote computer or proxy-URL. Default is local. -echo /U: Msdeploy destination user name. -echo /P: Msdeploy destination password. -echo /G: Msdeploy destination tempAgent. True or False. Default is false. -echo /A: specifies the type of authentication to be used. The possible values are NTLM and Basic. If the wmsvc provider setting is specified, the default authentication type is Basic -otherwise, the default authentication type is NTLM. -echo /L: Deploy to Local IISExpress User Instance. - -echo.[additional msdeploy flags]: note: " is required for passing = through command line. -echo "-skip:objectName=setAcl" "-skip:objectName=dbFullSql" -echo.Alternative environment variable _MsDeployAdditionalFlags is also honored. -echo. -echo. Please make sure MSDeploy is installed in the box http://go.microsoft.com/?linkid=9278654 -echo. -echo In addition, you can change IIS Application Name, Physical path, -echo connectionString and other deploy parameters in the following file: -echo "%_DeploySetParametersFile%" -echo. -echo For more information about this batch file, visit http://go.microsoft.com/fwlink/?LinkID=183544 -) else ( -start notepad "%RootPath%GMW-UT.deploy-readme.txt" -) -echo ========================================================= -goto :eof diff --git a/ReleaseClienti/SP_test/GMW-UT.zip b/ReleaseClienti/SP_test/GMW-UT.zip deleted file mode 100644 index b3e5102e..00000000 Binary files a/ReleaseClienti/SP_test/GMW-UT.zip and /dev/null differ diff --git a/ReleaseClienti/SP_test/GMW.SetParameters.xml b/ReleaseClienti/SP_test/GMW.SetParameters.xml deleted file mode 100644 index 37f38790..00000000 --- a/ReleaseClienti/SP_test/GMW.SetParameters.xml +++ /dev/null @@ -1,5 +0,0 @@ - - - - - \ No newline at end of file diff --git a/ReleaseClienti/SP_test/GMW.SourceManifest.xml b/ReleaseClienti/SP_test/GMW.SourceManifest.xml deleted file mode 100644 index 3e94aa19..00000000 --- a/ReleaseClienti/SP_test/GMW.SourceManifest.xml +++ /dev/null @@ -1,6 +0,0 @@ - - - - - - \ No newline at end of file diff --git a/ReleaseClienti/SP_test/GMW.deploy-readme.txt b/ReleaseClienti/SP_test/GMW.deploy-readme.txt deleted file mode 100644 index 2b1a7c3e..00000000 --- a/ReleaseClienti/SP_test/GMW.deploy-readme.txt +++ /dev/null @@ -1,63 +0,0 @@ - -=========================== -Prerequisites : --------------------------- -To deploy this Web package, Web Deploy (msdeploy.exe) must be installed on the computer that runs the .cmd file. For information about how to install Web Deploy, see the following URL: -http://go.microsoft.com/?linkid=9278654 -This batch file requires that the package file "GMW.zip" and optionally provided the parameters file "GMW.SetParameters.xml" in the same folder or destination folder by environment variable. - -=========================== -Usage: --------------------------- -GMW.deploy.cmd [/T|/Y] [/M:ComputerName] [/U:UserName] [/P:Password] [/G:UseTempAgent] [Additional msdeploy.exe flags ...] - - -=========================== -Required Flags: --------------------------- -/T: - Calls msdeploy.exe with the "-whatif" flag, which simulates deployment. This does not deploy the package. Instead, it creates a report of what will happen when you actually deploy the package. -/Y: - Calls msdeploy.exe without the "-whatif" flag, which deploys the package to the current machine or a destination server. Use /Y after you have verified the output that was generated by using the /T flag. - -Note: Do not use /T and /Y in the same command. - -=========================== -Optional Flags: --------------------------- - By Default, this script deploy on the current machine where this script is called with current user credential without agent service. Only pass the following value for advance scenario. - -/M: - If this flag is not specified, the package is installed on the computer where the command is run. The Service URL can be in the following format: - https://:8172/MSDeploy.axd - This format requires that IIS 7 be installed on the destination server and that IIS 7 Web Management Service(WMSvc) and Web Deployment Handler be set up. - The service URL can also be in the following format: - http:///MSDeployAgentService - This format requires administrative rights on the destination server, and it requires that Web Deploy Remote Service (MsDepSvc) be installed on the destination server. IIS 7 does not have to be installed on the destination server. - -/U: -/P: -/G: - Specifies that the package is deployed by creating a temporary listener on the destination server. This requires no special installation on the destination server, but it requires you to be an administrator on that server. The default value of this flag is False. - -/A: - Specifies the type of authentication to be used. The possible values are NTLM and Basic. If the wmsvc provider setting is specified, the default authentication type is Basic; otherwise, the default authentication type is NTLM. - -/L - Specifies that the package is deployed to local IISExpress user instance. - -[Additional msdeploy.exe flags] - The msdeploy.exe command supports additional flags. You can include any of these additional flags in the "$(ProjectName).Deploy.cmd" file, and the flags are passed through to msdeploy.exe during execution. - Alternatively, you can specify additional flags by setting the "_MsDeployAdditionalFlags" environment variable. These settings are used by this batch file. - Note: Any flag value that includes an equal sign (=) must be enclosed in double quotation marks, as shown in the following example, which will skip deploying the databases that are included in the package: - "-skip:objectName=dbFullSql" - -=========================== -Environment-Specific Settings: --------------------------- - - To customize application-specific settings for each deployment environment (for example, the IIS application name, the physical path, and any connection strings), edit the settings in the following file: - "GMW.SetParameters.xml" -=========================== -For more information on this deploy script visit: http://go.microsoft.com/fwlink/?LinkID=183544 - diff --git a/ReleaseClienti/SP_test/GMW.deploy.cmd b/ReleaseClienti/SP_test/GMW.deploy.cmd deleted file mode 100644 index 5cf109f2..00000000 --- a/ReleaseClienti/SP_test/GMW.deploy.cmd +++ /dev/null @@ -1,311 +0,0 @@ -@rem --------------------------------------------------------------------------------- -@rem Copyright 2008 Microsoft Corporation. All rights reserved. -@rem This is provided as sample to deploy the package using msdeploy.exe -@rem For information about IIS Web Deploy technology, -@rem please visit http://go.microsoft.com/?linkid=9278654 -@rem Note: This batch file assumes the package and setparametsrs.xml are in the same folder with this file -@rem --------------------------------------------------------------------------------- -@if %_echo%!==! echo off -setlocal -@rem --------------------------------------------------------------------------------- -@rem Please Make sure you have Web Deploy install in your machine. -@rem Alternatively, you can explicit set the MsDeployPath to the location it is on your machine -@rem set MSDeployPath="C:\Program Files (x86)\IIS\Microsoft Web Deploy V3\" -@rem --------------------------------------------------------------------------------- - -@rem --------------------------------------------------------------------------------- -@rem if user does not set MsDeployPath environment variable, we will try to retrieve it from registry. -@rem --------------------------------------------------------------------------------- -if "%MSDeployPath%" == "" ( -for /F "usebackq tokens=1,2,*" %%h in (`reg query "HKLM\SOFTWARE\Microsoft\IIS Extensions\MSDeploy" /s ^| findstr -i "InstallPath"`) do ( -if /I "%%h" == "InstallPath" ( -if /I "%%i" == "REG_SZ" ( -if not "%%j" == "" ( -if "%%~dpj" == "%%j" ( -set MSDeployPath=%%j -)))))) - -@rem ------------------------------------------ - -@rem ------------------------------------------ - - -if not exist "%MSDeployPath%msdeploy.exe" ( -echo. msdeploy.exe is not found on this machine. Please install Web Deploy before execute the script. -echo. Please visit http://go.microsoft.com/?linkid=9278654 -goto :usage -) - -set RootPath=%~dp0 -if /I "%_DeploySetParametersFile%" == "" ( -set _DeploySetParametersFile=%RootPath%GMW.SetParameters.xml -) - -@rem ------------------------------------------ - -@rem ------------------------------------------ - - -set _ArgTestDeploy= -set _ArgDestinationType=auto -set _ArgComputerNameWithQuote="" -set _ArgUserNameWithQuote="" -set _ArgPasswordWithQuote="" -set _ArgEncryptPasswordWithQuote="" -set _ArgIncludeAclsWithQuote="False" -set _ArgAuthTypeWithQuote="" -set _ArgtempAgentWithQuote="" -set _ArgLocalIIS= -set _ArgLocalIISVersion= -set _HaveArgMSDeployAdditonalFlags= - - -@rem --------------------------------------------------------------------------------- -@rem Simple Parse the arguments -@rem --------------------------------------------------------------------------------- -:NextArgument -set _ArgCurrent=%~1 -set _ArgFlagFirst=%_ArgCurrent:~0,1% -set _ArgFlag=%_ArgCurrent:~0,3% -set _ArgValue=%_ArgCurrent:~3% - -if /I "%_ArgFlag%" == "" goto :GetStarted -if /I "%_ArgFlag%" == "~0,3" goto :GetStarted -if /I "%_ArgFlag%" == "/T" set _ArgTestDeploy=true&goto :ArgumentOK -if /I "%_ArgFlag%" == "/Y" set _ArgTestDeploy=false&goto :ArgumentOK -if /I "%_ArgFlag%" == "/L" set _ArgLocalIIS=true&goto :ArgumentOK - -if /I "%_ArgFlag%" == "/M:" set _ArgComputerNameWithQuote="%_ArgValue%"&goto :ArgumentOK -if /I "%_ArgFlag%" == "/U:" set _ArgUserNameWithQuote="%_ArgValue%"&goto :ArgumentOK -if /I "%_ArgFlag%" == "/P:" set _ArgPasswordWithQuote="%_ArgValue%"&goto :ArgumentOK -if /I "%_ArgFlag%" == "/E:" set _ArgEncryptPasswordWithQuote="%_ArgValue%"&goto :ArgumentOK -if /I "%_ArgFlag%" == "/I:" set _ArgIncludeAclsWithQuote="%_ArgValue%"&goto :ArgumentOK -if /I "%_ArgFlag%" == "/A:" set _ArgAuthTypeWithQuote="%_ArgValue%"&goto :ArgumentOK -if /I "%_ArgFlag%" == "/G:" set _ArgtempAgentWithQuote="%_ArgValue%"&goto :ArgumentOK - -@rem Any addition flags, pass through to the msdeploy -if "%_HaveArgMSDeployAdditonalFlags%" == "" ( -goto :Assign_ArgMsDeployAdditionalFlags -) -set _ArgMsDeployAdditionalFlags=%_ArgMsDeployAdditionalFlags:&=^&% %_ArgCurrent:&=^&% -set _HaveArgMSDeployAdditonalFlags=1 -goto :ArgumentOK - - -:Assign_ArgMsDeployAdditionalFlags -set _ArgMsDeployAdditionalFlags=%_ArgCurrent:&=^&% -set _HaveArgMSDeployAdditonalFlags=1 -goto :ArgumentOK - -:ArgumentOK -shift -goto :NextArgument - -:GetStarted -@rem ------------------------------------------ - -@rem ------------------------------------------ -if /I "%_ArgTestDeploy%" == "" goto :usage -if /I "%_ArgDestinationType%" == "" goto :usage - -set _Destination=%_ArgDestinationType% -if not %_ArgComputerNameWithQuote% == "" set _Destination=%_Destination%,computerName=%_ArgComputerNameWithQuote% -if not %_ArgUserNameWithQuote% == "" set _Destination=%_Destination%,userName=%_ArgUserNameWithQuote% -if not %_ArgPasswordWithQuote% == "" set _Destination=%_Destination%,password=%_ArgPasswordWithQuote% -if not %_ArgAuthTypeWithQuote% == "" set _Destination=%_Destination%,authtype=%_ArgAuthTypeWithQuote% -if not %_ArgEncryptPasswordWithQuote% == "" set _Destination=%_Destination%,encryptPassword=%_ArgEncryptPasswordWithQuote% -if not %_ArgIncludeAclsWithQuote% == "" set _Destination=%_Destination%,includeAcls=%_ArgIncludeAclsWithQuote% -if not %_ArgtempAgentWithQuote% == "" set _Destination=%_Destination%,tempAgent=%_ArgtempAgentWithQuote% - -@rem ------------------------------------------ - -@rem ------------------------------------------ - - -@rem --------------------------------------------------------------------------------- -@rem add -whatif when -T is specified -@rem --------------------------------------------------------------------------------- -if /I "%_ArgTestDeploy%" NEQ "false" ( -set _MsDeployAdditionalFlags=-whatif %_MsDeployAdditionalFlags% -) - -@rem ------------------------------------------ - -@rem ------------------------------------------ - -@rem --------------------------------------------------------------------------------- -@rem add flags for IISExpress when -L is specified -@rem --------------------------------------------------------------------------------- - -if /I "%_ArgLocalIIS%" == "true" ( -call :SetIISExpressArguments -) -if /I "%_ArgLocalIIS%" == "true" ( -if not exist "%IISExpressPath%%IISExpressManifest%" ( -echo. IISExpress is not found on this machine. Please install through Web Platform Installer before execute the script. -echo. or remove /L flag -echo. Please visit http://go.microsoft.com/?linkid=9278654 -goto :usage -) -if not exist "%IISExpressUserProfileDirectory%" ( -echo. %IISExpressUserProfileDirectory% is not exists -echo. IISExpress is found on the machine. But the user have run IISExpress at least once. -echo. Please visit http://go.microsoft.com/?linkid=9278654 for detail -goto :usage -) - -set _MsDeployAdditionalFlags=%_MsDeployAdditionalFlags% -appHostConfigDir:%IISExpressUserProfileDirectory% -WebServerDir:"%IISExpressPath%" -webServerManifest:"%IISExpressManifest%" -) - -@rem --------------------------------------------------------------------------------- -@rem check the existence of the package file -@rem --------------------------------------------------------------------------------- -if not exist "%RootPath%GMW.zip" ( -echo "%RootPath%GMW.zip" does not exist. -echo This batch file relies on this deploy source file^(s^) in the same folder. -goto :usage -) - -@rem --------------------------------------------- - -@rem --------------------------------------------- - -@rem --------------------------------------------------------------------------------- -@rem Execute msdeploy.exe command line -@rem --------------------------------------------------------------------------------- -call :CheckParameterFile -echo. Start executing msdeploy.exe -echo ------------------------------------------------------- -if not exist "%_DeploySetParametersFile%" ( -set _MSDeployCommandline="%MSDeployPath%msdeploy.exe" -source:package='%RootPath%GMW.zip' -dest:%_Destination% -verb:sync -disableLink:AppPoolExtension -disableLink:ContentExtension -disableLink:CertificateExtension -skip:objectname='dirPath',absolutepath='obj\\SP_test\\Package\\PackageTmp\\App_Data$' -skip:objectname='dirPath',absolutepath='Default\ Web\ Site/GMW_test\\App_Data$' -) else ( -set _MSDeployCommandline="%MSDeployPath%msdeploy.exe" -source:package='%RootPath%GMW.zip' -dest:%_Destination% -verb:sync -disableLink:AppPoolExtension -disableLink:ContentExtension -disableLink:CertificateExtension -skip:objectname='dirPath',absolutepath='obj\\SP_test\\Package\\PackageTmp\\App_Data$' -skip:objectname='dirPath',absolutepath='Default\ Web\ Site/GMW_test\\App_Data$' -setParamFile:"%_DeploySetParametersFile%" -) - -if "%_HaveArgMSDeployAdditonalFlags%" == "" ( -goto :MSDeployWithOutArgMsDeployAdditionalFlag -) -goto :MSDeployWithArgMsDeployAdditionalFlag -goto :eof - -@rem --------------------------------------------------------------------------------- -@rem MSDeployWithArgMsDeployAdditionalFlag -@rem --------------------------------------------------------------------------------- -:MSDeployWithArgMsDeployAdditionalFlag -echo. %_MSDeployCommandline% %_MsDeployAdditionalFlags% %_ArgMsDeployAdditionalFlags:&=^&% -%_MSDeployCommandline% %_MsDeployAdditionalFlags% %_ArgMsDeployAdditionalFlags:&=^&% -goto :eof - -@rem --------------------------------------------------------------------------------- -@rem MSDeployWithOutArgMsDeployAdditionalFlag -@rem --------------------------------------------------------------------------------- -:MSDeployWithOutArgMsDeployAdditionalFlag -echo. %_MSDeployCommandline% %_MsDeployAdditionalFlags% -%_MSDeployCommandline% %_MsDeployAdditionalFlags% -goto :eof - -@rem --------------------------------------------------------------------------------- -@rem Find and set IISExpress argument. -@rem --------------------------------------------------------------------------------- -:SetIISExpressArguments - -if "%IISExpressPath%" == "" ( -for /F "usebackq tokens=1,2,*" %%h in (`reg query "HKLM\SOFTWARE\Microsoft\IISExpress" /s ^| findstr -i "InstallPath"`) do ( -if /I "%%h" == "InstallPath" ( -if /I "%%i" == "REG_SZ" ( -if not "%%j" == "" ( -if "%%~dpj" == "%%j" ( -set IISExpressPath=%%j -)))))) - -if "%IISExpressPath%" == "" ( -for /F "usebackq tokens=1,2,*" %%h in (`reg query "HKLM\SOFTWARE\Wow6432Node\Microsoft\IISExpress" /s ^| findstr -i "InstallPath"`) do ( -if /I "%%h" == "InstallPath" ( -if /I "%%i" == "REG_SZ" ( -if not "%%j" == "" ( -if "%%~dpj" == "%%j" ( -set IISExpressPath=%%j -)))))) - -if "%PersonalDocumentFolder%" == "" ( -for /F "usebackq tokens=2*" %%i in (`reg query "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders" /v Personal`) do ( -set PersonalDocumentFolder=%%j -)) - -if "%IISExpressManifest%" == "" ( -for /F "usebackq tokens=1,2,*" %%h in (`reg query "HKLM\SOFTWARE\Microsoft\IISExpress" /s ^| findstr -i "Manifest"`) do ( -if /I "%%h" == "Manifest" ( -if /I "%%i" == "REG_SZ" ( -if not "%%j" == "" ( -set IISExpressManifest=%%j -))))) - -if "%IISExpressManifest%" == "" ( -for /F "usebackq tokens=1,2,*" %%h in (`reg query "HKLM\SOFTWARE\Wow6432Node\Microsoft\IISExpress" /s ^| findstr -i "Manifest"`) do ( -if /I "%%h" == "Manifest" ( -if /I "%%i" == "REG_SZ" ( -if not "%%j" == "" ( -set IISExpressManifest=%%j -))))) - -set IISExpressUserProfileDirectory="%PersonalDocumentFolder%\IISExpress\config" - -@rem --------------------------------------------- - -@rem --------------------------------------------- - -goto :eof - -@rem --------------------------------------------------------------------------------- -@rem CheckParameterFile -- check if the package's setparamters.xml exists or not -@rem --------------------------------------------------------------------------------- -:CheckParameterFile -if exist "%_DeploySetParametersFile%" ( -echo SetParameters from: -echo "%_DeploySetParametersFile%" -echo You can change IIS Application Name, Physical path, connectionString -echo or other deploy parameters in the above file. -) else ( -echo SetParamterFiles does not exist in package location. -echo Use package embedded defaultValue to deploy. -) -echo ------------------------------------------------------- -goto :eof - -@rem --------------------------------------------------------------------------------- -@rem Usage -@rem --------------------------------------------------------------------------------- -:usage -echo ========================================================= -if not exist "%RootPath%GMW.deploy-readme.txt" ( -echo Usage:%~nx0 [/T^|/Y] [/M:ComputerName] [/U:userName] [/P:password] [/G:tempAgent] [additional msdeploy flags ...] -echo Required flags: -echo /T Calls msdeploy.exe with the "-whatif" flag, which simulates deployment. -echo /Y Calls msdeploy.exe without the "-whatif" flag, which deploys the package to the current machine or destination server -echo Optional flags: -echo. By Default, this script deploy to the current machine where this script is invoked which will use current user credential without tempAgent. -echo. Only pass these arguments when in advance scenario. -echo /M: Msdeploy destination name of remote computer or proxy-URL. Default is local. -echo /U: Msdeploy destination user name. -echo /P: Msdeploy destination password. -echo /G: Msdeploy destination tempAgent. True or False. Default is false. -echo /A: specifies the type of authentication to be used. The possible values are NTLM and Basic. If the wmsvc provider setting is specified, the default authentication type is Basic -otherwise, the default authentication type is NTLM. -echo /L: Deploy to Local IISExpress User Instance. - -echo.[additional msdeploy flags]: note: " is required for passing = through command line. -echo "-skip:objectName=setAcl" "-skip:objectName=dbFullSql" -echo.Alternative environment variable _MsDeployAdditionalFlags is also honored. -echo. -echo. Please make sure MSDeploy is installed in the box http://go.microsoft.com/?linkid=9278654 -echo. -echo In addition, you can change IIS Application Name, Physical path, -echo connectionString and other deploy parameters in the following file: -echo "%_DeploySetParametersFile%" -echo. -echo For more information about this batch file, visit http://go.microsoft.com/fwlink/?LinkID=183544 -) else ( -start notepad "%RootPath%GMW.deploy-readme.txt" -) -echo ========================================================= -goto :eof diff --git a/ReleaseClienti/SP_test/GMW.zip b/ReleaseClienti/SP_test/GMW.zip deleted file mode 100644 index 1087a11e..00000000 Binary files a/ReleaseClienti/SP_test/GMW.zip and /dev/null differ diff --git a/ReleaseClienti/SP_test/SP_GMW_TestTerm.SetParameters.xml b/ReleaseClienti/SP_test/SP_GMW_TestTerm.SetParameters.xml deleted file mode 100644 index 4083540c..00000000 --- a/ReleaseClienti/SP_test/SP_GMW_TestTerm.SetParameters.xml +++ /dev/null @@ -1,5 +0,0 @@ - - - - - \ No newline at end of file diff --git a/ReleaseClienti/SP_test/SP_GMW_TestTerm.SourceManifest.xml b/ReleaseClienti/SP_test/SP_GMW_TestTerm.SourceManifest.xml deleted file mode 100644 index cc6ab0da..00000000 --- a/ReleaseClienti/SP_test/SP_GMW_TestTerm.SourceManifest.xml +++ /dev/null @@ -1,6 +0,0 @@ - - - - - - \ No newline at end of file diff --git a/ReleaseClienti/SP_test/SP_GMW_TestTerm.deploy-readme.txt b/ReleaseClienti/SP_test/SP_GMW_TestTerm.deploy-readme.txt deleted file mode 100644 index 7d811cd6..00000000 --- a/ReleaseClienti/SP_test/SP_GMW_TestTerm.deploy-readme.txt +++ /dev/null @@ -1,63 +0,0 @@ - -=========================== -Prerequisites : --------------------------- -To deploy this Web package, Web Deploy (msdeploy.exe) must be installed on the computer that runs the .cmd file. For information about how to install Web Deploy, see the following URL: -http://go.microsoft.com/?linkid=9278654 -This batch file requires that the package file "SP_GMW_TestTerm.zip" and optionally provided the parameters file "SP_GMW_TestTerm.SetParameters.xml" in the same folder or destination folder by environment variable. - -=========================== -Usage: --------------------------- -SP_GMW_TestTerm.deploy.cmd [/T|/Y] [/M:ComputerName] [/U:UserName] [/P:Password] [/G:UseTempAgent] [Additional msdeploy.exe flags ...] - - -=========================== -Required Flags: --------------------------- -/T: - Calls msdeploy.exe with the "-whatif" flag, which simulates deployment. This does not deploy the package. Instead, it creates a report of what will happen when you actually deploy the package. -/Y: - Calls msdeploy.exe without the "-whatif" flag, which deploys the package to the current machine or a destination server. Use /Y after you have verified the output that was generated by using the /T flag. - -Note: Do not use /T and /Y in the same command. - -=========================== -Optional Flags: --------------------------- - By Default, this script deploy on the current machine where this script is called with current user credential without agent service. Only pass the following value for advance scenario. - -/M: - If this flag is not specified, the package is installed on the computer where the command is run. The Service URL can be in the following format: - https://:8172/MSDeploy.axd - This format requires that IIS 7 be installed on the destination server and that IIS 7 Web Management Service(WMSvc) and Web Deployment Handler be set up. - The service URL can also be in the following format: - http:///MSDeployAgentService - This format requires administrative rights on the destination server, and it requires that Web Deploy Remote Service (MsDepSvc) be installed on the destination server. IIS 7 does not have to be installed on the destination server. - -/U: -/P: -/G: - Specifies that the package is deployed by creating a temporary listener on the destination server. This requires no special installation on the destination server, but it requires you to be an administrator on that server. The default value of this flag is False. - -/A: - Specifies the type of authentication to be used. The possible values are NTLM and Basic. If the wmsvc provider setting is specified, the default authentication type is Basic; otherwise, the default authentication type is NTLM. - -/L - Specifies that the package is deployed to local IISExpress user instance. - -[Additional msdeploy.exe flags] - The msdeploy.exe command supports additional flags. You can include any of these additional flags in the "$(ProjectName).Deploy.cmd" file, and the flags are passed through to msdeploy.exe during execution. - Alternatively, you can specify additional flags by setting the "_MsDeployAdditionalFlags" environment variable. These settings are used by this batch file. - Note: Any flag value that includes an equal sign (=) must be enclosed in double quotation marks, as shown in the following example, which will skip deploying the databases that are included in the package: - "-skip:objectName=dbFullSql" - -=========================== -Environment-Specific Settings: --------------------------- - - To customize application-specific settings for each deployment environment (for example, the IIS application name, the physical path, and any connection strings), edit the settings in the following file: - "SP_GMW_TestTerm.SetParameters.xml" -=========================== -For more information on this deploy script visit: http://go.microsoft.com/fwlink/?LinkID=183544 - diff --git a/ReleaseClienti/SP_test/SP_GMW_TestTerm.deploy.cmd b/ReleaseClienti/SP_test/SP_GMW_TestTerm.deploy.cmd deleted file mode 100644 index f59f5f74..00000000 --- a/ReleaseClienti/SP_test/SP_GMW_TestTerm.deploy.cmd +++ /dev/null @@ -1,311 +0,0 @@ -@rem --------------------------------------------------------------------------------- -@rem Copyright 2008 Microsoft Corporation. All rights reserved. -@rem This is provided as sample to deploy the package using msdeploy.exe -@rem For information about IIS Web Deploy technology, -@rem please visit http://go.microsoft.com/?linkid=9278654 -@rem Note: This batch file assumes the package and setparametsrs.xml are in the same folder with this file -@rem --------------------------------------------------------------------------------- -@if %_echo%!==! echo off -setlocal -@rem --------------------------------------------------------------------------------- -@rem Please Make sure you have Web Deploy install in your machine. -@rem Alternatively, you can explicit set the MsDeployPath to the location it is on your machine -@rem set MSDeployPath="C:\Program Files (x86)\IIS\Microsoft Web Deploy V3\" -@rem --------------------------------------------------------------------------------- - -@rem --------------------------------------------------------------------------------- -@rem if user does not set MsDeployPath environment variable, we will try to retrieve it from registry. -@rem --------------------------------------------------------------------------------- -if "%MSDeployPath%" == "" ( -for /F "usebackq tokens=1,2,*" %%h in (`reg query "HKLM\SOFTWARE\Microsoft\IIS Extensions\MSDeploy" /s ^| findstr -i "InstallPath"`) do ( -if /I "%%h" == "InstallPath" ( -if /I "%%i" == "REG_SZ" ( -if not "%%j" == "" ( -if "%%~dpj" == "%%j" ( -set MSDeployPath=%%j -)))))) - -@rem ------------------------------------------ - -@rem ------------------------------------------ - - -if not exist "%MSDeployPath%msdeploy.exe" ( -echo. msdeploy.exe is not found on this machine. Please install Web Deploy before execute the script. -echo. Please visit http://go.microsoft.com/?linkid=9278654 -goto :usage -) - -set RootPath=%~dp0 -if /I "%_DeploySetParametersFile%" == "" ( -set _DeploySetParametersFile=%RootPath%SP_GMW_TestTerm.SetParameters.xml -) - -@rem ------------------------------------------ - -@rem ------------------------------------------ - - -set _ArgTestDeploy= -set _ArgDestinationType=auto -set _ArgComputerNameWithQuote="" -set _ArgUserNameWithQuote="" -set _ArgPasswordWithQuote="" -set _ArgEncryptPasswordWithQuote="" -set _ArgIncludeAclsWithQuote="False" -set _ArgAuthTypeWithQuote="" -set _ArgtempAgentWithQuote="" -set _ArgLocalIIS= -set _ArgLocalIISVersion= -set _HaveArgMSDeployAdditonalFlags= - - -@rem --------------------------------------------------------------------------------- -@rem Simple Parse the arguments -@rem --------------------------------------------------------------------------------- -:NextArgument -set _ArgCurrent=%~1 -set _ArgFlagFirst=%_ArgCurrent:~0,1% -set _ArgFlag=%_ArgCurrent:~0,3% -set _ArgValue=%_ArgCurrent:~3% - -if /I "%_ArgFlag%" == "" goto :GetStarted -if /I "%_ArgFlag%" == "~0,3" goto :GetStarted -if /I "%_ArgFlag%" == "/T" set _ArgTestDeploy=true&goto :ArgumentOK -if /I "%_ArgFlag%" == "/Y" set _ArgTestDeploy=false&goto :ArgumentOK -if /I "%_ArgFlag%" == "/L" set _ArgLocalIIS=true&goto :ArgumentOK - -if /I "%_ArgFlag%" == "/M:" set _ArgComputerNameWithQuote="%_ArgValue%"&goto :ArgumentOK -if /I "%_ArgFlag%" == "/U:" set _ArgUserNameWithQuote="%_ArgValue%"&goto :ArgumentOK -if /I "%_ArgFlag%" == "/P:" set _ArgPasswordWithQuote="%_ArgValue%"&goto :ArgumentOK -if /I "%_ArgFlag%" == "/E:" set _ArgEncryptPasswordWithQuote="%_ArgValue%"&goto :ArgumentOK -if /I "%_ArgFlag%" == "/I:" set _ArgIncludeAclsWithQuote="%_ArgValue%"&goto :ArgumentOK -if /I "%_ArgFlag%" == "/A:" set _ArgAuthTypeWithQuote="%_ArgValue%"&goto :ArgumentOK -if /I "%_ArgFlag%" == "/G:" set _ArgtempAgentWithQuote="%_ArgValue%"&goto :ArgumentOK - -@rem Any addition flags, pass through to the msdeploy -if "%_HaveArgMSDeployAdditonalFlags%" == "" ( -goto :Assign_ArgMsDeployAdditionalFlags -) -set _ArgMsDeployAdditionalFlags=%_ArgMsDeployAdditionalFlags:&=^&% %_ArgCurrent:&=^&% -set _HaveArgMSDeployAdditonalFlags=1 -goto :ArgumentOK - - -:Assign_ArgMsDeployAdditionalFlags -set _ArgMsDeployAdditionalFlags=%_ArgCurrent:&=^&% -set _HaveArgMSDeployAdditonalFlags=1 -goto :ArgumentOK - -:ArgumentOK -shift -goto :NextArgument - -:GetStarted -@rem ------------------------------------------ - -@rem ------------------------------------------ -if /I "%_ArgTestDeploy%" == "" goto :usage -if /I "%_ArgDestinationType%" == "" goto :usage - -set _Destination=%_ArgDestinationType% -if not %_ArgComputerNameWithQuote% == "" set _Destination=%_Destination%,computerName=%_ArgComputerNameWithQuote% -if not %_ArgUserNameWithQuote% == "" set _Destination=%_Destination%,userName=%_ArgUserNameWithQuote% -if not %_ArgPasswordWithQuote% == "" set _Destination=%_Destination%,password=%_ArgPasswordWithQuote% -if not %_ArgAuthTypeWithQuote% == "" set _Destination=%_Destination%,authtype=%_ArgAuthTypeWithQuote% -if not %_ArgEncryptPasswordWithQuote% == "" set _Destination=%_Destination%,encryptPassword=%_ArgEncryptPasswordWithQuote% -if not %_ArgIncludeAclsWithQuote% == "" set _Destination=%_Destination%,includeAcls=%_ArgIncludeAclsWithQuote% -if not %_ArgtempAgentWithQuote% == "" set _Destination=%_Destination%,tempAgent=%_ArgtempAgentWithQuote% - -@rem ------------------------------------------ - -@rem ------------------------------------------ - - -@rem --------------------------------------------------------------------------------- -@rem add -whatif when -T is specified -@rem --------------------------------------------------------------------------------- -if /I "%_ArgTestDeploy%" NEQ "false" ( -set _MsDeployAdditionalFlags=-whatif %_MsDeployAdditionalFlags% -) - -@rem ------------------------------------------ - -@rem ------------------------------------------ - -@rem --------------------------------------------------------------------------------- -@rem add flags for IISExpress when -L is specified -@rem --------------------------------------------------------------------------------- - -if /I "%_ArgLocalIIS%" == "true" ( -call :SetIISExpressArguments -) -if /I "%_ArgLocalIIS%" == "true" ( -if not exist "%IISExpressPath%%IISExpressManifest%" ( -echo. IISExpress is not found on this machine. Please install through Web Platform Installer before execute the script. -echo. or remove /L flag -echo. Please visit http://go.microsoft.com/?linkid=9278654 -goto :usage -) -if not exist "%IISExpressUserProfileDirectory%" ( -echo. %IISExpressUserProfileDirectory% is not exists -echo. IISExpress is found on the machine. But the user have run IISExpress at least once. -echo. Please visit http://go.microsoft.com/?linkid=9278654 for detail -goto :usage -) - -set _MsDeployAdditionalFlags=%_MsDeployAdditionalFlags% -appHostConfigDir:%IISExpressUserProfileDirectory% -WebServerDir:"%IISExpressPath%" -webServerManifest:"%IISExpressManifest%" -) - -@rem --------------------------------------------------------------------------------- -@rem check the existence of the package file -@rem --------------------------------------------------------------------------------- -if not exist "%RootPath%SP_GMW_TestTerm.zip" ( -echo "%RootPath%SP_GMW_TestTerm.zip" does not exist. -echo This batch file relies on this deploy source file^(s^) in the same folder. -goto :usage -) - -@rem --------------------------------------------- - -@rem --------------------------------------------- - -@rem --------------------------------------------------------------------------------- -@rem Execute msdeploy.exe command line -@rem --------------------------------------------------------------------------------- -call :CheckParameterFile -echo. Start executing msdeploy.exe -echo ------------------------------------------------------- -if not exist "%_DeploySetParametersFile%" ( -set _MSDeployCommandline="%MSDeployPath%msdeploy.exe" -source:package='%RootPath%SP_GMW_TestTerm.zip' -dest:%_Destination% -verb:sync -disableLink:AppPoolExtension -disableLink:ContentExtension -disableLink:CertificateExtension -skip:objectname='dirPath',absolutepath='obj\\Release\\Package\\PackageTmp\\App_Data$' -skip:objectname='dirPath',absolutepath='Default Web Site/GMW_TestTerm\\App_Data$' -) else ( -set _MSDeployCommandline="%MSDeployPath%msdeploy.exe" -source:package='%RootPath%SP_GMW_TestTerm.zip' -dest:%_Destination% -verb:sync -disableLink:AppPoolExtension -disableLink:ContentExtension -disableLink:CertificateExtension -skip:objectname='dirPath',absolutepath='obj\\Release\\Package\\PackageTmp\\App_Data$' -skip:objectname='dirPath',absolutepath='Default Web Site/GMW_TestTerm\\App_Data$' -setParamFile:"%_DeploySetParametersFile%" -) - -if "%_HaveArgMSDeployAdditonalFlags%" == "" ( -goto :MSDeployWithOutArgMsDeployAdditionalFlag -) -goto :MSDeployWithArgMsDeployAdditionalFlag -goto :eof - -@rem --------------------------------------------------------------------------------- -@rem MSDeployWithArgMsDeployAdditionalFlag -@rem --------------------------------------------------------------------------------- -:MSDeployWithArgMsDeployAdditionalFlag -echo. %_MSDeployCommandline% %_MsDeployAdditionalFlags% %_ArgMsDeployAdditionalFlags:&=^&% -%_MSDeployCommandline% %_MsDeployAdditionalFlags% %_ArgMsDeployAdditionalFlags:&=^&% -goto :eof - -@rem --------------------------------------------------------------------------------- -@rem MSDeployWithOutArgMsDeployAdditionalFlag -@rem --------------------------------------------------------------------------------- -:MSDeployWithOutArgMsDeployAdditionalFlag -echo. %_MSDeployCommandline% %_MsDeployAdditionalFlags% -%_MSDeployCommandline% %_MsDeployAdditionalFlags% -goto :eof - -@rem --------------------------------------------------------------------------------- -@rem Find and set IISExpress argument. -@rem --------------------------------------------------------------------------------- -:SetIISExpressArguments - -if "%IISExpressPath%" == "" ( -for /F "usebackq tokens=1,2,*" %%h in (`reg query "HKLM\SOFTWARE\Microsoft\IISExpress" /s ^| findstr -i "InstallPath"`) do ( -if /I "%%h" == "InstallPath" ( -if /I "%%i" == "REG_SZ" ( -if not "%%j" == "" ( -if "%%~dpj" == "%%j" ( -set IISExpressPath=%%j -)))))) - -if "%IISExpressPath%" == "" ( -for /F "usebackq tokens=1,2,*" %%h in (`reg query "HKLM\SOFTWARE\Wow6432Node\Microsoft\IISExpress" /s ^| findstr -i "InstallPath"`) do ( -if /I "%%h" == "InstallPath" ( -if /I "%%i" == "REG_SZ" ( -if not "%%j" == "" ( -if "%%~dpj" == "%%j" ( -set IISExpressPath=%%j -)))))) - -if "%PersonalDocumentFolder%" == "" ( -for /F "usebackq tokens=2*" %%i in (`reg query "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders" /v Personal`) do ( -set PersonalDocumentFolder=%%j -)) - -if "%IISExpressManifest%" == "" ( -for /F "usebackq tokens=1,2,*" %%h in (`reg query "HKLM\SOFTWARE\Microsoft\IISExpress" /s ^| findstr -i "Manifest"`) do ( -if /I "%%h" == "Manifest" ( -if /I "%%i" == "REG_SZ" ( -if not "%%j" == "" ( -set IISExpressManifest=%%j -))))) - -if "%IISExpressManifest%" == "" ( -for /F "usebackq tokens=1,2,*" %%h in (`reg query "HKLM\SOFTWARE\Wow6432Node\Microsoft\IISExpress" /s ^| findstr -i "Manifest"`) do ( -if /I "%%h" == "Manifest" ( -if /I "%%i" == "REG_SZ" ( -if not "%%j" == "" ( -set IISExpressManifest=%%j -))))) - -set IISExpressUserProfileDirectory="%PersonalDocumentFolder%\IISExpress\config" - -@rem --------------------------------------------- - -@rem --------------------------------------------- - -goto :eof - -@rem --------------------------------------------------------------------------------- -@rem CheckParameterFile -- check if the package's setparamters.xml exists or not -@rem --------------------------------------------------------------------------------- -:CheckParameterFile -if exist "%_DeploySetParametersFile%" ( -echo SetParameters from: -echo "%_DeploySetParametersFile%" -echo You can change IIS Application Name, Physical path, connectionString -echo or other deploy parameters in the above file. -) else ( -echo SetParamterFiles does not exist in package location. -echo Use package embedded defaultValue to deploy. -) -echo ------------------------------------------------------- -goto :eof - -@rem --------------------------------------------------------------------------------- -@rem Usage -@rem --------------------------------------------------------------------------------- -:usage -echo ========================================================= -if not exist "%RootPath%SP_GMW_TestTerm.deploy-readme.txt" ( -echo Usage:%~nx0 [/T^|/Y] [/M:ComputerName] [/U:userName] [/P:password] [/G:tempAgent] [additional msdeploy flags ...] -echo Required flags: -echo /T Calls msdeploy.exe with the "-whatif" flag, which simulates deployment. -echo /Y Calls msdeploy.exe without the "-whatif" flag, which deploys the package to the current machine or destination server -echo Optional flags: -echo. By Default, this script deploy to the current machine where this script is invoked which will use current user credential without tempAgent. -echo. Only pass these arguments when in advance scenario. -echo /M: Msdeploy destination name of remote computer or proxy-URL. Default is local. -echo /U: Msdeploy destination user name. -echo /P: Msdeploy destination password. -echo /G: Msdeploy destination tempAgent. True or False. Default is false. -echo /A: specifies the type of authentication to be used. The possible values are NTLM and Basic. If the wmsvc provider setting is specified, the default authentication type is Basic -otherwise, the default authentication type is NTLM. -echo /L: Deploy to Local IISExpress User Instance. - -echo.[additional msdeploy flags]: note: " is required for passing = through command line. -echo "-skip:objectName=setAcl" "-skip:objectName=dbFullSql" -echo.Alternative environment variable _MsDeployAdditionalFlags is also honored. -echo. -echo. Please make sure MSDeploy is installed in the box http://go.microsoft.com/?linkid=9278654 -echo. -echo In addition, you can change IIS Application Name, Physical path, -echo connectionString and other deploy parameters in the following file: -echo "%_DeploySetParametersFile%" -echo. -echo For more information about this batch file, visit http://go.microsoft.com/fwlink/?LinkID=183544 -) else ( -start notepad "%RootPath%SP_GMW_TestTerm.deploy-readme.txt" -) -echo ========================================================= -goto :eof diff --git a/ReleaseClienti/SP_test/SP_GMW_TestTerm.zip b/ReleaseClienti/SP_test/SP_GMW_TestTerm.zip deleted file mode 100644 index ac64f540..00000000 Binary files a/ReleaseClienti/SP_test/SP_GMW_TestTerm.zip and /dev/null differ diff --git a/ReleaseClienti/TK_prod/GMW.SetParameters.xml b/ReleaseClienti/TK_prod/GMW.SetParameters.xml deleted file mode 100644 index 70858a9d..00000000 --- a/ReleaseClienti/TK_prod/GMW.SetParameters.xml +++ /dev/null @@ -1,5 +0,0 @@ - - - - - \ No newline at end of file diff --git a/ReleaseClienti/TK_prod/GMW.SourceManifest.xml b/ReleaseClienti/TK_prod/GMW.SourceManifest.xml deleted file mode 100644 index edab7a3d..00000000 --- a/ReleaseClienti/TK_prod/GMW.SourceManifest.xml +++ /dev/null @@ -1,6 +0,0 @@ - - - - - - \ No newline at end of file diff --git a/ReleaseClienti/TK_prod/GMW.deploy-readme.txt b/ReleaseClienti/TK_prod/GMW.deploy-readme.txt deleted file mode 100644 index 2b1a7c3e..00000000 --- a/ReleaseClienti/TK_prod/GMW.deploy-readme.txt +++ /dev/null @@ -1,63 +0,0 @@ - -=========================== -Prerequisites : --------------------------- -To deploy this Web package, Web Deploy (msdeploy.exe) must be installed on the computer that runs the .cmd file. For information about how to install Web Deploy, see the following URL: -http://go.microsoft.com/?linkid=9278654 -This batch file requires that the package file "GMW.zip" and optionally provided the parameters file "GMW.SetParameters.xml" in the same folder or destination folder by environment variable. - -=========================== -Usage: --------------------------- -GMW.deploy.cmd [/T|/Y] [/M:ComputerName] [/U:UserName] [/P:Password] [/G:UseTempAgent] [Additional msdeploy.exe flags ...] - - -=========================== -Required Flags: --------------------------- -/T: - Calls msdeploy.exe with the "-whatif" flag, which simulates deployment. This does not deploy the package. Instead, it creates a report of what will happen when you actually deploy the package. -/Y: - Calls msdeploy.exe without the "-whatif" flag, which deploys the package to the current machine or a destination server. Use /Y after you have verified the output that was generated by using the /T flag. - -Note: Do not use /T and /Y in the same command. - -=========================== -Optional Flags: --------------------------- - By Default, this script deploy on the current machine where this script is called with current user credential without agent service. Only pass the following value for advance scenario. - -/M: - If this flag is not specified, the package is installed on the computer where the command is run. The Service URL can be in the following format: - https://:8172/MSDeploy.axd - This format requires that IIS 7 be installed on the destination server and that IIS 7 Web Management Service(WMSvc) and Web Deployment Handler be set up. - The service URL can also be in the following format: - http:///MSDeployAgentService - This format requires administrative rights on the destination server, and it requires that Web Deploy Remote Service (MsDepSvc) be installed on the destination server. IIS 7 does not have to be installed on the destination server. - -/U: -/P: -/G: - Specifies that the package is deployed by creating a temporary listener on the destination server. This requires no special installation on the destination server, but it requires you to be an administrator on that server. The default value of this flag is False. - -/A: - Specifies the type of authentication to be used. The possible values are NTLM and Basic. If the wmsvc provider setting is specified, the default authentication type is Basic; otherwise, the default authentication type is NTLM. - -/L - Specifies that the package is deployed to local IISExpress user instance. - -[Additional msdeploy.exe flags] - The msdeploy.exe command supports additional flags. You can include any of these additional flags in the "$(ProjectName).Deploy.cmd" file, and the flags are passed through to msdeploy.exe during execution. - Alternatively, you can specify additional flags by setting the "_MsDeployAdditionalFlags" environment variable. These settings are used by this batch file. - Note: Any flag value that includes an equal sign (=) must be enclosed in double quotation marks, as shown in the following example, which will skip deploying the databases that are included in the package: - "-skip:objectName=dbFullSql" - -=========================== -Environment-Specific Settings: --------------------------- - - To customize application-specific settings for each deployment environment (for example, the IIS application name, the physical path, and any connection strings), edit the settings in the following file: - "GMW.SetParameters.xml" -=========================== -For more information on this deploy script visit: http://go.microsoft.com/fwlink/?LinkID=183544 - diff --git a/ReleaseClienti/TK_prod/GMW.deploy.cmd b/ReleaseClienti/TK_prod/GMW.deploy.cmd deleted file mode 100644 index 2b152b4c..00000000 --- a/ReleaseClienti/TK_prod/GMW.deploy.cmd +++ /dev/null @@ -1,311 +0,0 @@ -@rem --------------------------------------------------------------------------------- -@rem Copyright 2008 Microsoft Corporation. All rights reserved. -@rem This is provided as sample to deploy the package using msdeploy.exe -@rem For information about IIS Web Deploy technology, -@rem please visit http://go.microsoft.com/?linkid=9278654 -@rem Note: This batch file assumes the package and setparametsrs.xml are in the same folder with this file -@rem --------------------------------------------------------------------------------- -@if %_echo%!==! echo off -setlocal -@rem --------------------------------------------------------------------------------- -@rem Please Make sure you have Web Deploy install in your machine. -@rem Alternatively, you can explicit set the MsDeployPath to the location it is on your machine -@rem set MSDeployPath="C:\Program Files (x86)\IIS\Microsoft Web Deploy V3\" -@rem --------------------------------------------------------------------------------- - -@rem --------------------------------------------------------------------------------- -@rem if user does not set MsDeployPath environment variable, we will try to retrieve it from registry. -@rem --------------------------------------------------------------------------------- -if "%MSDeployPath%" == "" ( -for /F "usebackq tokens=1,2,*" %%h in (`reg query "HKLM\SOFTWARE\Microsoft\IIS Extensions\MSDeploy" /s ^| findstr -i "InstallPath"`) do ( -if /I "%%h" == "InstallPath" ( -if /I "%%i" == "REG_SZ" ( -if not "%%j" == "" ( -if "%%~dpj" == "%%j" ( -set MSDeployPath=%%j -)))))) - -@rem ------------------------------------------ - -@rem ------------------------------------------ - - -if not exist "%MSDeployPath%msdeploy.exe" ( -echo. msdeploy.exe is not found on this machine. Please install Web Deploy before execute the script. -echo. Please visit http://go.microsoft.com/?linkid=9278654 -goto :usage -) - -set RootPath=%~dp0 -if /I "%_DeploySetParametersFile%" == "" ( -set _DeploySetParametersFile=%RootPath%GMW.SetParameters.xml -) - -@rem ------------------------------------------ - -@rem ------------------------------------------ - - -set _ArgTestDeploy= -set _ArgDestinationType=auto -set _ArgComputerNameWithQuote="" -set _ArgUserNameWithQuote="" -set _ArgPasswordWithQuote="" -set _ArgEncryptPasswordWithQuote="" -set _ArgIncludeAclsWithQuote="False" -set _ArgAuthTypeWithQuote="" -set _ArgtempAgentWithQuote="" -set _ArgLocalIIS= -set _ArgLocalIISVersion= -set _HaveArgMSDeployAdditonalFlags= - - -@rem --------------------------------------------------------------------------------- -@rem Simple Parse the arguments -@rem --------------------------------------------------------------------------------- -:NextArgument -set _ArgCurrent=%~1 -set _ArgFlagFirst=%_ArgCurrent:~0,1% -set _ArgFlag=%_ArgCurrent:~0,3% -set _ArgValue=%_ArgCurrent:~3% - -if /I "%_ArgFlag%" == "" goto :GetStarted -if /I "%_ArgFlag%" == "~0,3" goto :GetStarted -if /I "%_ArgFlag%" == "/T" set _ArgTestDeploy=true&goto :ArgumentOK -if /I "%_ArgFlag%" == "/Y" set _ArgTestDeploy=false&goto :ArgumentOK -if /I "%_ArgFlag%" == "/L" set _ArgLocalIIS=true&goto :ArgumentOK - -if /I "%_ArgFlag%" == "/M:" set _ArgComputerNameWithQuote="%_ArgValue%"&goto :ArgumentOK -if /I "%_ArgFlag%" == "/U:" set _ArgUserNameWithQuote="%_ArgValue%"&goto :ArgumentOK -if /I "%_ArgFlag%" == "/P:" set _ArgPasswordWithQuote="%_ArgValue%"&goto :ArgumentOK -if /I "%_ArgFlag%" == "/E:" set _ArgEncryptPasswordWithQuote="%_ArgValue%"&goto :ArgumentOK -if /I "%_ArgFlag%" == "/I:" set _ArgIncludeAclsWithQuote="%_ArgValue%"&goto :ArgumentOK -if /I "%_ArgFlag%" == "/A:" set _ArgAuthTypeWithQuote="%_ArgValue%"&goto :ArgumentOK -if /I "%_ArgFlag%" == "/G:" set _ArgtempAgentWithQuote="%_ArgValue%"&goto :ArgumentOK - -@rem Any addition flags, pass through to the msdeploy -if "%_HaveArgMSDeployAdditonalFlags%" == "" ( -goto :Assign_ArgMsDeployAdditionalFlags -) -set _ArgMsDeployAdditionalFlags=%_ArgMsDeployAdditionalFlags:&=^&% %_ArgCurrent:&=^&% -set _HaveArgMSDeployAdditonalFlags=1 -goto :ArgumentOK - - -:Assign_ArgMsDeployAdditionalFlags -set _ArgMsDeployAdditionalFlags=%_ArgCurrent:&=^&% -set _HaveArgMSDeployAdditonalFlags=1 -goto :ArgumentOK - -:ArgumentOK -shift -goto :NextArgument - -:GetStarted -@rem ------------------------------------------ - -@rem ------------------------------------------ -if /I "%_ArgTestDeploy%" == "" goto :usage -if /I "%_ArgDestinationType%" == "" goto :usage - -set _Destination=%_ArgDestinationType% -if not %_ArgComputerNameWithQuote% == "" set _Destination=%_Destination%,computerName=%_ArgComputerNameWithQuote% -if not %_ArgUserNameWithQuote% == "" set _Destination=%_Destination%,userName=%_ArgUserNameWithQuote% -if not %_ArgPasswordWithQuote% == "" set _Destination=%_Destination%,password=%_ArgPasswordWithQuote% -if not %_ArgAuthTypeWithQuote% == "" set _Destination=%_Destination%,authtype=%_ArgAuthTypeWithQuote% -if not %_ArgEncryptPasswordWithQuote% == "" set _Destination=%_Destination%,encryptPassword=%_ArgEncryptPasswordWithQuote% -if not %_ArgIncludeAclsWithQuote% == "" set _Destination=%_Destination%,includeAcls=%_ArgIncludeAclsWithQuote% -if not %_ArgtempAgentWithQuote% == "" set _Destination=%_Destination%,tempAgent=%_ArgtempAgentWithQuote% - -@rem ------------------------------------------ - -@rem ------------------------------------------ - - -@rem --------------------------------------------------------------------------------- -@rem add -whatif when -T is specified -@rem --------------------------------------------------------------------------------- -if /I "%_ArgTestDeploy%" NEQ "false" ( -set _MsDeployAdditionalFlags=-whatif %_MsDeployAdditionalFlags% -) - -@rem ------------------------------------------ - -@rem ------------------------------------------ - -@rem --------------------------------------------------------------------------------- -@rem add flags for IISExpress when -L is specified -@rem --------------------------------------------------------------------------------- - -if /I "%_ArgLocalIIS%" == "true" ( -call :SetIISExpressArguments -) -if /I "%_ArgLocalIIS%" == "true" ( -if not exist "%IISExpressPath%%IISExpressManifest%" ( -echo. IISExpress is not found on this machine. Please install through Web Platform Installer before execute the script. -echo. or remove /L flag -echo. Please visit http://go.microsoft.com/?linkid=9278654 -goto :usage -) -if not exist "%IISExpressUserProfileDirectory%" ( -echo. %IISExpressUserProfileDirectory% is not exists -echo. IISExpress is found on the machine. But the user have run IISExpress at least once. -echo. Please visit http://go.microsoft.com/?linkid=9278654 for detail -goto :usage -) - -set _MsDeployAdditionalFlags=%_MsDeployAdditionalFlags% -appHostConfigDir:%IISExpressUserProfileDirectory% -WebServerDir:"%IISExpressPath%" -webServerManifest:"%IISExpressManifest%" -) - -@rem --------------------------------------------------------------------------------- -@rem check the existence of the package file -@rem --------------------------------------------------------------------------------- -if not exist "%RootPath%GMW.zip" ( -echo "%RootPath%GMW.zip" does not exist. -echo This batch file relies on this deploy source file^(s^) in the same folder. -goto :usage -) - -@rem --------------------------------------------- - -@rem --------------------------------------------- - -@rem --------------------------------------------------------------------------------- -@rem Execute msdeploy.exe command line -@rem --------------------------------------------------------------------------------- -call :CheckParameterFile -echo. Start executing msdeploy.exe -echo ------------------------------------------------------- -if not exist "%_DeploySetParametersFile%" ( -set _MSDeployCommandline="%MSDeployPath%msdeploy.exe" -source:package='%RootPath%GMW.zip' -dest:%_Destination% -verb:sync -disableLink:AppPoolExtension -disableLink:ContentExtension -disableLink:CertificateExtension -skip:objectname='dirPath',absolutepath='obj\\TK_prod\\Package\\PackageTmp\\App_Data$' -skip:objectname='dirPath',absolutepath='Default\ Web\ Site/GMW\\App_Data$' -) else ( -set _MSDeployCommandline="%MSDeployPath%msdeploy.exe" -source:package='%RootPath%GMW.zip' -dest:%_Destination% -verb:sync -disableLink:AppPoolExtension -disableLink:ContentExtension -disableLink:CertificateExtension -skip:objectname='dirPath',absolutepath='obj\\TK_prod\\Package\\PackageTmp\\App_Data$' -skip:objectname='dirPath',absolutepath='Default\ Web\ Site/GMW\\App_Data$' -setParamFile:"%_DeploySetParametersFile%" -) - -if "%_HaveArgMSDeployAdditonalFlags%" == "" ( -goto :MSDeployWithOutArgMsDeployAdditionalFlag -) -goto :MSDeployWithArgMsDeployAdditionalFlag -goto :eof - -@rem --------------------------------------------------------------------------------- -@rem MSDeployWithArgMsDeployAdditionalFlag -@rem --------------------------------------------------------------------------------- -:MSDeployWithArgMsDeployAdditionalFlag -echo. %_MSDeployCommandline% %_MsDeployAdditionalFlags% %_ArgMsDeployAdditionalFlags:&=^&% -%_MSDeployCommandline% %_MsDeployAdditionalFlags% %_ArgMsDeployAdditionalFlags:&=^&% -goto :eof - -@rem --------------------------------------------------------------------------------- -@rem MSDeployWithOutArgMsDeployAdditionalFlag -@rem --------------------------------------------------------------------------------- -:MSDeployWithOutArgMsDeployAdditionalFlag -echo. %_MSDeployCommandline% %_MsDeployAdditionalFlags% -%_MSDeployCommandline% %_MsDeployAdditionalFlags% -goto :eof - -@rem --------------------------------------------------------------------------------- -@rem Find and set IISExpress argument. -@rem --------------------------------------------------------------------------------- -:SetIISExpressArguments - -if "%IISExpressPath%" == "" ( -for /F "usebackq tokens=1,2,*" %%h in (`reg query "HKLM\SOFTWARE\Microsoft\IISExpress" /s ^| findstr -i "InstallPath"`) do ( -if /I "%%h" == "InstallPath" ( -if /I "%%i" == "REG_SZ" ( -if not "%%j" == "" ( -if "%%~dpj" == "%%j" ( -set IISExpressPath=%%j -)))))) - -if "%IISExpressPath%" == "" ( -for /F "usebackq tokens=1,2,*" %%h in (`reg query "HKLM\SOFTWARE\Wow6432Node\Microsoft\IISExpress" /s ^| findstr -i "InstallPath"`) do ( -if /I "%%h" == "InstallPath" ( -if /I "%%i" == "REG_SZ" ( -if not "%%j" == "" ( -if "%%~dpj" == "%%j" ( -set IISExpressPath=%%j -)))))) - -if "%PersonalDocumentFolder%" == "" ( -for /F "usebackq tokens=2*" %%i in (`reg query "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders" /v Personal`) do ( -set PersonalDocumentFolder=%%j -)) - -if "%IISExpressManifest%" == "" ( -for /F "usebackq tokens=1,2,*" %%h in (`reg query "HKLM\SOFTWARE\Microsoft\IISExpress" /s ^| findstr -i "Manifest"`) do ( -if /I "%%h" == "Manifest" ( -if /I "%%i" == "REG_SZ" ( -if not "%%j" == "" ( -set IISExpressManifest=%%j -))))) - -if "%IISExpressManifest%" == "" ( -for /F "usebackq tokens=1,2,*" %%h in (`reg query "HKLM\SOFTWARE\Wow6432Node\Microsoft\IISExpress" /s ^| findstr -i "Manifest"`) do ( -if /I "%%h" == "Manifest" ( -if /I "%%i" == "REG_SZ" ( -if not "%%j" == "" ( -set IISExpressManifest=%%j -))))) - -set IISExpressUserProfileDirectory="%PersonalDocumentFolder%\IISExpress\config" - -@rem --------------------------------------------- - -@rem --------------------------------------------- - -goto :eof - -@rem --------------------------------------------------------------------------------- -@rem CheckParameterFile -- check if the package's setparamters.xml exists or not -@rem --------------------------------------------------------------------------------- -:CheckParameterFile -if exist "%_DeploySetParametersFile%" ( -echo SetParameters from: -echo "%_DeploySetParametersFile%" -echo You can change IIS Application Name, Physical path, connectionString -echo or other deploy parameters in the above file. -) else ( -echo SetParamterFiles does not exist in package location. -echo Use package embedded defaultValue to deploy. -) -echo ------------------------------------------------------- -goto :eof - -@rem --------------------------------------------------------------------------------- -@rem Usage -@rem --------------------------------------------------------------------------------- -:usage -echo ========================================================= -if not exist "%RootPath%GMW.deploy-readme.txt" ( -echo Usage:%~nx0 [/T^|/Y] [/M:ComputerName] [/U:userName] [/P:password] [/G:tempAgent] [additional msdeploy flags ...] -echo Required flags: -echo /T Calls msdeploy.exe with the "-whatif" flag, which simulates deployment. -echo /Y Calls msdeploy.exe without the "-whatif" flag, which deploys the package to the current machine or destination server -echo Optional flags: -echo. By Default, this script deploy to the current machine where this script is invoked which will use current user credential without tempAgent. -echo. Only pass these arguments when in advance scenario. -echo /M: Msdeploy destination name of remote computer or proxy-URL. Default is local. -echo /U: Msdeploy destination user name. -echo /P: Msdeploy destination password. -echo /G: Msdeploy destination tempAgent. True or False. Default is false. -echo /A: specifies the type of authentication to be used. The possible values are NTLM and Basic. If the wmsvc provider setting is specified, the default authentication type is Basic -otherwise, the default authentication type is NTLM. -echo /L: Deploy to Local IISExpress User Instance. - -echo.[additional msdeploy flags]: note: " is required for passing = through command line. -echo "-skip:objectName=setAcl" "-skip:objectName=dbFullSql" -echo.Alternative environment variable _MsDeployAdditionalFlags is also honored. -echo. -echo. Please make sure MSDeploy is installed in the box http://go.microsoft.com/?linkid=9278654 -echo. -echo In addition, you can change IIS Application Name, Physical path, -echo connectionString and other deploy parameters in the following file: -echo "%_DeploySetParametersFile%" -echo. -echo For more information about this batch file, visit http://go.microsoft.com/fwlink/?LinkID=183544 -) else ( -start notepad "%RootPath%GMW.deploy-readme.txt" -) -echo ========================================================= -goto :eof diff --git a/ReleaseClienti/TK_prod/GMW.zip b/ReleaseClienti/TK_prod/GMW.zip deleted file mode 100644 index e5f53ea9..00000000 Binary files a/ReleaseClienti/TK_prod/GMW.zip and /dev/null differ diff --git a/ReleaseClienti/TK_prod/TK_GMW_Term.SetParameters.xml b/ReleaseClienti/TK_prod/TK_GMW_Term.SetParameters.xml deleted file mode 100644 index bfdd9ae2..00000000 --- a/ReleaseClienti/TK_prod/TK_GMW_Term.SetParameters.xml +++ /dev/null @@ -1,5 +0,0 @@ - - - - - \ No newline at end of file diff --git a/ReleaseClienti/TK_prod/TK_GMW_Term.SourceManifest.xml b/ReleaseClienti/TK_prod/TK_GMW_Term.SourceManifest.xml deleted file mode 100644 index 6ce4223f..00000000 --- a/ReleaseClienti/TK_prod/TK_GMW_Term.SourceManifest.xml +++ /dev/null @@ -1,6 +0,0 @@ - - - - - - \ No newline at end of file diff --git a/ReleaseClienti/TK_prod/TK_GMW_Term.deploy-readme.txt b/ReleaseClienti/TK_prod/TK_GMW_Term.deploy-readme.txt deleted file mode 100644 index 06148b38..00000000 --- a/ReleaseClienti/TK_prod/TK_GMW_Term.deploy-readme.txt +++ /dev/null @@ -1,63 +0,0 @@ - -=========================== -Prerequisites : --------------------------- -To deploy this Web package, Web Deploy (msdeploy.exe) must be installed on the computer that runs the .cmd file. For information about how to install Web Deploy, see the following URL: -http://go.microsoft.com/?linkid=9278654 -This batch file requires that the package file "TK_GMW_Term.zip" and optionally provided the parameters file "TK_GMW_Term.SetParameters.xml" in the same folder or destination folder by environment variable. - -=========================== -Usage: --------------------------- -TK_GMW_Term.deploy.cmd [/T|/Y] [/M:ComputerName] [/U:UserName] [/P:Password] [/G:UseTempAgent] [Additional msdeploy.exe flags ...] - - -=========================== -Required Flags: --------------------------- -/T: - Calls msdeploy.exe with the "-whatif" flag, which simulates deployment. This does not deploy the package. Instead, it creates a report of what will happen when you actually deploy the package. -/Y: - Calls msdeploy.exe without the "-whatif" flag, which deploys the package to the current machine or a destination server. Use /Y after you have verified the output that was generated by using the /T flag. - -Note: Do not use /T and /Y in the same command. - -=========================== -Optional Flags: --------------------------- - By Default, this script deploy on the current machine where this script is called with current user credential without agent service. Only pass the following value for advance scenario. - -/M: - If this flag is not specified, the package is installed on the computer where the command is run. The Service URL can be in the following format: - https://:8172/MSDeploy.axd - This format requires that IIS 7 be installed on the destination server and that IIS 7 Web Management Service(WMSvc) and Web Deployment Handler be set up. - The service URL can also be in the following format: - http:///MSDeployAgentService - This format requires administrative rights on the destination server, and it requires that Web Deploy Remote Service (MsDepSvc) be installed on the destination server. IIS 7 does not have to be installed on the destination server. - -/U: -/P: -/G: - Specifies that the package is deployed by creating a temporary listener on the destination server. This requires no special installation on the destination server, but it requires you to be an administrator on that server. The default value of this flag is False. - -/A: - Specifies the type of authentication to be used. The possible values are NTLM and Basic. If the wmsvc provider setting is specified, the default authentication type is Basic; otherwise, the default authentication type is NTLM. - -/L - Specifies that the package is deployed to local IISExpress user instance. - -[Additional msdeploy.exe flags] - The msdeploy.exe command supports additional flags. You can include any of these additional flags in the "$(ProjectName).Deploy.cmd" file, and the flags are passed through to msdeploy.exe during execution. - Alternatively, you can specify additional flags by setting the "_MsDeployAdditionalFlags" environment variable. These settings are used by this batch file. - Note: Any flag value that includes an equal sign (=) must be enclosed in double quotation marks, as shown in the following example, which will skip deploying the databases that are included in the package: - "-skip:objectName=dbFullSql" - -=========================== -Environment-Specific Settings: --------------------------- - - To customize application-specific settings for each deployment environment (for example, the IIS application name, the physical path, and any connection strings), edit the settings in the following file: - "TK_GMW_Term.SetParameters.xml" -=========================== -For more information on this deploy script visit: http://go.microsoft.com/fwlink/?LinkID=183544 - diff --git a/ReleaseClienti/TK_prod/TK_GMW_Term.deploy.cmd b/ReleaseClienti/TK_prod/TK_GMW_Term.deploy.cmd deleted file mode 100644 index a7b353cb..00000000 --- a/ReleaseClienti/TK_prod/TK_GMW_Term.deploy.cmd +++ /dev/null @@ -1,311 +0,0 @@ -@rem --------------------------------------------------------------------------------- -@rem Copyright 2008 Microsoft Corporation. All rights reserved. -@rem This is provided as sample to deploy the package using msdeploy.exe -@rem For information about IIS Web Deploy technology, -@rem please visit http://go.microsoft.com/?linkid=9278654 -@rem Note: This batch file assumes the package and setparametsrs.xml are in the same folder with this file -@rem --------------------------------------------------------------------------------- -@if %_echo%!==! echo off -setlocal -@rem --------------------------------------------------------------------------------- -@rem Please Make sure you have Web Deploy install in your machine. -@rem Alternatively, you can explicit set the MsDeployPath to the location it is on your machine -@rem set MSDeployPath="C:\Program Files (x86)\IIS\Microsoft Web Deploy V3\" -@rem --------------------------------------------------------------------------------- - -@rem --------------------------------------------------------------------------------- -@rem if user does not set MsDeployPath environment variable, we will try to retrieve it from registry. -@rem --------------------------------------------------------------------------------- -if "%MSDeployPath%" == "" ( -for /F "usebackq tokens=1,2,*" %%h in (`reg query "HKLM\SOFTWARE\Microsoft\IIS Extensions\MSDeploy" /s ^| findstr -i "InstallPath"`) do ( -if /I "%%h" == "InstallPath" ( -if /I "%%i" == "REG_SZ" ( -if not "%%j" == "" ( -if "%%~dpj" == "%%j" ( -set MSDeployPath=%%j -)))))) - -@rem ------------------------------------------ - -@rem ------------------------------------------ - - -if not exist "%MSDeployPath%msdeploy.exe" ( -echo. msdeploy.exe is not found on this machine. Please install Web Deploy before execute the script. -echo. Please visit http://go.microsoft.com/?linkid=9278654 -goto :usage -) - -set RootPath=%~dp0 -if /I "%_DeploySetParametersFile%" == "" ( -set _DeploySetParametersFile=%RootPath%TK_GMW_Term.SetParameters.xml -) - -@rem ------------------------------------------ - -@rem ------------------------------------------ - - -set _ArgTestDeploy= -set _ArgDestinationType=auto -set _ArgComputerNameWithQuote="" -set _ArgUserNameWithQuote="" -set _ArgPasswordWithQuote="" -set _ArgEncryptPasswordWithQuote="" -set _ArgIncludeAclsWithQuote="False" -set _ArgAuthTypeWithQuote="" -set _ArgtempAgentWithQuote="" -set _ArgLocalIIS= -set _ArgLocalIISVersion= -set _HaveArgMSDeployAdditonalFlags= - - -@rem --------------------------------------------------------------------------------- -@rem Simple Parse the arguments -@rem --------------------------------------------------------------------------------- -:NextArgument -set _ArgCurrent=%~1 -set _ArgFlagFirst=%_ArgCurrent:~0,1% -set _ArgFlag=%_ArgCurrent:~0,3% -set _ArgValue=%_ArgCurrent:~3% - -if /I "%_ArgFlag%" == "" goto :GetStarted -if /I "%_ArgFlag%" == "~0,3" goto :GetStarted -if /I "%_ArgFlag%" == "/T" set _ArgTestDeploy=true&goto :ArgumentOK -if /I "%_ArgFlag%" == "/Y" set _ArgTestDeploy=false&goto :ArgumentOK -if /I "%_ArgFlag%" == "/L" set _ArgLocalIIS=true&goto :ArgumentOK - -if /I "%_ArgFlag%" == "/M:" set _ArgComputerNameWithQuote="%_ArgValue%"&goto :ArgumentOK -if /I "%_ArgFlag%" == "/U:" set _ArgUserNameWithQuote="%_ArgValue%"&goto :ArgumentOK -if /I "%_ArgFlag%" == "/P:" set _ArgPasswordWithQuote="%_ArgValue%"&goto :ArgumentOK -if /I "%_ArgFlag%" == "/E:" set _ArgEncryptPasswordWithQuote="%_ArgValue%"&goto :ArgumentOK -if /I "%_ArgFlag%" == "/I:" set _ArgIncludeAclsWithQuote="%_ArgValue%"&goto :ArgumentOK -if /I "%_ArgFlag%" == "/A:" set _ArgAuthTypeWithQuote="%_ArgValue%"&goto :ArgumentOK -if /I "%_ArgFlag%" == "/G:" set _ArgtempAgentWithQuote="%_ArgValue%"&goto :ArgumentOK - -@rem Any addition flags, pass through to the msdeploy -if "%_HaveArgMSDeployAdditonalFlags%" == "" ( -goto :Assign_ArgMsDeployAdditionalFlags -) -set _ArgMsDeployAdditionalFlags=%_ArgMsDeployAdditionalFlags:&=^&% %_ArgCurrent:&=^&% -set _HaveArgMSDeployAdditonalFlags=1 -goto :ArgumentOK - - -:Assign_ArgMsDeployAdditionalFlags -set _ArgMsDeployAdditionalFlags=%_ArgCurrent:&=^&% -set _HaveArgMSDeployAdditonalFlags=1 -goto :ArgumentOK - -:ArgumentOK -shift -goto :NextArgument - -:GetStarted -@rem ------------------------------------------ - -@rem ------------------------------------------ -if /I "%_ArgTestDeploy%" == "" goto :usage -if /I "%_ArgDestinationType%" == "" goto :usage - -set _Destination=%_ArgDestinationType% -if not %_ArgComputerNameWithQuote% == "" set _Destination=%_Destination%,computerName=%_ArgComputerNameWithQuote% -if not %_ArgUserNameWithQuote% == "" set _Destination=%_Destination%,userName=%_ArgUserNameWithQuote% -if not %_ArgPasswordWithQuote% == "" set _Destination=%_Destination%,password=%_ArgPasswordWithQuote% -if not %_ArgAuthTypeWithQuote% == "" set _Destination=%_Destination%,authtype=%_ArgAuthTypeWithQuote% -if not %_ArgEncryptPasswordWithQuote% == "" set _Destination=%_Destination%,encryptPassword=%_ArgEncryptPasswordWithQuote% -if not %_ArgIncludeAclsWithQuote% == "" set _Destination=%_Destination%,includeAcls=%_ArgIncludeAclsWithQuote% -if not %_ArgtempAgentWithQuote% == "" set _Destination=%_Destination%,tempAgent=%_ArgtempAgentWithQuote% - -@rem ------------------------------------------ - -@rem ------------------------------------------ - - -@rem --------------------------------------------------------------------------------- -@rem add -whatif when -T is specified -@rem --------------------------------------------------------------------------------- -if /I "%_ArgTestDeploy%" NEQ "false" ( -set _MsDeployAdditionalFlags=-whatif %_MsDeployAdditionalFlags% -) - -@rem ------------------------------------------ - -@rem ------------------------------------------ - -@rem --------------------------------------------------------------------------------- -@rem add flags for IISExpress when -L is specified -@rem --------------------------------------------------------------------------------- - -if /I "%_ArgLocalIIS%" == "true" ( -call :SetIISExpressArguments -) -if /I "%_ArgLocalIIS%" == "true" ( -if not exist "%IISExpressPath%%IISExpressManifest%" ( -echo. IISExpress is not found on this machine. Please install through Web Platform Installer before execute the script. -echo. or remove /L flag -echo. Please visit http://go.microsoft.com/?linkid=9278654 -goto :usage -) -if not exist "%IISExpressUserProfileDirectory%" ( -echo. %IISExpressUserProfileDirectory% is not exists -echo. IISExpress is found on the machine. But the user have run IISExpress at least once. -echo. Please visit http://go.microsoft.com/?linkid=9278654 for detail -goto :usage -) - -set _MsDeployAdditionalFlags=%_MsDeployAdditionalFlags% -appHostConfigDir:%IISExpressUserProfileDirectory% -WebServerDir:"%IISExpressPath%" -webServerManifest:"%IISExpressManifest%" -) - -@rem --------------------------------------------------------------------------------- -@rem check the existence of the package file -@rem --------------------------------------------------------------------------------- -if not exist "%RootPath%TK_GMW_Term.zip" ( -echo "%RootPath%TK_GMW_Term.zip" does not exist. -echo This batch file relies on this deploy source file^(s^) in the same folder. -goto :usage -) - -@rem --------------------------------------------- - -@rem --------------------------------------------- - -@rem --------------------------------------------------------------------------------- -@rem Execute msdeploy.exe command line -@rem --------------------------------------------------------------------------------- -call :CheckParameterFile -echo. Start executing msdeploy.exe -echo ------------------------------------------------------- -if not exist "%_DeploySetParametersFile%" ( -set _MSDeployCommandline="%MSDeployPath%msdeploy.exe" -source:package='%RootPath%TK_GMW_Term.zip' -dest:%_Destination% -verb:sync -disableLink:AppPoolExtension -disableLink:ContentExtension -disableLink:CertificateExtension -skip:objectname='dirPath',absolutepath='obj\\Release\\Package\\PackageTmp\\App_Data$' -skip:objectname='dirPath',absolutepath='Default\ Web\ Site/GMW_Term\\App_Data$' -) else ( -set _MSDeployCommandline="%MSDeployPath%msdeploy.exe" -source:package='%RootPath%TK_GMW_Term.zip' -dest:%_Destination% -verb:sync -disableLink:AppPoolExtension -disableLink:ContentExtension -disableLink:CertificateExtension -skip:objectname='dirPath',absolutepath='obj\\Release\\Package\\PackageTmp\\App_Data$' -skip:objectname='dirPath',absolutepath='Default\ Web\ Site/GMW_Term\\App_Data$' -setParamFile:"%_DeploySetParametersFile%" -) - -if "%_HaveArgMSDeployAdditonalFlags%" == "" ( -goto :MSDeployWithOutArgMsDeployAdditionalFlag -) -goto :MSDeployWithArgMsDeployAdditionalFlag -goto :eof - -@rem --------------------------------------------------------------------------------- -@rem MSDeployWithArgMsDeployAdditionalFlag -@rem --------------------------------------------------------------------------------- -:MSDeployWithArgMsDeployAdditionalFlag -echo. %_MSDeployCommandline% %_MsDeployAdditionalFlags% %_ArgMsDeployAdditionalFlags:&=^&% -%_MSDeployCommandline% %_MsDeployAdditionalFlags% %_ArgMsDeployAdditionalFlags:&=^&% -goto :eof - -@rem --------------------------------------------------------------------------------- -@rem MSDeployWithOutArgMsDeployAdditionalFlag -@rem --------------------------------------------------------------------------------- -:MSDeployWithOutArgMsDeployAdditionalFlag -echo. %_MSDeployCommandline% %_MsDeployAdditionalFlags% -%_MSDeployCommandline% %_MsDeployAdditionalFlags% -goto :eof - -@rem --------------------------------------------------------------------------------- -@rem Find and set IISExpress argument. -@rem --------------------------------------------------------------------------------- -:SetIISExpressArguments - -if "%IISExpressPath%" == "" ( -for /F "usebackq tokens=1,2,*" %%h in (`reg query "HKLM\SOFTWARE\Microsoft\IISExpress" /s ^| findstr -i "InstallPath"`) do ( -if /I "%%h" == "InstallPath" ( -if /I "%%i" == "REG_SZ" ( -if not "%%j" == "" ( -if "%%~dpj" == "%%j" ( -set IISExpressPath=%%j -)))))) - -if "%IISExpressPath%" == "" ( -for /F "usebackq tokens=1,2,*" %%h in (`reg query "HKLM\SOFTWARE\Wow6432Node\Microsoft\IISExpress" /s ^| findstr -i "InstallPath"`) do ( -if /I "%%h" == "InstallPath" ( -if /I "%%i" == "REG_SZ" ( -if not "%%j" == "" ( -if "%%~dpj" == "%%j" ( -set IISExpressPath=%%j -)))))) - -if "%PersonalDocumentFolder%" == "" ( -for /F "usebackq tokens=2*" %%i in (`reg query "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders" /v Personal`) do ( -set PersonalDocumentFolder=%%j -)) - -if "%IISExpressManifest%" == "" ( -for /F "usebackq tokens=1,2,*" %%h in (`reg query "HKLM\SOFTWARE\Microsoft\IISExpress" /s ^| findstr -i "Manifest"`) do ( -if /I "%%h" == "Manifest" ( -if /I "%%i" == "REG_SZ" ( -if not "%%j" == "" ( -set IISExpressManifest=%%j -))))) - -if "%IISExpressManifest%" == "" ( -for /F "usebackq tokens=1,2,*" %%h in (`reg query "HKLM\SOFTWARE\Wow6432Node\Microsoft\IISExpress" /s ^| findstr -i "Manifest"`) do ( -if /I "%%h" == "Manifest" ( -if /I "%%i" == "REG_SZ" ( -if not "%%j" == "" ( -set IISExpressManifest=%%j -))))) - -set IISExpressUserProfileDirectory="%PersonalDocumentFolder%\IISExpress\config" - -@rem --------------------------------------------- - -@rem --------------------------------------------- - -goto :eof - -@rem --------------------------------------------------------------------------------- -@rem CheckParameterFile -- check if the package's setparamters.xml exists or not -@rem --------------------------------------------------------------------------------- -:CheckParameterFile -if exist "%_DeploySetParametersFile%" ( -echo SetParameters from: -echo "%_DeploySetParametersFile%" -echo You can change IIS Application Name, Physical path, connectionString -echo or other deploy parameters in the above file. -) else ( -echo SetParamterFiles does not exist in package location. -echo Use package embedded defaultValue to deploy. -) -echo ------------------------------------------------------- -goto :eof - -@rem --------------------------------------------------------------------------------- -@rem Usage -@rem --------------------------------------------------------------------------------- -:usage -echo ========================================================= -if not exist "%RootPath%TK_GMW_Term.deploy-readme.txt" ( -echo Usage:%~nx0 [/T^|/Y] [/M:ComputerName] [/U:userName] [/P:password] [/G:tempAgent] [additional msdeploy flags ...] -echo Required flags: -echo /T Calls msdeploy.exe with the "-whatif" flag, which simulates deployment. -echo /Y Calls msdeploy.exe without the "-whatif" flag, which deploys the package to the current machine or destination server -echo Optional flags: -echo. By Default, this script deploy to the current machine where this script is invoked which will use current user credential without tempAgent. -echo. Only pass these arguments when in advance scenario. -echo /M: Msdeploy destination name of remote computer or proxy-URL. Default is local. -echo /U: Msdeploy destination user name. -echo /P: Msdeploy destination password. -echo /G: Msdeploy destination tempAgent. True or False. Default is false. -echo /A: specifies the type of authentication to be used. The possible values are NTLM and Basic. If the wmsvc provider setting is specified, the default authentication type is Basic -otherwise, the default authentication type is NTLM. -echo /L: Deploy to Local IISExpress User Instance. - -echo.[additional msdeploy flags]: note: " is required for passing = through command line. -echo "-skip:objectName=setAcl" "-skip:objectName=dbFullSql" -echo.Alternative environment variable _MsDeployAdditionalFlags is also honored. -echo. -echo. Please make sure MSDeploy is installed in the box http://go.microsoft.com/?linkid=9278654 -echo. -echo In addition, you can change IIS Application Name, Physical path, -echo connectionString and other deploy parameters in the following file: -echo "%_DeploySetParametersFile%" -echo. -echo For more information about this batch file, visit http://go.microsoft.com/fwlink/?LinkID=183544 -) else ( -start notepad "%RootPath%TK_GMW_Term.deploy-readme.txt" -) -echo ========================================================= -goto :eof diff --git a/ReleaseClienti/TK_prod/TK_GMW_Term.zip b/ReleaseClienti/TK_prod/TK_GMW_Term.zip deleted file mode 100644 index 542b3825..00000000 Binary files a/ReleaseClienti/TK_prod/TK_GMW_Term.zip and /dev/null differ diff --git a/ReleaseClienti/TK_test/GMW.SetParameters.xml b/ReleaseClienti/TK_test/GMW.SetParameters.xml deleted file mode 100644 index e8a1b16f..00000000 --- a/ReleaseClienti/TK_test/GMW.SetParameters.xml +++ /dev/null @@ -1,5 +0,0 @@ - - - - - \ No newline at end of file diff --git a/ReleaseClienti/TK_test/GMW.SourceManifest.xml b/ReleaseClienti/TK_test/GMW.SourceManifest.xml deleted file mode 100644 index 65152bae..00000000 --- a/ReleaseClienti/TK_test/GMW.SourceManifest.xml +++ /dev/null @@ -1,6 +0,0 @@ - - - - - - \ No newline at end of file diff --git a/ReleaseClienti/TK_test/GMW.deploy-readme.txt b/ReleaseClienti/TK_test/GMW.deploy-readme.txt deleted file mode 100644 index 2b1a7c3e..00000000 --- a/ReleaseClienti/TK_test/GMW.deploy-readme.txt +++ /dev/null @@ -1,63 +0,0 @@ - -=========================== -Prerequisites : --------------------------- -To deploy this Web package, Web Deploy (msdeploy.exe) must be installed on the computer that runs the .cmd file. For information about how to install Web Deploy, see the following URL: -http://go.microsoft.com/?linkid=9278654 -This batch file requires that the package file "GMW.zip" and optionally provided the parameters file "GMW.SetParameters.xml" in the same folder or destination folder by environment variable. - -=========================== -Usage: --------------------------- -GMW.deploy.cmd [/T|/Y] [/M:ComputerName] [/U:UserName] [/P:Password] [/G:UseTempAgent] [Additional msdeploy.exe flags ...] - - -=========================== -Required Flags: --------------------------- -/T: - Calls msdeploy.exe with the "-whatif" flag, which simulates deployment. This does not deploy the package. Instead, it creates a report of what will happen when you actually deploy the package. -/Y: - Calls msdeploy.exe without the "-whatif" flag, which deploys the package to the current machine or a destination server. Use /Y after you have verified the output that was generated by using the /T flag. - -Note: Do not use /T and /Y in the same command. - -=========================== -Optional Flags: --------------------------- - By Default, this script deploy on the current machine where this script is called with current user credential without agent service. Only pass the following value for advance scenario. - -/M: - If this flag is not specified, the package is installed on the computer where the command is run. The Service URL can be in the following format: - https://:8172/MSDeploy.axd - This format requires that IIS 7 be installed on the destination server and that IIS 7 Web Management Service(WMSvc) and Web Deployment Handler be set up. - The service URL can also be in the following format: - http:///MSDeployAgentService - This format requires administrative rights on the destination server, and it requires that Web Deploy Remote Service (MsDepSvc) be installed on the destination server. IIS 7 does not have to be installed on the destination server. - -/U: -/P: -/G: - Specifies that the package is deployed by creating a temporary listener on the destination server. This requires no special installation on the destination server, but it requires you to be an administrator on that server. The default value of this flag is False. - -/A: - Specifies the type of authentication to be used. The possible values are NTLM and Basic. If the wmsvc provider setting is specified, the default authentication type is Basic; otherwise, the default authentication type is NTLM. - -/L - Specifies that the package is deployed to local IISExpress user instance. - -[Additional msdeploy.exe flags] - The msdeploy.exe command supports additional flags. You can include any of these additional flags in the "$(ProjectName).Deploy.cmd" file, and the flags are passed through to msdeploy.exe during execution. - Alternatively, you can specify additional flags by setting the "_MsDeployAdditionalFlags" environment variable. These settings are used by this batch file. - Note: Any flag value that includes an equal sign (=) must be enclosed in double quotation marks, as shown in the following example, which will skip deploying the databases that are included in the package: - "-skip:objectName=dbFullSql" - -=========================== -Environment-Specific Settings: --------------------------- - - To customize application-specific settings for each deployment environment (for example, the IIS application name, the physical path, and any connection strings), edit the settings in the following file: - "GMW.SetParameters.xml" -=========================== -For more information on this deploy script visit: http://go.microsoft.com/fwlink/?LinkID=183544 - diff --git a/ReleaseClienti/TK_test/GMW.deploy.cmd b/ReleaseClienti/TK_test/GMW.deploy.cmd deleted file mode 100644 index ddd4199a..00000000 --- a/ReleaseClienti/TK_test/GMW.deploy.cmd +++ /dev/null @@ -1,311 +0,0 @@ -@rem --------------------------------------------------------------------------------- -@rem Copyright 2008 Microsoft Corporation. All rights reserved. -@rem This is provided as sample to deploy the package using msdeploy.exe -@rem For information about IIS Web Deploy technology, -@rem please visit http://go.microsoft.com/?linkid=9278654 -@rem Note: This batch file assumes the package and setparametsrs.xml are in the same folder with this file -@rem --------------------------------------------------------------------------------- -@if %_echo%!==! echo off -setlocal -@rem --------------------------------------------------------------------------------- -@rem Please Make sure you have Web Deploy install in your machine. -@rem Alternatively, you can explicit set the MsDeployPath to the location it is on your machine -@rem set MSDeployPath="C:\Program Files (x86)\IIS\Microsoft Web Deploy V3\" -@rem --------------------------------------------------------------------------------- - -@rem --------------------------------------------------------------------------------- -@rem if user does not set MsDeployPath environment variable, we will try to retrieve it from registry. -@rem --------------------------------------------------------------------------------- -if "%MSDeployPath%" == "" ( -for /F "usebackq tokens=1,2,*" %%h in (`reg query "HKLM\SOFTWARE\Microsoft\IIS Extensions\MSDeploy" /s ^| findstr -i "InstallPath"`) do ( -if /I "%%h" == "InstallPath" ( -if /I "%%i" == "REG_SZ" ( -if not "%%j" == "" ( -if "%%~dpj" == "%%j" ( -set MSDeployPath=%%j -)))))) - -@rem ------------------------------------------ - -@rem ------------------------------------------ - - -if not exist "%MSDeployPath%msdeploy.exe" ( -echo. msdeploy.exe is not found on this machine. Please install Web Deploy before execute the script. -echo. Please visit http://go.microsoft.com/?linkid=9278654 -goto :usage -) - -set RootPath=%~dp0 -if /I "%_DeploySetParametersFile%" == "" ( -set _DeploySetParametersFile=%RootPath%GMW.SetParameters.xml -) - -@rem ------------------------------------------ - -@rem ------------------------------------------ - - -set _ArgTestDeploy= -set _ArgDestinationType=auto -set _ArgComputerNameWithQuote="" -set _ArgUserNameWithQuote="" -set _ArgPasswordWithQuote="" -set _ArgEncryptPasswordWithQuote="" -set _ArgIncludeAclsWithQuote="False" -set _ArgAuthTypeWithQuote="" -set _ArgtempAgentWithQuote="" -set _ArgLocalIIS= -set _ArgLocalIISVersion= -set _HaveArgMSDeployAdditonalFlags= - - -@rem --------------------------------------------------------------------------------- -@rem Simple Parse the arguments -@rem --------------------------------------------------------------------------------- -:NextArgument -set _ArgCurrent=%~1 -set _ArgFlagFirst=%_ArgCurrent:~0,1% -set _ArgFlag=%_ArgCurrent:~0,3% -set _ArgValue=%_ArgCurrent:~3% - -if /I "%_ArgFlag%" == "" goto :GetStarted -if /I "%_ArgFlag%" == "~0,3" goto :GetStarted -if /I "%_ArgFlag%" == "/T" set _ArgTestDeploy=true&goto :ArgumentOK -if /I "%_ArgFlag%" == "/Y" set _ArgTestDeploy=false&goto :ArgumentOK -if /I "%_ArgFlag%" == "/L" set _ArgLocalIIS=true&goto :ArgumentOK - -if /I "%_ArgFlag%" == "/M:" set _ArgComputerNameWithQuote="%_ArgValue%"&goto :ArgumentOK -if /I "%_ArgFlag%" == "/U:" set _ArgUserNameWithQuote="%_ArgValue%"&goto :ArgumentOK -if /I "%_ArgFlag%" == "/P:" set _ArgPasswordWithQuote="%_ArgValue%"&goto :ArgumentOK -if /I "%_ArgFlag%" == "/E:" set _ArgEncryptPasswordWithQuote="%_ArgValue%"&goto :ArgumentOK -if /I "%_ArgFlag%" == "/I:" set _ArgIncludeAclsWithQuote="%_ArgValue%"&goto :ArgumentOK -if /I "%_ArgFlag%" == "/A:" set _ArgAuthTypeWithQuote="%_ArgValue%"&goto :ArgumentOK -if /I "%_ArgFlag%" == "/G:" set _ArgtempAgentWithQuote="%_ArgValue%"&goto :ArgumentOK - -@rem Any addition flags, pass through to the msdeploy -if "%_HaveArgMSDeployAdditonalFlags%" == "" ( -goto :Assign_ArgMsDeployAdditionalFlags -) -set _ArgMsDeployAdditionalFlags=%_ArgMsDeployAdditionalFlags:&=^&% %_ArgCurrent:&=^&% -set _HaveArgMSDeployAdditonalFlags=1 -goto :ArgumentOK - - -:Assign_ArgMsDeployAdditionalFlags -set _ArgMsDeployAdditionalFlags=%_ArgCurrent:&=^&% -set _HaveArgMSDeployAdditonalFlags=1 -goto :ArgumentOK - -:ArgumentOK -shift -goto :NextArgument - -:GetStarted -@rem ------------------------------------------ - -@rem ------------------------------------------ -if /I "%_ArgTestDeploy%" == "" goto :usage -if /I "%_ArgDestinationType%" == "" goto :usage - -set _Destination=%_ArgDestinationType% -if not %_ArgComputerNameWithQuote% == "" set _Destination=%_Destination%,computerName=%_ArgComputerNameWithQuote% -if not %_ArgUserNameWithQuote% == "" set _Destination=%_Destination%,userName=%_ArgUserNameWithQuote% -if not %_ArgPasswordWithQuote% == "" set _Destination=%_Destination%,password=%_ArgPasswordWithQuote% -if not %_ArgAuthTypeWithQuote% == "" set _Destination=%_Destination%,authtype=%_ArgAuthTypeWithQuote% -if not %_ArgEncryptPasswordWithQuote% == "" set _Destination=%_Destination%,encryptPassword=%_ArgEncryptPasswordWithQuote% -if not %_ArgIncludeAclsWithQuote% == "" set _Destination=%_Destination%,includeAcls=%_ArgIncludeAclsWithQuote% -if not %_ArgtempAgentWithQuote% == "" set _Destination=%_Destination%,tempAgent=%_ArgtempAgentWithQuote% - -@rem ------------------------------------------ - -@rem ------------------------------------------ - - -@rem --------------------------------------------------------------------------------- -@rem add -whatif when -T is specified -@rem --------------------------------------------------------------------------------- -if /I "%_ArgTestDeploy%" NEQ "false" ( -set _MsDeployAdditionalFlags=-whatif %_MsDeployAdditionalFlags% -) - -@rem ------------------------------------------ - -@rem ------------------------------------------ - -@rem --------------------------------------------------------------------------------- -@rem add flags for IISExpress when -L is specified -@rem --------------------------------------------------------------------------------- - -if /I "%_ArgLocalIIS%" == "true" ( -call :SetIISExpressArguments -) -if /I "%_ArgLocalIIS%" == "true" ( -if not exist "%IISExpressPath%%IISExpressManifest%" ( -echo. IISExpress is not found on this machine. Please install through Web Platform Installer before execute the script. -echo. or remove /L flag -echo. Please visit http://go.microsoft.com/?linkid=9278654 -goto :usage -) -if not exist "%IISExpressUserProfileDirectory%" ( -echo. %IISExpressUserProfileDirectory% is not exists -echo. IISExpress is found on the machine. But the user have run IISExpress at least once. -echo. Please visit http://go.microsoft.com/?linkid=9278654 for detail -goto :usage -) - -set _MsDeployAdditionalFlags=%_MsDeployAdditionalFlags% -appHostConfigDir:%IISExpressUserProfileDirectory% -WebServerDir:"%IISExpressPath%" -webServerManifest:"%IISExpressManifest%" -) - -@rem --------------------------------------------------------------------------------- -@rem check the existence of the package file -@rem --------------------------------------------------------------------------------- -if not exist "%RootPath%GMW.zip" ( -echo "%RootPath%GMW.zip" does not exist. -echo This batch file relies on this deploy source file^(s^) in the same folder. -goto :usage -) - -@rem --------------------------------------------- - -@rem --------------------------------------------- - -@rem --------------------------------------------------------------------------------- -@rem Execute msdeploy.exe command line -@rem --------------------------------------------------------------------------------- -call :CheckParameterFile -echo. Start executing msdeploy.exe -echo ------------------------------------------------------- -if not exist "%_DeploySetParametersFile%" ( -set _MSDeployCommandline="%MSDeployPath%msdeploy.exe" -source:package='%RootPath%GMW.zip' -dest:%_Destination% -verb:sync -disableLink:AppPoolExtension -disableLink:ContentExtension -disableLink:CertificateExtension -skip:objectname='dirPath',absolutepath='obj\\TK_test\\Package\\PackageTmp\\App_Data$' -skip:objectname='dirPath',absolutepath='Default\ Web\ Site/GMW_test\\App_Data$' -) else ( -set _MSDeployCommandline="%MSDeployPath%msdeploy.exe" -source:package='%RootPath%GMW.zip' -dest:%_Destination% -verb:sync -disableLink:AppPoolExtension -disableLink:ContentExtension -disableLink:CertificateExtension -skip:objectname='dirPath',absolutepath='obj\\TK_test\\Package\\PackageTmp\\App_Data$' -skip:objectname='dirPath',absolutepath='Default\ Web\ Site/GMW_test\\App_Data$' -setParamFile:"%_DeploySetParametersFile%" -) - -if "%_HaveArgMSDeployAdditonalFlags%" == "" ( -goto :MSDeployWithOutArgMsDeployAdditionalFlag -) -goto :MSDeployWithArgMsDeployAdditionalFlag -goto :eof - -@rem --------------------------------------------------------------------------------- -@rem MSDeployWithArgMsDeployAdditionalFlag -@rem --------------------------------------------------------------------------------- -:MSDeployWithArgMsDeployAdditionalFlag -echo. %_MSDeployCommandline% %_MsDeployAdditionalFlags% %_ArgMsDeployAdditionalFlags:&=^&% -%_MSDeployCommandline% %_MsDeployAdditionalFlags% %_ArgMsDeployAdditionalFlags:&=^&% -goto :eof - -@rem --------------------------------------------------------------------------------- -@rem MSDeployWithOutArgMsDeployAdditionalFlag -@rem --------------------------------------------------------------------------------- -:MSDeployWithOutArgMsDeployAdditionalFlag -echo. %_MSDeployCommandline% %_MsDeployAdditionalFlags% -%_MSDeployCommandline% %_MsDeployAdditionalFlags% -goto :eof - -@rem --------------------------------------------------------------------------------- -@rem Find and set IISExpress argument. -@rem --------------------------------------------------------------------------------- -:SetIISExpressArguments - -if "%IISExpressPath%" == "" ( -for /F "usebackq tokens=1,2,*" %%h in (`reg query "HKLM\SOFTWARE\Microsoft\IISExpress" /s ^| findstr -i "InstallPath"`) do ( -if /I "%%h" == "InstallPath" ( -if /I "%%i" == "REG_SZ" ( -if not "%%j" == "" ( -if "%%~dpj" == "%%j" ( -set IISExpressPath=%%j -)))))) - -if "%IISExpressPath%" == "" ( -for /F "usebackq tokens=1,2,*" %%h in (`reg query "HKLM\SOFTWARE\Wow6432Node\Microsoft\IISExpress" /s ^| findstr -i "InstallPath"`) do ( -if /I "%%h" == "InstallPath" ( -if /I "%%i" == "REG_SZ" ( -if not "%%j" == "" ( -if "%%~dpj" == "%%j" ( -set IISExpressPath=%%j -)))))) - -if "%PersonalDocumentFolder%" == "" ( -for /F "usebackq tokens=2*" %%i in (`reg query "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders" /v Personal`) do ( -set PersonalDocumentFolder=%%j -)) - -if "%IISExpressManifest%" == "" ( -for /F "usebackq tokens=1,2,*" %%h in (`reg query "HKLM\SOFTWARE\Microsoft\IISExpress" /s ^| findstr -i "Manifest"`) do ( -if /I "%%h" == "Manifest" ( -if /I "%%i" == "REG_SZ" ( -if not "%%j" == "" ( -set IISExpressManifest=%%j -))))) - -if "%IISExpressManifest%" == "" ( -for /F "usebackq tokens=1,2,*" %%h in (`reg query "HKLM\SOFTWARE\Wow6432Node\Microsoft\IISExpress" /s ^| findstr -i "Manifest"`) do ( -if /I "%%h" == "Manifest" ( -if /I "%%i" == "REG_SZ" ( -if not "%%j" == "" ( -set IISExpressManifest=%%j -))))) - -set IISExpressUserProfileDirectory="%PersonalDocumentFolder%\IISExpress\config" - -@rem --------------------------------------------- - -@rem --------------------------------------------- - -goto :eof - -@rem --------------------------------------------------------------------------------- -@rem CheckParameterFile -- check if the package's setparamters.xml exists or not -@rem --------------------------------------------------------------------------------- -:CheckParameterFile -if exist "%_DeploySetParametersFile%" ( -echo SetParameters from: -echo "%_DeploySetParametersFile%" -echo You can change IIS Application Name, Physical path, connectionString -echo or other deploy parameters in the above file. -) else ( -echo SetParamterFiles does not exist in package location. -echo Use package embedded defaultValue to deploy. -) -echo ------------------------------------------------------- -goto :eof - -@rem --------------------------------------------------------------------------------- -@rem Usage -@rem --------------------------------------------------------------------------------- -:usage -echo ========================================================= -if not exist "%RootPath%GMW.deploy-readme.txt" ( -echo Usage:%~nx0 [/T^|/Y] [/M:ComputerName] [/U:userName] [/P:password] [/G:tempAgent] [additional msdeploy flags ...] -echo Required flags: -echo /T Calls msdeploy.exe with the "-whatif" flag, which simulates deployment. -echo /Y Calls msdeploy.exe without the "-whatif" flag, which deploys the package to the current machine or destination server -echo Optional flags: -echo. By Default, this script deploy to the current machine where this script is invoked which will use current user credential without tempAgent. -echo. Only pass these arguments when in advance scenario. -echo /M: Msdeploy destination name of remote computer or proxy-URL. Default is local. -echo /U: Msdeploy destination user name. -echo /P: Msdeploy destination password. -echo /G: Msdeploy destination tempAgent. True or False. Default is false. -echo /A: specifies the type of authentication to be used. The possible values are NTLM and Basic. If the wmsvc provider setting is specified, the default authentication type is Basic -otherwise, the default authentication type is NTLM. -echo /L: Deploy to Local IISExpress User Instance. - -echo.[additional msdeploy flags]: note: " is required for passing = through command line. -echo "-skip:objectName=setAcl" "-skip:objectName=dbFullSql" -echo.Alternative environment variable _MsDeployAdditionalFlags is also honored. -echo. -echo. Please make sure MSDeploy is installed in the box http://go.microsoft.com/?linkid=9278654 -echo. -echo In addition, you can change IIS Application Name, Physical path, -echo connectionString and other deploy parameters in the following file: -echo "%_DeploySetParametersFile%" -echo. -echo For more information about this batch file, visit http://go.microsoft.com/fwlink/?LinkID=183544 -) else ( -start notepad "%RootPath%GMW.deploy-readme.txt" -) -echo ========================================================= -goto :eof diff --git a/ReleaseClienti/TK_test/GMW.zip b/ReleaseClienti/TK_test/GMW.zip deleted file mode 100644 index 85b42451..00000000 Binary files a/ReleaseClienti/TK_test/GMW.zip and /dev/null differ diff --git a/ReleaseClienti/TK_test/TK_GMW_TestTerm.SetParameters.xml b/ReleaseClienti/TK_test/TK_GMW_TestTerm.SetParameters.xml deleted file mode 100644 index 4acec8de..00000000 --- a/ReleaseClienti/TK_test/TK_GMW_TestTerm.SetParameters.xml +++ /dev/null @@ -1,5 +0,0 @@ - - - - - \ No newline at end of file diff --git a/ReleaseClienti/TK_test/TK_GMW_TestTerm.SourceManifest.xml b/ReleaseClienti/TK_test/TK_GMW_TestTerm.SourceManifest.xml deleted file mode 100644 index 6ce4223f..00000000 --- a/ReleaseClienti/TK_test/TK_GMW_TestTerm.SourceManifest.xml +++ /dev/null @@ -1,6 +0,0 @@ - - - - - - \ No newline at end of file diff --git a/ReleaseClienti/TK_test/TK_GMW_TestTerm.deploy-readme.txt b/ReleaseClienti/TK_test/TK_GMW_TestTerm.deploy-readme.txt deleted file mode 100644 index c758263c..00000000 --- a/ReleaseClienti/TK_test/TK_GMW_TestTerm.deploy-readme.txt +++ /dev/null @@ -1,63 +0,0 @@ - -=========================== -Prerequisites : --------------------------- -To deploy this Web package, Web Deploy (msdeploy.exe) must be installed on the computer that runs the .cmd file. For information about how to install Web Deploy, see the following URL: -http://go.microsoft.com/?linkid=9278654 -This batch file requires that the package file "TK_GMW_TestTerm.zip" and optionally provided the parameters file "TK_GMW_TestTerm.SetParameters.xml" in the same folder or destination folder by environment variable. - -=========================== -Usage: --------------------------- -TK_GMW_TestTerm.deploy.cmd [/T|/Y] [/M:ComputerName] [/U:UserName] [/P:Password] [/G:UseTempAgent] [Additional msdeploy.exe flags ...] - - -=========================== -Required Flags: --------------------------- -/T: - Calls msdeploy.exe with the "-whatif" flag, which simulates deployment. This does not deploy the package. Instead, it creates a report of what will happen when you actually deploy the package. -/Y: - Calls msdeploy.exe without the "-whatif" flag, which deploys the package to the current machine or a destination server. Use /Y after you have verified the output that was generated by using the /T flag. - -Note: Do not use /T and /Y in the same command. - -=========================== -Optional Flags: --------------------------- - By Default, this script deploy on the current machine where this script is called with current user credential without agent service. Only pass the following value for advance scenario. - -/M: - If this flag is not specified, the package is installed on the computer where the command is run. The Service URL can be in the following format: - https://:8172/MSDeploy.axd - This format requires that IIS 7 be installed on the destination server and that IIS 7 Web Management Service(WMSvc) and Web Deployment Handler be set up. - The service URL can also be in the following format: - http:///MSDeployAgentService - This format requires administrative rights on the destination server, and it requires that Web Deploy Remote Service (MsDepSvc) be installed on the destination server. IIS 7 does not have to be installed on the destination server. - -/U: -/P: -/G: - Specifies that the package is deployed by creating a temporary listener on the destination server. This requires no special installation on the destination server, but it requires you to be an administrator on that server. The default value of this flag is False. - -/A: - Specifies the type of authentication to be used. The possible values are NTLM and Basic. If the wmsvc provider setting is specified, the default authentication type is Basic; otherwise, the default authentication type is NTLM. - -/L - Specifies that the package is deployed to local IISExpress user instance. - -[Additional msdeploy.exe flags] - The msdeploy.exe command supports additional flags. You can include any of these additional flags in the "$(ProjectName).Deploy.cmd" file, and the flags are passed through to msdeploy.exe during execution. - Alternatively, you can specify additional flags by setting the "_MsDeployAdditionalFlags" environment variable. These settings are used by this batch file. - Note: Any flag value that includes an equal sign (=) must be enclosed in double quotation marks, as shown in the following example, which will skip deploying the databases that are included in the package: - "-skip:objectName=dbFullSql" - -=========================== -Environment-Specific Settings: --------------------------- - - To customize application-specific settings for each deployment environment (for example, the IIS application name, the physical path, and any connection strings), edit the settings in the following file: - "TK_GMW_TestTerm.SetParameters.xml" -=========================== -For more information on this deploy script visit: http://go.microsoft.com/fwlink/?LinkID=183544 - diff --git a/ReleaseClienti/TK_test/TK_GMW_TestTerm.deploy.cmd b/ReleaseClienti/TK_test/TK_GMW_TestTerm.deploy.cmd deleted file mode 100644 index 58b8cf88..00000000 --- a/ReleaseClienti/TK_test/TK_GMW_TestTerm.deploy.cmd +++ /dev/null @@ -1,311 +0,0 @@ -@rem --------------------------------------------------------------------------------- -@rem Copyright 2008 Microsoft Corporation. All rights reserved. -@rem This is provided as sample to deploy the package using msdeploy.exe -@rem For information about IIS Web Deploy technology, -@rem please visit http://go.microsoft.com/?linkid=9278654 -@rem Note: This batch file assumes the package and setparametsrs.xml are in the same folder with this file -@rem --------------------------------------------------------------------------------- -@if %_echo%!==! echo off -setlocal -@rem --------------------------------------------------------------------------------- -@rem Please Make sure you have Web Deploy install in your machine. -@rem Alternatively, you can explicit set the MsDeployPath to the location it is on your machine -@rem set MSDeployPath="C:\Program Files (x86)\IIS\Microsoft Web Deploy V3\" -@rem --------------------------------------------------------------------------------- - -@rem --------------------------------------------------------------------------------- -@rem if user does not set MsDeployPath environment variable, we will try to retrieve it from registry. -@rem --------------------------------------------------------------------------------- -if "%MSDeployPath%" == "" ( -for /F "usebackq tokens=1,2,*" %%h in (`reg query "HKLM\SOFTWARE\Microsoft\IIS Extensions\MSDeploy" /s ^| findstr -i "InstallPath"`) do ( -if /I "%%h" == "InstallPath" ( -if /I "%%i" == "REG_SZ" ( -if not "%%j" == "" ( -if "%%~dpj" == "%%j" ( -set MSDeployPath=%%j -)))))) - -@rem ------------------------------------------ - -@rem ------------------------------------------ - - -if not exist "%MSDeployPath%msdeploy.exe" ( -echo. msdeploy.exe is not found on this machine. Please install Web Deploy before execute the script. -echo. Please visit http://go.microsoft.com/?linkid=9278654 -goto :usage -) - -set RootPath=%~dp0 -if /I "%_DeploySetParametersFile%" == "" ( -set _DeploySetParametersFile=%RootPath%TK_GMW_TestTerm.SetParameters.xml -) - -@rem ------------------------------------------ - -@rem ------------------------------------------ - - -set _ArgTestDeploy= -set _ArgDestinationType=auto -set _ArgComputerNameWithQuote="" -set _ArgUserNameWithQuote="" -set _ArgPasswordWithQuote="" -set _ArgEncryptPasswordWithQuote="" -set _ArgIncludeAclsWithQuote="False" -set _ArgAuthTypeWithQuote="" -set _ArgtempAgentWithQuote="" -set _ArgLocalIIS= -set _ArgLocalIISVersion= -set _HaveArgMSDeployAdditonalFlags= - - -@rem --------------------------------------------------------------------------------- -@rem Simple Parse the arguments -@rem --------------------------------------------------------------------------------- -:NextArgument -set _ArgCurrent=%~1 -set _ArgFlagFirst=%_ArgCurrent:~0,1% -set _ArgFlag=%_ArgCurrent:~0,3% -set _ArgValue=%_ArgCurrent:~3% - -if /I "%_ArgFlag%" == "" goto :GetStarted -if /I "%_ArgFlag%" == "~0,3" goto :GetStarted -if /I "%_ArgFlag%" == "/T" set _ArgTestDeploy=true&goto :ArgumentOK -if /I "%_ArgFlag%" == "/Y" set _ArgTestDeploy=false&goto :ArgumentOK -if /I "%_ArgFlag%" == "/L" set _ArgLocalIIS=true&goto :ArgumentOK - -if /I "%_ArgFlag%" == "/M:" set _ArgComputerNameWithQuote="%_ArgValue%"&goto :ArgumentOK -if /I "%_ArgFlag%" == "/U:" set _ArgUserNameWithQuote="%_ArgValue%"&goto :ArgumentOK -if /I "%_ArgFlag%" == "/P:" set _ArgPasswordWithQuote="%_ArgValue%"&goto :ArgumentOK -if /I "%_ArgFlag%" == "/E:" set _ArgEncryptPasswordWithQuote="%_ArgValue%"&goto :ArgumentOK -if /I "%_ArgFlag%" == "/I:" set _ArgIncludeAclsWithQuote="%_ArgValue%"&goto :ArgumentOK -if /I "%_ArgFlag%" == "/A:" set _ArgAuthTypeWithQuote="%_ArgValue%"&goto :ArgumentOK -if /I "%_ArgFlag%" == "/G:" set _ArgtempAgentWithQuote="%_ArgValue%"&goto :ArgumentOK - -@rem Any addition flags, pass through to the msdeploy -if "%_HaveArgMSDeployAdditonalFlags%" == "" ( -goto :Assign_ArgMsDeployAdditionalFlags -) -set _ArgMsDeployAdditionalFlags=%_ArgMsDeployAdditionalFlags:&=^&% %_ArgCurrent:&=^&% -set _HaveArgMSDeployAdditonalFlags=1 -goto :ArgumentOK - - -:Assign_ArgMsDeployAdditionalFlags -set _ArgMsDeployAdditionalFlags=%_ArgCurrent:&=^&% -set _HaveArgMSDeployAdditonalFlags=1 -goto :ArgumentOK - -:ArgumentOK -shift -goto :NextArgument - -:GetStarted -@rem ------------------------------------------ - -@rem ------------------------------------------ -if /I "%_ArgTestDeploy%" == "" goto :usage -if /I "%_ArgDestinationType%" == "" goto :usage - -set _Destination=%_ArgDestinationType% -if not %_ArgComputerNameWithQuote% == "" set _Destination=%_Destination%,computerName=%_ArgComputerNameWithQuote% -if not %_ArgUserNameWithQuote% == "" set _Destination=%_Destination%,userName=%_ArgUserNameWithQuote% -if not %_ArgPasswordWithQuote% == "" set _Destination=%_Destination%,password=%_ArgPasswordWithQuote% -if not %_ArgAuthTypeWithQuote% == "" set _Destination=%_Destination%,authtype=%_ArgAuthTypeWithQuote% -if not %_ArgEncryptPasswordWithQuote% == "" set _Destination=%_Destination%,encryptPassword=%_ArgEncryptPasswordWithQuote% -if not %_ArgIncludeAclsWithQuote% == "" set _Destination=%_Destination%,includeAcls=%_ArgIncludeAclsWithQuote% -if not %_ArgtempAgentWithQuote% == "" set _Destination=%_Destination%,tempAgent=%_ArgtempAgentWithQuote% - -@rem ------------------------------------------ - -@rem ------------------------------------------ - - -@rem --------------------------------------------------------------------------------- -@rem add -whatif when -T is specified -@rem --------------------------------------------------------------------------------- -if /I "%_ArgTestDeploy%" NEQ "false" ( -set _MsDeployAdditionalFlags=-whatif %_MsDeployAdditionalFlags% -) - -@rem ------------------------------------------ - -@rem ------------------------------------------ - -@rem --------------------------------------------------------------------------------- -@rem add flags for IISExpress when -L is specified -@rem --------------------------------------------------------------------------------- - -if /I "%_ArgLocalIIS%" == "true" ( -call :SetIISExpressArguments -) -if /I "%_ArgLocalIIS%" == "true" ( -if not exist "%IISExpressPath%%IISExpressManifest%" ( -echo. IISExpress is not found on this machine. Please install through Web Platform Installer before execute the script. -echo. or remove /L flag -echo. Please visit http://go.microsoft.com/?linkid=9278654 -goto :usage -) -if not exist "%IISExpressUserProfileDirectory%" ( -echo. %IISExpressUserProfileDirectory% is not exists -echo. IISExpress is found on the machine. But the user have run IISExpress at least once. -echo. Please visit http://go.microsoft.com/?linkid=9278654 for detail -goto :usage -) - -set _MsDeployAdditionalFlags=%_MsDeployAdditionalFlags% -appHostConfigDir:%IISExpressUserProfileDirectory% -WebServerDir:"%IISExpressPath%" -webServerManifest:"%IISExpressManifest%" -) - -@rem --------------------------------------------------------------------------------- -@rem check the existence of the package file -@rem --------------------------------------------------------------------------------- -if not exist "%RootPath%TK_GMW_TestTerm.zip" ( -echo "%RootPath%TK_GMW_TestTerm.zip" does not exist. -echo This batch file relies on this deploy source file^(s^) in the same folder. -goto :usage -) - -@rem --------------------------------------------- - -@rem --------------------------------------------- - -@rem --------------------------------------------------------------------------------- -@rem Execute msdeploy.exe command line -@rem --------------------------------------------------------------------------------- -call :CheckParameterFile -echo. Start executing msdeploy.exe -echo ------------------------------------------------------- -if not exist "%_DeploySetParametersFile%" ( -set _MSDeployCommandline="%MSDeployPath%msdeploy.exe" -source:package='%RootPath%TK_GMW_TestTerm.zip' -dest:%_Destination% -verb:sync -disableLink:AppPoolExtension -disableLink:ContentExtension -disableLink:CertificateExtension -skip:objectname='dirPath',absolutepath='obj\\Release\\Package\\PackageTmp\\App_Data$' -skip:objectname='dirPath',absolutepath='Default\ Web\ Site/GMW_TestTerm\\App_Data$' -) else ( -set _MSDeployCommandline="%MSDeployPath%msdeploy.exe" -source:package='%RootPath%TK_GMW_TestTerm.zip' -dest:%_Destination% -verb:sync -disableLink:AppPoolExtension -disableLink:ContentExtension -disableLink:CertificateExtension -skip:objectname='dirPath',absolutepath='obj\\Release\\Package\\PackageTmp\\App_Data$' -skip:objectname='dirPath',absolutepath='Default\ Web\ Site/GMW_TestTerm\\App_Data$' -setParamFile:"%_DeploySetParametersFile%" -) - -if "%_HaveArgMSDeployAdditonalFlags%" == "" ( -goto :MSDeployWithOutArgMsDeployAdditionalFlag -) -goto :MSDeployWithArgMsDeployAdditionalFlag -goto :eof - -@rem --------------------------------------------------------------------------------- -@rem MSDeployWithArgMsDeployAdditionalFlag -@rem --------------------------------------------------------------------------------- -:MSDeployWithArgMsDeployAdditionalFlag -echo. %_MSDeployCommandline% %_MsDeployAdditionalFlags% %_ArgMsDeployAdditionalFlags:&=^&% -%_MSDeployCommandline% %_MsDeployAdditionalFlags% %_ArgMsDeployAdditionalFlags:&=^&% -goto :eof - -@rem --------------------------------------------------------------------------------- -@rem MSDeployWithOutArgMsDeployAdditionalFlag -@rem --------------------------------------------------------------------------------- -:MSDeployWithOutArgMsDeployAdditionalFlag -echo. %_MSDeployCommandline% %_MsDeployAdditionalFlags% -%_MSDeployCommandline% %_MsDeployAdditionalFlags% -goto :eof - -@rem --------------------------------------------------------------------------------- -@rem Find and set IISExpress argument. -@rem --------------------------------------------------------------------------------- -:SetIISExpressArguments - -if "%IISExpressPath%" == "" ( -for /F "usebackq tokens=1,2,*" %%h in (`reg query "HKLM\SOFTWARE\Microsoft\IISExpress" /s ^| findstr -i "InstallPath"`) do ( -if /I "%%h" == "InstallPath" ( -if /I "%%i" == "REG_SZ" ( -if not "%%j" == "" ( -if "%%~dpj" == "%%j" ( -set IISExpressPath=%%j -)))))) - -if "%IISExpressPath%" == "" ( -for /F "usebackq tokens=1,2,*" %%h in (`reg query "HKLM\SOFTWARE\Wow6432Node\Microsoft\IISExpress" /s ^| findstr -i "InstallPath"`) do ( -if /I "%%h" == "InstallPath" ( -if /I "%%i" == "REG_SZ" ( -if not "%%j" == "" ( -if "%%~dpj" == "%%j" ( -set IISExpressPath=%%j -)))))) - -if "%PersonalDocumentFolder%" == "" ( -for /F "usebackq tokens=2*" %%i in (`reg query "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders" /v Personal`) do ( -set PersonalDocumentFolder=%%j -)) - -if "%IISExpressManifest%" == "" ( -for /F "usebackq tokens=1,2,*" %%h in (`reg query "HKLM\SOFTWARE\Microsoft\IISExpress" /s ^| findstr -i "Manifest"`) do ( -if /I "%%h" == "Manifest" ( -if /I "%%i" == "REG_SZ" ( -if not "%%j" == "" ( -set IISExpressManifest=%%j -))))) - -if "%IISExpressManifest%" == "" ( -for /F "usebackq tokens=1,2,*" %%h in (`reg query "HKLM\SOFTWARE\Wow6432Node\Microsoft\IISExpress" /s ^| findstr -i "Manifest"`) do ( -if /I "%%h" == "Manifest" ( -if /I "%%i" == "REG_SZ" ( -if not "%%j" == "" ( -set IISExpressManifest=%%j -))))) - -set IISExpressUserProfileDirectory="%PersonalDocumentFolder%\IISExpress\config" - -@rem --------------------------------------------- - -@rem --------------------------------------------- - -goto :eof - -@rem --------------------------------------------------------------------------------- -@rem CheckParameterFile -- check if the package's setparamters.xml exists or not -@rem --------------------------------------------------------------------------------- -:CheckParameterFile -if exist "%_DeploySetParametersFile%" ( -echo SetParameters from: -echo "%_DeploySetParametersFile%" -echo You can change IIS Application Name, Physical path, connectionString -echo or other deploy parameters in the above file. -) else ( -echo SetParamterFiles does not exist in package location. -echo Use package embedded defaultValue to deploy. -) -echo ------------------------------------------------------- -goto :eof - -@rem --------------------------------------------------------------------------------- -@rem Usage -@rem --------------------------------------------------------------------------------- -:usage -echo ========================================================= -if not exist "%RootPath%TK_GMW_TestTerm.deploy-readme.txt" ( -echo Usage:%~nx0 [/T^|/Y] [/M:ComputerName] [/U:userName] [/P:password] [/G:tempAgent] [additional msdeploy flags ...] -echo Required flags: -echo /T Calls msdeploy.exe with the "-whatif" flag, which simulates deployment. -echo /Y Calls msdeploy.exe without the "-whatif" flag, which deploys the package to the current machine or destination server -echo Optional flags: -echo. By Default, this script deploy to the current machine where this script is invoked which will use current user credential without tempAgent. -echo. Only pass these arguments when in advance scenario. -echo /M: Msdeploy destination name of remote computer or proxy-URL. Default is local. -echo /U: Msdeploy destination user name. -echo /P: Msdeploy destination password. -echo /G: Msdeploy destination tempAgent. True or False. Default is false. -echo /A: specifies the type of authentication to be used. The possible values are NTLM and Basic. If the wmsvc provider setting is specified, the default authentication type is Basic -otherwise, the default authentication type is NTLM. -echo /L: Deploy to Local IISExpress User Instance. - -echo.[additional msdeploy flags]: note: " is required for passing = through command line. -echo "-skip:objectName=setAcl" "-skip:objectName=dbFullSql" -echo.Alternative environment variable _MsDeployAdditionalFlags is also honored. -echo. -echo. Please make sure MSDeploy is installed in the box http://go.microsoft.com/?linkid=9278654 -echo. -echo In addition, you can change IIS Application Name, Physical path, -echo connectionString and other deploy parameters in the following file: -echo "%_DeploySetParametersFile%" -echo. -echo For more information about this batch file, visit http://go.microsoft.com/fwlink/?LinkID=183544 -) else ( -start notepad "%RootPath%TK_GMW_TestTerm.deploy-readme.txt" -) -echo ========================================================= -goto :eof diff --git a/ReleaseClienti/TK_test/TK_GMW_TestTerm.zip b/ReleaseClienti/TK_test/TK_GMW_TestTerm.zip deleted file mode 100644 index f1fe13f4..00000000 Binary files a/ReleaseClienti/TK_test/TK_GMW_TestTerm.zip and /dev/null differ