[go: nahoru, domu]

Skip to content

Commit

Permalink
Including port reservation as the step in installation process.
Browse files Browse the repository at this point in the history
  • Loading branch information
rrzaripov committed Apr 20, 2016
1 parent 96e424a commit d2ab15a
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions CobraWinLDTP.Wix/CobraWinLDTP.wxs
Original file line number Diff line number Diff line change
Expand Up @@ -497,8 +497,35 @@ SOFTWARE.
Return="check">
</CustomAction>

<CustomAction Id="ListenerServiceAddLocalHostReservation"
Execute='deferred'
Impersonate='no'
Directory="INSTALLDIR"
ExeCommand="netsh http add urlacl url=http://localhost:4118/ user=[%USERDOMAIN]\[%USERNAME]"
Return="check" />

<CustomAction Id="ListenerServiceAddLocalIPReservation"
Execute='deferred'
Impersonate='no'
Directory="INSTALLDIR"
ExeCommand="netsh http add urlacl url=http://+:4118/ user=[%USERDOMAIN]\[%USERNAME]"
Return="check" />

<CustomAction Id="ListenerServiceAddAllIPReservation"
Execute='deferred'
Impersonate='no'
Directory="INSTALLDIR"
ExeCommand="netsh http add urlacl url=http://*:4118/ user=[%USERDOMAIN]\[%USERNAME]"
Return="check" />

<InstallExecuteSequence>
<WriteEnvironmentStrings />
<Custom Action="ListenerServiceAddLocalHostReservation"
Before='InstallFinalize'>NOT Installed</Custom>
<Custom Action="ListenerServiceAddLocalIPReservation"
Before='InstallFinalize'>NOT Installed</Custom>
<Custom Action="ListenerServiceAddAllIPReservation"
Before='InstallFinalize'>NOT Installed</Custom>
<Custom Action="LaunchSetEnvironmentVariable"
After="InstallFinalize">NOT Installed</Custom>
</InstallExecuteSequence>
Expand Down

0 comments on commit d2ab15a

Please sign in to comment.