473,327 Members | 2,081 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,327 software developers and data experts.

Installing to GAC using WIX

So, I have a bunch of dll's. I want to create an MSI file in wix that
installs them into C:/Windows/Assembly, I have tried doing the
following but it doesnt work for installation of the files (ie.
replicating the drag and drop action)

<Directory Id="TARGETDIR" Name="SourceDir">
<Directory Id="WindowsFolder">
<Directory Id="AssemblyFolder">

<Component Id="InstallComponent" Guid="guild goes here">
<File Id='xxxx.dll' KeyPath="yes" Name='xxxx.dll'
LongName="xxxxxxxxx.dll" DiskId='1' src='C:/Xxxxxxxxxxxxxxxxxx.dll' /
>
</Component>

</Directory>
</Directory>
</Directory>

May 24 '07 #1
3 11806
On May 24, 10:54 am, kanepa...@hotmail.com wrote:
So, I have a bunch of dll's. I want to create an MSI file in wix that
installs them into C:/Windows/Assembly, I have tried doing the
following but it doesnt work for installation of the files (ie.
replicating the drag and drop action)

<Directory Id="TARGETDIR" Name="SourceDir">
<Directory Id="WindowsFolder">
<Directory Id="AssemblyFolder">

<Component Id="InstallComponent" Guid="guild goes here">
<File Id='xxxx.dll' KeyPath="yes" Name='xxxx.dll'
LongName="xxxxxxxxx.dll" DiskId='1' src='C:/Xxxxxxxxxxxxxxxxxx.dll' /

</Component>

</Directory>
</Directory>
</Directory>
and i forgot to put the error i'm getting on compilation using vs

Error 1 Unresolved reference to symbol 'Component:ProductComponent' in
section 'Product:B72F8590-09FD-11DC-9C70-B48C55D89593'. C:\Documents
and Settings\GE20\My Documents\development work\GAC installation\GAC
installation\Product.wxs

May 24 '07 #2
On May 24, 10:54 am, kanepa...@hotmail.com wrote:
So, I have a bunch of dll's. I want to create an MSI file in wix that
installs them into C:/Windows/Assembly, I have tried doing the
following but it doesnt work for installation of the files (ie.
replicating the drag and drop action)

<Directory Id="TARGETDIR" Name="SourceDir">
<Directory Id="WindowsFolder">
<Directory Id="AssemblyFolder">

<Component Id="InstallComponent" Guid="guild goes here">
<File Id='xxxx.dll' KeyPath="yes" Name='xxxx.dll'
LongName="xxxxxxxxx.dll" DiskId='1' src='C:/Xxxxxxxxxxxxxxxxxx.dll' /

</Component>

</Directory>
</Directory>
</Directory>
and i forgot to put the error

Error 1 Unresolved reference to symbol 'Component:ProductComponent' in
section 'Product:B72F8590-09FD-11DC-9C70-B48C55D89593'.

May 24 '07 #3
<ka*******@hotmail.comwrote in message
news:11**********************@m36g2000hse.googlegr oups.com...
So, I have a bunch of dll's. I want to create an MSI file in wix that
installs them into C:/Windows/Assembly, I have tried doing the
following but it doesnt work for installation of the files (ie.
replicating the drag and drop action)

<Directory Id="TARGETDIR" Name="SourceDir">
<Directory Id="WindowsFolder">
<Directory Id="AssemblyFolder">

<Component Id="InstallComponent" Guid="guild goes here">
<File Id='xxxx.dll' KeyPath="yes" Name='xxxx.dll'
LongName="xxxxxxxxx.dll" DiskId='1' src='C:/Xxxxxxxxxxxxxxxxxx.dll' /
>>
In the <Fileelement, you need to add

AssemblyManifest='xxxx.dll' (or whatever your file ID really is)
Assembly='.net'

That may not be the only problem, the error isn't something I've seen
before.

You might get better help with the WiX mailing list:

http://sourceforge.net/mailarchive/f...name=wix-users
May 24 '07 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Jean-Christian Imbeault | last post by:
I have a user account on a RH Linux machine but no root access. I succesfully installed apache 1.3 under my /home/ account but can't get PHP to install properly. I have done the following...
2
by: Dennis Hore | last post by:
I'm trying to install Nick Patavalis' ppgplot package on Mac OS X 10.3 with python 2.3. I first sent this message to Nick, but he said he doesn't have any experience with the Mac platform. ...
4
by: GujuBoy | last post by:
i want to check to see if a certain program is installed on my windows box using python. how can i do that...(ie, i want to see if "word" is installed) please help
0
by: Jerry He | last post by:
>From Jerry He: >For the third one however > ld -shared example.o example_wrap.o -o _example.so >It gave me a long list of errors listed at the end of >this email. Ok, I managed to get...
3
by: jaggi | last post by:
Hi all, I downloaded DB2 enterprise edition from partnerworld on ibm.com and unzipped and untarred it and copied it to CD and tried installing on AIX using SMIT. I am getting errors while...
7
by: Adam | last post by:
Im trying to add an httphandler for all *.sgf file extensions. I have developed the handler, 1. installed it into the gac 2. added it to the machine.config: <httpHandlers> <add verb="*"...
1
by: S.Creek | last post by:
Hi, i am using a VS 2005 set up project ,to distribute my application, i cant find a way to silently install the 2.0 framework. Microsoft has an option to check it as pre-requisite, but then the...
2
by: celerno | last post by:
Hi all, first some history: i'm developing an application who access foxpro databases using VfpOledb provider... but this cause a headache when i delete rows cause some tables call triggers... to...
3
by: =?Utf-8?B?VmFuZXNzYQ==?= | last post by:
Hi all! I am having problems on installing .NET Framework 3.5 on some machines. In one machine the error is: '.NET Framework 3.5' RunCheck result: Install Needed Verifying file integrity of...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.