Hi Mike,
If this dll is .NET, you need to find out how to manually register this dll.  
Does it require running InstallUtil.exe?  Is this dll is WindowsService or MMC 
managed snap-in?  Does it use some home grown custom registration method?  It 
is hard to come up with any advice without knowing what exactly we are trying 
to register.

Alex


-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of mike.tihonchik
Sent: Friday, April 11, 2008 6:43 AM
To: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] command window error while running tallow -s


Hi Alex, thank you for your reply. I am sorry, I am new to the whole process.
Yes, I think you are right, its not supported by COM, because I believe this
was .NET dll.... So my guess, tallow -s will not do the trick for me than. I
also ran the tallow -c on it. That ran without errors, and I piped it to the
file to get the fragment of the xml code. However, when I added it to the
.wxs file and created .msi project (which succeeded without errors) and ran
that .msi my dll was still not registered... So now I am at loss again...
Mike


Alexander Shevchuk wrote:
>
> Mike,
>
> My point was that it looks like DataTrackPrinter.dll does not support COM
> registration and therefore does not export and implement DllRegisterServer
> function (as well as DllUnregisterServer).  To prove that, you need to try
> to register this dll manually.  Try this command in the command window:
>
> regsvr32 DataTrackPrinter.dll
>
> if that succeed, it means that the problem is with tallow.  You will also
> need to unregister this dll by using the following command:
>
> regsvr32 /u DataTrackPrinter.dll
>
> If running the first regsvr32 command fails with the message box saying
> "The module ... was loaded but the entry-point DllRegisterServer was not
> found." You have a non-COM dll and you cannot register it.
>
> Regards,
>
> Alex
>
>
>
>
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of
> mike.tihonchik
> Sent: Thursday, April 10, 2008 3:03 PM
> To: wix-users@lists.sourceforge.net
> Subject: Re: [WiX-users] command window error while running tallow -s
>
>
> Well, no... What I am trying to do is get this .dll registered during the
> installation. Can I do that with my .dll?
> Thanks, MIKE
>
>
> Alexander Shevchuk wrote:
>>
>> Sounds like your dll either does not support registration or it is using
>> DllInstall
>> (http://msdn2.microsoft.com/en-us/library/bb759846(VS.85).aspx)
>> function for registration.
>>
>> Have you tried registering it using regsvr32?
>>
>> Alex
>>
>>
>> -----Original Message-----
>> From: [EMAIL PROTECTED]
>> [mailto:[EMAIL PROTECTED] On Behalf Of
>> mike.tihonchik
>> Sent: Thursday, April 10, 2008 12:45 PM
>> To: wix-users@lists.sourceforge.net
>> Subject: [WiX-users] command window error while running tallow -s
>>
>>
>> I am trying to run tallow -s DataTrakPrinter.dll > printer.xml command in
>> my
>> command window, and I am getting the following error??? :-/ Any
>> suggestions
>> of what to do to fix it???? I am new to WiX.... Thanks in advance, Mike
>>
>> C:\develop\clientactivex\DataTrakPrinter\DataTrakPrinter\bin\Debug>tallow
>> -s
>> Dat
>> aTrakPrinter.dll > printer.xml
>> Failed to SelfReg: DataTrakPrinter.dll
>>  System.Reflection.TargetInvocationException: Exception has been thrown
>> by
>> the t
>> arget of an invocation. ---> System.EntryPointNotFoundException: Unable
>> to
>> find
>> an entry point named 'DllRegisterServer' in DLL 'DataTrakPrinter.dll'.
>>    at DllRegisterServer()
>>    --- End of inner exception stack trace ---
>>    at System.RuntimeMethodHandle._InvokeMethodFast(Object target,
>> Object[]
>> argum
>> ents, SignatureStruct& sig, MethodAttributes methodAttributes,
>> RuntimeTypeHandle
>>  typeOwner)
>>    at System.RuntimeMethodHandle.InvokeMethodFast(Object target, Object[]
>> argume
>> nts, Signature sig, MethodAttributes methodAttributes, RuntimeTypeHandle
>> typeOwn
>> er)
>>    at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags
>> invoke
>> Attr, Binder binder, Object[] parameters, CultureInfo culture, Boolean
>> skipVisib
>> ilityChecks)
>>    at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags
>> invoke
>> Attr, Binder binder, Object[] parameters, CultureInfo culture)
>>    at
>> Microsoft.Tools.WindowsInstallerXml.Tools.Tallow.TallowMain.DynamicPInvoke
>> (String dll, String entryPoint, Type returnType, Type[] parameterTypes,
>> Object[]
>>  parameterValues)
>>    at
>> Microsoft.Tools.WindowsInstallerXml.Tools.Tallow.TallowMain..ctor(String[]
>>  args)
>> --
>> View this message in context:
>> http://www.nabble.com/command-window-error-while-running-tallow--s-tp16616082p16616082.html
>> Sent from the wix-users mailing list archive at Nabble.com.
>>
>>
>> -------------------------------------------------------------------------
>> This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
>> Don't miss this year's exciting event. There's still time to save $100.
>> Use priority code J8TL2D2.
>> http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
>> _______________________________________________
>> WiX-users mailing list
>> WiX-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/wix-users
>>
>> -------------------------------------------------------------------------
>> This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
>> Don't miss this year's exciting event. There's still time to save $100.
>> Use priority code J8TL2D2.
>> http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
>> _______________________________________________
>> WiX-users mailing list
>> WiX-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/wix-users
>>
>>
>
> --
> View this message in context:
> http://www.nabble.com/command-window-error-while-running-tallow--s-tp16616082p16619257.html
> Sent from the wix-users mailing list archive at Nabble.com.
>
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
> Don't miss this year's exciting event. There's still time to save $100.
> Use priority code J8TL2D2.
> http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
> Don't miss this year's exciting event. There's still time to save $100.
> Use priority code J8TL2D2.
> http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
>

--
View this message in context: 
http://www.nabble.com/command-window-error-while-running-tallow--s-tp16616082p16627805.html
Sent from the wix-users mailing list archive at Nabble.com.


-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Don't miss this year's exciting event. There's still time to save $100.
Use priority code J8TL2D2.
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to