Private assemblies are simply installed as files. Don't specify the Assembly
attribute at all, nor the AssemblyName elements.

Generally you don't actually specify the <AssemblyName> elements; light can
fix those up for itself. If you want the FileVersion to be specified, you
can use the -fv switch to light. Only if light gets it wrong do you need to
add AssemblyName elements.

You get the error from setting Assembly="win32" because Windows Installer
then expects the key file to be a native assembly manifest. While they have
the same name, .NET and Win32 assemblies are actually quite different.

-- 
Mike Dimmick

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Geoff Finger
Sent: 20 October 2006 19:57
To: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Private Assemblies with Wix

Yes, we're using .Net so I was told that all the files already have an
internal manifest so I shouldn't need to worry about an external manifest
file. We intend to make the public dll's shared at some point in the future,
so I think the intent is to be consistent by treating all the dll's and
exe's as assemblies, either shared or private.

So would the above code be correct if it were a shared dll? (If I added a
publicKeyToken value at least) What do i need to change in order to have
cr.dll treated as a private assembly? I tried just changing ".net" 
to "win32", however for some reason that caused light.exe to start
generating errors about other unrelated files in other features, saying
"file.ext : error LGHT0124 : Not a valid manifest file; detail: Data at the
root level is invalid. Line 1, position 1."

And i'd still like to know if thee are actually any good tutorials on the
subject since even if I end up having to give up on the private assemblies
I'll need to figure out how to handle the shared assemblies later.



-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to