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="URLReservation"/>
|
||||||
<ComponentRef Id="DataCenterFirewallConfig"/>
|
<ComponentRef Id="DataCenterFirewallConfig"/>
|
||||||
<ComponentGroupRef Id="DataCenterFileGroup"/>
|
<ComponentGroupRef Id="DataCenterFileGroup"/>
|
||||||
|
<ComponentRef Id="ServiceConfiguration"/>
|
||||||
</ComponentGroup>
|
</ComponentGroup>
|
||||||
|
|
||||||
<ComponentGroup Id="DataCenterFileGroup" Directory="INSTALLFOLDER">
|
<ComponentGroup Id="DataCenterFileGroup" Directory="INSTALLFOLDER">
|
||||||
@ -202,5 +203,15 @@
|
|||||||
Checksum="yes"/>
|
Checksum="yes"/>
|
||||||
</Component>
|
</Component>
|
||||||
</ComponentGroup>
|
</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>
|
</Fragment>
|
||||||
</Wix>
|
</Wix>
|
||||||
@ -3,7 +3,7 @@
|
|||||||
xmlns:http="http://schemas.microsoft.com/wix/HttpExtension">
|
xmlns:http="http://schemas.microsoft.com/wix/HttpExtension">
|
||||||
<Fragment>
|
<Fragment>
|
||||||
<Component Id="URLReservation" Guid="{35F39190-88CA-4D1D-B066-9F9CAB328F4D}" Directory="INSTALLFOLDER" KeyPath="yes">
|
<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:UrlAce SecurityPrincipal="Everyone" Rights="all"/>
|
||||||
</http:UrlReservation>
|
</http:UrlReservation>
|
||||||
</Component>
|
</Component>
|
||||||
|
|||||||
@ -2,5 +2,6 @@
|
|||||||
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi">
|
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi">
|
||||||
<Fragment>
|
<Fragment>
|
||||||
<Property Id="STARTSERVICEONINSTALL" Value="false" />
|
<Property Id="STARTSERVICEONINSTALL" Value="false" />
|
||||||
|
<Property Id="SERVICEPORT" Value="8800" />
|
||||||
</Fragment>
|
</Fragment>
|
||||||
</Wix>
|
</Wix>
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user