<Component Id="SomeDll" Guid="[a guid]"> <File Id="SomeDllAssembly" Source="$(var.<YourProject.TargetDir)SomeDll.dll" DiskId="1" Vital="yes" /> </Component>
Once this is added under ComponentGroup element in wxs file, issue got resolved.