Christopher:
The following <File> element installs the file to the GAC.
<File Id="YourFileId" Name="YourFileShortName" LongName="YourFileLongName"
src="YourFileSourcePath" Vital="yes" KeyPath="yes" DiskId="1"
Assembly=".net" />
As for your error, I suspect that it has something to do with the following
help entry for the @Assemby attribute. From the Wix.chm:
"Specifies if this File is a Win32 Assembly or .NET Assembly; the default is
neither. If the value is '.net' or 'win32', this file must also be the key
path of the Component."
David Adams
MSN MessengerID: [EMAIL PROTECTED]
From: "Christopher Brandt" <[EMAIL PROTECTED]>
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] File Element - Assembly Attribute
Date: Wed, 7 Mar 2007 15:50:21 -0800
MIME-Version: 1.0
Received: from lists-outbound.sourceforge.net ([66.35.250.225]) by
bay0-mc11-f5.bay0.hotmail.com with Microsoft SMTPSVC(6.0.3790.2668); Wed, 7
Mar 2007 15:50:30 -0800
Received: from sc8-sf-list1-new.sourceforge.net
(sc8-sf-list1-new-b.sourceforge.net [10.3.1.93])by
sc8-sf-spam2.sourceforge.net (Postfix) with ESMTPid B3C15123A9; Wed, 7 Mar
2007 15:50:29 -0800 (PST)
Received: from sc8-sf-mx1-b.sourceforge.net
([10.3.1.91]helo=mail.sourceforge.net)by sc8-sf-list1-new.sourceforge.net
with esmtp (Exim 4.43)id 1HP5tn-0004xa-Mmfor
wix-users@lists.sourceforge.net; Wed, 07 Mar 2007 15:50:24 -0800
Received: from ug-out-1314.google.com ([66.249.92.174])by
mail.sourceforge.net with esmtp (Exim 4.44) id 1HP5tn-0004sN-A4for
wix-users@lists.sourceforge.net; Wed, 07 Mar 2007 15:50:23 -0800
Received: by ug-out-1314.google.com with SMTP id z38so795097ugcfor
<wix-users@lists.sourceforge.net>;Wed, 07 Mar 2007 15:50:22 -0800 (PST)
Received: by 10.114.52.1 with SMTP id z1mr2383336waz.1173311421118;Wed, 07
Mar 2007 15:50:21 -0800 (PST)
Received: by 10.114.148.6 with HTTP; Wed, 7 Mar 2007 15:50:21 -0800 (PST)
X-Message-Info: LsUYwwHHNt2Tn1EjXaVIOCn1a55emL8zXddYhy6kFsM=
X-Spam-Score: 0.2 (/)
X-Spam-Report: Spam Filtering performed by sourceforge.net.See
http://spamassassin.org/tag/ for more details.Report problems
tohttp://sf.net/tracker/?func=add&group_id=1&atid=2000010.0 RCVD_BY_IP
Received by mail server with no name0.0 HTML_MESSAGE
BODY: HTML included in message0.1 HTML_00_10 BODY: Message is
0% to 10% HTML
X-BeenThere: wix-users@lists.sourceforge.net
X-Mailman-Version: 2.1.8
Precedence: list
List-Id: "General discussion for Windows Installer XML
toolset."<wix-users.lists.sourceforge.net>
List-Unsubscribe:
<https://lists.sourceforge.net/lists/listinfo/wix-users>,<mailto:[EMAIL PROTECTED]>
List-Archive:
<http://sourceforge.net/mailarchive/forum.php?forum=wix-users>
List-Post: <mailto:wix-users@lists.sourceforge.net>
List-Help: <mailto:[EMAIL PROTECTED]>
List-Subscribe:
<https://lists.sourceforge.net/lists/listinfo/wix-users>,<mailto:[EMAIL PROTECTED]>
Errors-To: [EMAIL PROTECTED]
Return-Path: [EMAIL PROTECTED]
X-OriginalArrivalTime: 07 Mar 2007 23:50:30.0194 (UTC)
FILETIME=[63520120:01C76113]
What is the purpose of the Assembly attribute of the File Element?
I'm trying to install a set of .net assemblies, but if I set the Assembly
attribute to ".net" the msi fails with an HRESULT 0x8002802F (and no real
information of course). It works if I leave the Assembly attribute out.
From reading a few messages on the forum it appears that this may have
something to do with installing to the GAC. But then, how does it work and
why do I get this cryptic error?
Thanks
--
X
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share
your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users
_________________________________________________________________
Play Flexicon: the crossword game that feeds your brain. PLAY now for FREE.
http://zone.msn.com/en/flexicon/default.htm?icid=flexicon_hmtagline
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users