I hope this email gets through (several earlier emails sent from my gmail 
account resulted in "SMTP Error (state 9): 451-Could not complete sender 
verify callout")

I've been working on the Wix installer for a project at my company for the 
past couple weeks, but the project manager has decided that we should 
install all our private dll's and exe's as assemblies. These files aren't 
actually compiled as assemblies but he thinks we may be able to do so 
anyways by making them private assemblies since those don't require 
signing.

I haven't been able to find much documentation about assemblies here or in 
the tutorial on tramontana, but I've pieced together the following in 
the primary feature in the main wxs file:

<Component Id="CrDllComponent" Guid="MyGuid" Win64="$(var.IS64)">
        <File Id="CrDllFile" Name="cr.dll" KeyPath="yes"
        src="..\..\repository\Build\$(var.PLATFORM)\Release\cr.dll" Vital="yes" 
        DiskId="1" Assembly=".net">
                <AssemblyName Id="Name" Value="Assembly"/>
                <AssemblyName Id="FileVersion" Value="$(var.PRODUCT_VERSION)"/>
                <AssemblyName Id="Culture" Value="neutral" />
        </File>
</Component>

This compiles fine and when I run it it starts to install, but partway 
through it gets a 2908 error and then says that it couldn't install 
cr.dll. The relevant bit from the log file is:

MSI (s) (20:18) [16:44:59:283]: Executing op: 
ComponentRegister(ComponentId={MyGuid},KeyPath=<\Assembly,FileVersion="0.0.0001",Culture="neutral",State=3,,Disk=1,SharedDllRefCount=0,BinaryType=0)
1: {91A299CF-3538-486C-87EE-1F0DD79ECB3F} 2: {MyGuid} 3: 
<\Assembly,FileVersion="0.0.0001",Culture="neutral" 
MSI (s) (20:18) [16:44:59:298]: MSCOREE already loaded, using loaded copy
MSI (s) (20:18) [16:44:59:330]: Assembly Error:The given assembly name or 
codebase, '%1', was invalid.
MSI (s) (20:18) [16:44:59:330]: Note: 1: 1935 2:  3: 0x80131047 4:  5: 
CreateAssemblyNameObject 6: 
CrDll,FileVersion="0.0.0001",language="en",processArchitecture="x86",Culture="neutral"
 
DEBUG: Error 2908:  Could not register component {MyGuid}.
The installer has encountered an unexpected error installing this package. 
This may indicate a problem with this package. The error code is 2908. The 
arguments are: {MyGuid}, , 
MSI (s) (20:18) [16:45:12:673]: Product: Laserfiche Server 8.1 -- The 
installer has encountered an unexpected error installing this package. 
This may indicate a problem with this package. The error code is 2908. The 
arguments are: {MyGuid}, , 

I'd appreciate any advice about what I'm doing wrong here, and would love 
to know about any tutorials on installing assemblies with Wix that might 
be out there on the net that I just haven't found yet. Thanks!


-------------------------------------------------------------------------
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