You should only be installing shared assemblies to the GAC. I find it highly unlikely that an EXE, normally a program file, is exporting classes for other code to use.

 

The linker error is coming from the fact that the File/@AssemblyManifest attribute is supposed to contain a reference to a File, that is, a File/@Id value. The linker is telling you that there is no such File.

 

--

Mike Dimmick

 


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of vij
Sent: 13 November 2006 06:42
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Error in Installing to GAC

 

Hi,
I am trying to install PTPlayback.exe to GAC using the below given file element:

<File Id="gacplayer" Name="PTP.exe" KeyPath="yes"   src="" Assembly=".net" AssemblyManifest="PTPlayback.exe" />

But during the link time(light command), I am getting the below given error:
----------------------------------------------------------------
PlayerPackage.wxs : error LGHT0112 : Unresolved reference to symbol 'File:PTPlayback.exe' in section 'Product:4DD1D741-701D-4CA7-AFB5-924356093D51'.
----------------------------------------------------------------

 

In the above file element, if I remove the "AssemblyManifest" attribute then there is no error but during the installation of the package the below given error is displayed and installation failing.
----------------------------------------------------------------
"An String occrured during the installation assembly component {5183CF45-47AE-4e49-86DF-80767D2A82D7} HRESULT=0X80131043"
----------------------------------------------------------------

 

What is wrong with my code?
BTW, In our team to install PTPlayback.exe to GAC manually,  developers are using the InstallUtil.exe.
Can I use file element to install to GAC or should I use something else?


Any help would be greatly appreciated!

(This is very urgent for me..please help me!!)

 

thanks
Vij

 


Want to start your own business? Learn how on Yahoo! Small Business.

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