Installing a pre-req components and executing using operations command
-
I trying to install two components - vcruntime and my custom application.
My custom application requires vc runtime to be installed. So, i created a seperate package with vcruntime exe in that folder. Following is the package.xml for vcruntime :<?xml version="1.0" encoding="UTF-8"?>
<Package>
<DisplayName>VC Run time</DisplayName>
<Description>Pre-requisite for My custom application</Description>
<Version>4.0.0</Version>
<ReleaseDate>2020-09-24</ReleaseDate>
<ForcedInstallation>true</ForcedInstallation>
<Operations>
<Operation name="Execute">
<Argument>@TargetDir@/vc_redist.x64</Argument>
<Argument>/install</Argument>
<Argument>/quiet</Argument>
<Argument>/norestart</Argument>
</Operation>
</Operations>
</Package>The bin is getting copied to the target Dir but the execute operation is not getting executed. Can anyone tell me what i am doing wrong ? Also, is there any way to check if vcruntime is installed already and skip installation.