Exposed properties for setting the port in the data center installer
#31
This commit is contained in:
parent
54b6094a43
commit
cdbf543562
@ -8,6 +8,7 @@
|
||||
<ComponentRef Id="URLReservation"/>
|
||||
<ComponentRef Id="DataCenterFirewallConfig"/>
|
||||
<ComponentGroupRef Id="DataCenterFileGroup"/>
|
||||
<ComponentRef Id="ServiceConfiguration"/>
|
||||
</ComponentGroup>
|
||||
|
||||
<ComponentGroup Id="DataCenterFileGroup" Directory="INSTALLFOLDER">
|
||||
@ -202,5 +203,15 @@
|
||||
Checksum="yes"/>
|
||||
</Component>
|
||||
</ComponentGroup>
|
||||
|
||||
<Component Id="ServiceConfiguration" Directory="INSTALLFOLDER" Guid="{E49ABD61-0CCA-45A2-A525-DF85A0493FF7}" KeyPath="yes">
|
||||
<util:XmlFile Id="SetServicePort"
|
||||
Action="setValue"
|
||||
ElementPath="//appSettings/add[\[]@key='WebsiteHttpPort'[\]]/@value"
|
||||
Value="[SERVICEPORT]"
|
||||
File="[#WindowsDataCenter.exe.config]"
|
||||
SelectionLanguage="XPath"
|
||||
Sequence="1" />
|
||||
</Component>
|
||||
</Fragment>
|
||||
</Wix>
|
||||
@ -3,7 +3,7 @@
|
||||
xmlns:http="http://schemas.microsoft.com/wix/HttpExtension">
|
||||
<Fragment>
|
||||
<Component Id="URLReservation" Guid="{35F39190-88CA-4D1D-B066-9F9CAB328F4D}" Directory="INSTALLFOLDER" KeyPath="yes">
|
||||
<http:UrlReservation Id="EndpointUrlAcl" Url="http://*:8800/" HandleExisting="ignore">
|
||||
<http:UrlReservation Id="EndpointUrlAcl" Url="http://*:[SERVICEPORT]/" HandleExisting="ignore">
|
||||
<http:UrlAce SecurityPrincipal="Everyone" Rights="all"/>
|
||||
</http:UrlReservation>
|
||||
</Component>
|
||||
|
||||
@ -2,5 +2,6 @@
|
||||
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi">
|
||||
<Fragment>
|
||||
<Property Id="STARTSERVICEONINSTALL" Value="false" />
|
||||
<Property Id="SERVICEPORT" Value="8800" />
|
||||
</Fragment>
|
||||
</Wix>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user