i have build a msi which will install dotnet 4.8 using wix toolset but during installation it is giving an error that some other installation is running so that why it is unable to install it if I try to retry to it fails at the end i have to press cancel it the installation ends so please help me how to resolve this issue
Here is how my code looks like
<?xml version="1.0" encoding="UTF-8"?>
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi"
xmlns:bal="http://schemas.microsoft.com/wix/BalExtension"
xmlns:util="http://schemas.microsoft.com/wix/UtilExtension"
xmlns:netfx="http://schemas.microsoft.com/wix/NetFxExtension">
<Product Id="48CAD6F2-CA57-401E-AE5A-EEE8665F9750" Name="dotNetInstallationUsingWix" Language="1033" Version="1.0.0.0" Manufacturer="Naveen Ltd" UpgradeCode="0dabc91d-b2a0-4dd2-9ceb-cde6716edef7">
<Package InstallerVersion="200" Compressed="yes" InstallScope="perMachine" />
<MajorUpgrade DowngradeErrorMessage="A newer version of [ProductName] is already installed." />
<MediaTemplate EmbedCab="yes"/>
<UIRef Id="WixUI_Minimal" />
<Property Id="NETFRAMEWORK48INSTALLED">
<RegistrySearch Id="DotNetFX48Installed" Root="HKLM" Key="SOFTWARE\Microsoft\NET Framework Setup\NDP\v4\Full" Name="Release" Type="raw" />
</Property>
<Feature Id="ProductFeature" Title="dotNetInstallationUsingWix" Level="1">
<ComponentGroupRef Id="ProductComponents"/>
</Feature>
<CustomAction
Id="DotNetFX48Install"
Directory="INSTALLFOLDER"
ExeCommand=""[INSTALLFOLDER]ndp48-x86-x64-allos-enu.exe"/q /norestart"
Execute="deferred"
Impersonate="no"
Return="ignore"
/>
enter image description here
<InstallExecuteSequence>
<Custom Action="DotNetFX48Install" After="InstallFiles">
NOT Installed
</Custom>
<ScheduleReboot After="InstallFinalize"/>
</InstallExecuteSequence>
</Product>
<Fragment>
<Directory Id="TARGETDIR" Name="SourceDir">
<Directory Id="ProgramFilesFolder">
<Directory Id="Foldername" Name="dotNetInstallationUsingWix">
<Directory Id="INSTALLFOLDER" Name="Softwares" />
</Directory>
</Directory>
</Directory>
</Fragment>
<Fragment>
<ComponentGroup Id="ProductComponents" Directory="INSTALLFOLDER">
<Component Id="MainExecutable" Guid="C2E4D2D1-ECBE-4E06-A582-E4DDC0B74191">
<File Id="abc" Source="ndp48-x86-x64-allos-enu.exe" KeyPath="yes" />
</Component>
</ComponentGroup>
</Fragment>
</Wix>
and the error I am getting during installation are
enter image description here
enter image description here
please suggest me some changes so that it works