I ran across a GAC problem today, did my due Google-ance before bothering
the list, and found an old e-mail chain with the same problem.
Unfortunately, the resolution wasn't posted. Here is the link to jog your
memory:
http://www.mail-archive.com/wix-users@lists.sourceforge.net/msg03509.html
My Experience: This works under XP, fails ("cannot write to
KeithleyTSPLib.xml") under Win2K. That could be a build machine (XP)/test
machine issue, hard to tell.
My Wix Snippet:
<Component Id='KeithleyTSPLib' Guid='{F7C2AEEB-28A6-40fb-B688-C25BEDF44793}'
>
<File Id='KeithleyTSPLib_DLL' Name='KeithleyTSPLib.dll' KeyPath='yes'
Assembly='.net'
Source='C:\PlatformESP\TSB\KeithleyTSP\bin\Release\KeithleyTSPLib.dll'
AssemblyManifest='KeithleyTSPLib_Manifest' >
<TypeLib Id='{156AA8CD-E3E3-45f9-9358-B394074031AA}' Advertise='yes'
Language='0'
Description='!(loc.KeithleyTSPLib_TypeLib_Descr)' MajorVersion='1'
MinorVersion='1' />
</File>
<File Id='KeithleyTSPLib_Manifest' Name='KeithleyTSPLib.xml'
Source='C:\PlatformESP\TSB\KeithleyTSP\bin\Release\KeithleyTSPLib.xml'
/>
<File Id='KeithleyTSPLib_TypeLib' Name='KeithleyTSPLib.tlb'
Source='C:\PlatformESP\TSB\KeithleyTSP\bin\Release\KeithleyTSPLib.tlb'
CompanionFile='KeithleyTSPLib_DLL' />
</Component>
If I leave out the KeithleyTSPLib_Manifest file, I get a 1935/0x80131043
error (http://blogs.msdn.com/astebner/archive/2004/08/26/221005.aspx).
If I put in that element, I get a 2350 error, "Error writing tofile:
KeithleyTSPLib.xml. Verify that you have access to that directory"
(retry/cancel, no luck with retry).
KNOWN WORKAROUND: If I remove all the assembly stuff and just install the
.dll as a plain file then do this manually (or via batch file), it works.
(Well, I am still missing some assembly-esque thing, but I get farther):
copy regasm.exe "C:\Program Files\Keithley Instruments\KETSP\bin"
copy sn.exe "C:\Program Files\Keithley Instruments\KETSP\bin"
c:
cd ""\Program Files\Keithley Instruments\KETSP\bin"
regasm KeithleyTSPLib.dll /tlb
gacutil /i KeithleyTSPLib.dll
Help? I am not a GAC expert by any means. In fact, I can barely spell GAC
.
Julie Campbell
[EMAIL PROTECTED]
_____________________________________________________________________________
Scanned by IBM Email Security Management Services powered by MessageLabs. For
more information please visit http://www.ers.ibm.com
_____________________________________________________________________________
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users