aboutsummaryrefslogtreecommitdiffstats
path: root/build/webpi/parameters.xml
blob: be4d374632a79b0156b3e6e53d2d390aaec5f6f7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
<parameters>
	<parameter
		name="AppPath"
		defaultValue="Default Web Site/phpBB3"
		tags="iisapp">
		
		<parameterEntry
			type="ProviderPath"
			scope="iisapp"
			match="phpBB3" />
	</parameter>
	<!--ACLs-->
	<parameter
		name="aclCache"
		description="Sets the ACL on the cache/ folder"
		defaultValue="{AppPath}/cache"
		tags="Hidden">

		<parameterEntry
			type="ProviderPath"
			scope="setAcl"
			match="phpBB3/cache$" />
	</parameter>

	<parameter
		name="aclFiles"
		description="Sets the ACL on the files/ folder"
		defaultValue="{AppPath}/files"
		tags="Hidden">

		<parameterEntry
			type="ProviderPath"
			scope="setAcl"
			match="phpBB3/files$" />
	</parameter>

	<parameter
		name="aclStore"
		description="Sets the ACL on the store/ folder"
		defaultValue="{AppPath}/store"
		tags="Hidden">

		<parameterEntry
			type="ProviderPath"
			scope="setAcl"
			match="phpBB3/store$" />
	</parameter>

	<parameter
		name="aclAvatarUpload"
		description="Sets the ACL on the avatars/upload/ folder"
		defaultValue="{AppPath}/images/avatars/upload"
		tags="Hidden">

		<parameterEntry
			type="ProviderPath"
			scope="setAcl"
			match="phpBB3/images/avatars/upload$" />
	</parameter>

	<parameter
		name="aclConfig"
		description="Sets the ACL on the config.php file"
		defaultValue="{AppPath}/config.php"
		tags="Hidden">

		<parameterEntry
			type="ProviderPath"
			scope="setAcl"
			match="phpBB3/config.php$" />
	</parameter>

	<!-- SQL parameters -->
	<parameter  name="SQL Database Server"  description="Enter the database server (usually machine name ) "  defaultValue="."  tags="SQL">
	</parameter>

	<parameter name="SQL DatabaseServer Instance" description="Enter the database instance name" defaultValue="SQLExpress" tags="SQL">
	</parameter>
	<!-- Read database server from config.php . Update 'dbhost' in config.php on publish -->
	<parameter name="SQL Automatic DatabaseServer" defaultValue="dbhost = '{SQL Database Server}\\{SQL DatabaseServer Instance}';" tags="Hidden,SQL">
		<parameterEntry kind="TextFile" scope="\\config\.php$" match="dbhost\s*=\s*'([^']*)'\s*;" />
	</parameter>
	<parameter
		name="SQL DatabaseName" description="Database name for your application." defaultValue="phpbb" tags="SQL, dbName">

		<parameterEntry type="TextFile" scope="install/mssql.sql" match="PlaceHolderForDb" />   
	</parameter>
	<!-- Read database name from config.php . Update 'dbname' in config.php on publish -->
	<parameter name="SQL Automatic DatabaseName" defaultValue="dbname = '{SQL DatabaseName}';" tags="Hidden,SQL">
		<parameterEntry kind="TextFile" scope="\\config\.php$" match="dbname\s*=\s*'([^']*)'\s*;" />
	</parameter>
  
	<parameter
		name="SQL DatabaseAdministrator"
		description="Database server administartor username."
		defaultValue="sa"
		tags="SQL, DbAdminUsername" >
	</parameter>

	<parameter
		name="SQL DatabaseAdministratorPassword"
		description="Database server administrator password."
		tags="Password,SQL,DbAdminPassword">
	</parameter>

	<parameter
		name="SQL Database Username"
		description="Username to access your database."
		defaultValue="phpbb"
		tags="SQL, DbUsername">

		<parameterEntry
			type="TextFile"
			scope="install/mssql.sql"
			match="PlaceHolderForUser" />
	</parameter>
	<!-- Read database user from config.php . Update 'dbuser' in config.php on publish -->
	<parameter name="SQL Automatic Database User" defaultValue="dbuser = '{SQL Database Username}';" tags="Hidden,SQL">
		<parameterEntry kind="TextFile" scope="\\config\.php$" match="dbuser\s*=\s*'([^']*)'\s*;" />
	</parameter>
  
	<parameter
		name="SQL Database Password"
		description="Password for your phpBB database. (Must be at least 8 characters, contain at least one lower case letter, one upper case letter and one digit)"
		tags="New, Password,SQL,  DbUserPassword">

		<parameterValidation
			type = "RegularExpression"   
			validationString = "^.*(?=.{8,})(?=.*\d)(?=.*[a-z])(?=.*[A-Z]).*$" />

		<parameterEntry
			type="TextFile"
			scope="install/mssql.sql"
			match="PlaceHolderForPassword" />
	</parameter>

	<!-- Read database user password from config.php . Update 'dbpasswd' in config.php on publish -->
	<parameter name="SQL Automatic Database Password" defaultValue="dbpasswd = '{SQL Database Password}';" tags="Hidden,SQL">
		<parameterEntry kind="TextFile" scope="\\config\.php$" match="dbpasswd\s*=\s*'([^']*)'\s*;" />
	</parameter>

	<!-- SQL Connection string -->
	<parameter
		name="SQL ConnectionString"
		description="Automatically sets the connection string for the connection request."
		defaultValue="Server={SQL Database Server}\{SQL DatabaseServer Instance};Database={SQL DatabaseName};uid={SQL DatabaseAdministrator};Pwd={SQL DatabaseAdministratorPassword};"
		tags="Hidden,SQLConnectionString,Validate">

		<parameterEntry
			type="ProviderPath"
			scope="dbfullsql"
			match="install/mssql.sql" />
	</parameter>

	<parameter
		name="SQL Database type"
		description="SQL database type"
		defaultValue="mssql"
		tags="SQL,Hidden">
	</parameter>

	<!-- MYSQL parameters -->
	<parameter
		name="MySQL Database Server"
		description="Enter the hostname"
		defaultValue="localhost"
		tags="MySQL, dbServer">

		<parameterEntry
			type="TextFile"
			scope="install/mysql.sql"
			match="PlaceHolderForServer" />
	</parameter>

	<!-- Read database server from config.php . Update 'dbhost' in config.php on publish -->
	<parameter name="Automatic MySQL DatabaseServer" defaultValue="dbhost = '{MySQL Database Server}';" tags="Hidden,MySQL">
		<parameterEntry kind="TextFile" scope="\\config\.php$" match="dbhost\s*=\s*'([^']*)'\s*;" />
	</parameter>
  
	<parameter
		name="MySQL Database Name"
		description="Database Name for your application."
		defaultValue="phpbb"
		tags="MySQL, dbName">

		<parameterEntry
			type="TextFile"
			scope="install/mysql.sql"
			match="PlaceHolderForDb"  />
	</parameter>
	<!-- Read database name from config.php . Update 'dbname' in config.php on publish -->
	<parameter name="Automatic MySQL Database Name" defaultValue="dbname = '{MySQL Database Name}';" tags="Hidden,MySQL">
		<parameterEntry kind="TextFile" scope="\\config\.php$" match="dbname\s*=\s*'([^']*)'\s*;" />
	</parameter>

	<parameter
		name="MySQL Database Username"
		description="Username to access your phpBB database."
		defaultValue="phpbb"
		tags="MySQL, DbUsername">

		<parameterEntry
			type="TextFile"
			scope="install/mysql.sql"
			match="PlaceHolderForUser" />
	</parameter>
	<!-- Read database user from config.php . Update 'dbuser' in config.php on publish -->
	<parameter name="Automatic MySQL Database User" defaultValue="dbuser = '{MySQL Database Username}';" tags="Hidden,MySQL">
		<parameterEntry kind="TextFile" scope="\\config\.php$" match="dbuser\s*=\s*'([^']*)'\s*;" />
	</parameter>

	<parameter
		name="MySQL Database Password"
		description="Password for your phpBB database. (Minimum 4 characters)"
		tags="New, Password,MySQL,DbUserPassword">

		<parameterValidation
			type = "RegularExpression"
			validationString = "^.{4,}$" />

		<parameterEntry
			type="TextFile"
			scope="install/mysql.sql"
			match="PlaceHolderForPassword" />
		</parameter>
		<!-- Read database password from config.php . Update 'dbpasswd' in config.php on publish -->
		<parameter name="MySQL Automatic Database Password" defaultValue="dbpasswd = '{MySQL Database Password}';" tags="Hidden,MySQL">
			<parameterEntry kind="TextFile" scope="\\config\.php$" match="dbpasswd\s*=\s*'([^']*)'\s*;" />
		</parameter>

	<!-- MySQL admin credentials -->
	<parameter
		name="MySQL Database Administrator"
		description="Database administrator username."
		defaultValue="root"
		tags="MySQL, DbAdminUsername" >
	</parameter>
	<parameter
		name="MySQL Database Administrator Password"
		description="Database administrator password."
		tags="Password,MySQL,DbAdminPassword" >
	</parameter>

	<!-- MySQL Connectionstring -->
	<parameter
		name="MySQLConnectionString"
		description="Automatically sets the connection string for the connection request."
		defaultValue="Server={MySQL Database Server};Database={MySQL Database Name};uid={MySQL Database Administrator};Pwd={MySQL Database Administrator Password};"
		tags="Hidden,MySQLConnectionString,Validate">

		<parameterEntry
			type="ProviderPath"
			scope="dbmysql"
			match="install/mysql.sql" />
	</parameter>
</parameters>