Skip to content

Commit

Permalink
add aspnet core check
Browse files Browse the repository at this point in the history
  • Loading branch information
Painter, Christopher P authored and Painter, Christopher P committed Nov 7, 2023
1 parent 668c803 commit 18b1695
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
<Wix xmlns="http://wixtoolset.org/schemas/v4/wxs" xmlns:iis="http://wixtoolset.org/schemas/v4/wxs/iis">
<Wix xmlns="http://wixtoolset.org/schemas/v4/wxs" xmlns:iis="http://wixtoolset.org/schemas/v4/wxs/iis" xmlns:iis="http://wixtoolset.org/schemas/v4/wxs/iis" xmlns:netfx="http://wixtoolset.org/schemas/v4/wxs/netfx">
<Fragment>
<ComponentGroup Id="webSite">
<ComponentRef Id="webSite" />
</ComponentGroup>
<PropertyRef Id="IISMAJORVERSION" />
<netfx:DotNetCoreSearch RuntimeType="aspnet" MajorVersion="7" Platform="x64" Variable="ASPNETCOREVERSION"/>
<Launch Condition="Installed OR IISMAJORVERSION" Message="[ProductName] requires Microsoft IIS"/>
<DirectoryRef Id="INSTALLLOCATION">
<Launch Condition="Installed OR ASPNETCOREVERSION" Message="[ProductName] requires ASP.NET Core 7.x (Hosting Bundle)"/>
<DirectoryRef Id="INSTALLLOCATION">
<Directory Id="webSite" Name="WebSite">
<Component Id="webSite" Guid="$guid4$" KeyPath="yes">
<iis:WebAppPool Id="webSite" Name="$safeprojectname$" Identity="applicationPoolIdentity" ManagedRuntimeVersion="v4.0" ManagedPipelineMode="Integrated"/>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
<Wix xmlns="http://wixtoolset.org/schemas/v4/wxs" xmlns:iis="http://wixtoolset.org/schemas/v4/wxs/iis">
<Wix xmlns="http://wixtoolset.org/schemas/v4/wxs" xmlns:iis="http://wixtoolset.org/schemas/v4/wxs/iis" xmlns:netfx="http://wixtoolset.org/schemas/v4/wxs/netfx">
<Fragment>
<ComponentGroup Id="webSite">
<ComponentRef Id="webSite" />
</ComponentGroup>
<PropertyRef Id="IISMAJORVERSION" />
<netfx:DotNetCoreSearch RuntimeType="aspnet" MajorVersion="7" Platform="x64" Variable="ASPNETCOREVERSION"/>
<Launch Condition="Installed OR IISMAJORVERSION" Message="[ProductName] requires Microsoft IIS"/>
<Launch Condition="Installed OR ASPNETCOREVERSION" Message="[ProductName] requires ASP.NET Core 7.x (Hosting Bundle)"/>
<DirectoryRef Id="INSTALLLOCATION">
<Directory Id="webSite" Name="WebSite">
<Component Id="webSite" Guid="$guid4$" KeyPath="yes">
Expand Down

0 comments on commit 18b1695

Please sign in to comment.