Hi ,
I resolved the linker error by using manifest file/ID as shown below:
<File Id="gacmanifestid" Name="gacfd.man"  LongName="PTPlayback.exe.manifest"   src="" />
<File Id="gacplayer" Name="PTP.exe" KeyPath="yes"   src="" Assembly=".net" AssemblyManifest="gacmanifestid" />
 
But during the installation of msi package, I am getting below given error messages and installation failing.
-----------------------------------------------------
"String writing to file: PTPlayback.exe.manifest. Verify that you have access to that directory"
"The installer has encountered an unexpected string installing this package. This may indicate a problem with this package. The String code is 2350"
-----------------------------------------------------
 
Iam able to install PTPlayback.exe to GAC manually by running InstallUtil.exe, but unable to install through setup!!
 
Can some one help me, to resolve this problem!
 
thanks
Vij

Mike Dimmick <[EMAIL PROTECTED]> wrote:
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.


Cheap Talk? Check out Yahoo! Messenger's low PC-to-Phone call rates.
-------------------------------------------------------------------------
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