Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to install non-advertised COM servers unless the typelibrary is embedded: problem with TypeLib/Class @Server attribute #4937

Open
wixbot opened this issue Oct 28, 2015 · 1 comment
Milestone

Comments

@wixbot
Copy link

wixbot commented Oct 28, 2015

The following should cause the MSI Registry table to contain [#file.dll] for the InprocServer32 entry but instead it, incorrectly, ends up with [#file.tlb].

<File Id="file.dll" Name="file.dll" Source="file.dll" KeyPath="yes"/>
<File Id="file.tlb" Name="file.tlb" Source="file.tlb" CompanionFile="file.dll">
 <TypeLib ... Advertise="no" Control="no" ..>
   <Class ... Advertise="no" Control="no" 
        Context="InProcServer32" Server="file.dll">

ETC.

Note that if @server is changed to something bad, then an appropriate error is shown - so the code is resolving the attribute.

However, it then seems to ignore the value specified and use the inherited default (the parent File @id) when writing to the Registry table.

Originally opened by tcassisi

@wixbot
Copy link
Author

wixbot commented Oct 30, 2015

Release changed from v3.10 to v4.x

@wixbot wixbot added this to the v4.x milestone Dec 20, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant