473,511 Members | 16,776 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

WIX source directory question

Hey ,,

I was trying to add a dll to the GAC the following works as desired

<Component Id="Assemblies_GAC" Guid="D50D93D8-B5EF-46f4-
A304-869ADBA389F9" DiskId="1">
<File Id="foo_GAC.dll" KeyPath="yes" Assembly=".net"
ProcessorArchitecture="msil" Name="foo1.dll" LongName="xxxxxxxx.dll"
src="C:\GAC_Installer\xxxxxxxxx.dll" />
</Component>

what I require is for the source of the dll to default to the same
location as the MSI file. So ,, basically the src attribute of file
should require just the file name and the location of the file should
be assumed to be the same as the location of the MSI.

I have already tried src="xxxxxx.dll" and that doesnt work
any ideas?
thanks

May 25 '07 #1
5 3140

<ka*******@hotmail.comwrote in message
news:11**********************@q66g2000hsg.googlegr oups.com...
Hey ,,

I was trying to add a dll to the GAC the following works as desired

<Component Id="Assemblies_GAC" Guid="D50D93D8-B5EF-46f4-
A304-869ADBA389F9" DiskId="1">
<File Id="foo_GAC.dll" KeyPath="yes" Assembly=".net"
ProcessorArchitecture="msil" Name="foo1.dll" LongName="xxxxxxxx.dll"
src="C:\GAC_Installer\xxxxxxxxx.dll" />
</Component>

what I require is for the source of the dll to default to the same
location as the MSI file. So ,, basically the src attribute of file
should require just the file name and the location of the file should
be assumed to be the same as the location of the MSI.

I have already tried src="xxxxxx.dll" and that doesnt work
That resolved relative to your current directory. Set your default to the
location of the MSI and it will work.

May 25 '07 #2
On May 25, 1:40 pm, "John Vottero" <JVott...@mvpsi.comwrote:
<kanepa...@hotmail.comwrote in message

news:11**********************@q66g2000hsg.googlegr oups.com...


Hey ,,
I was trying to add a dll to the GAC the following works as desired
<Component Id="Assemblies_GAC" Guid="D50D93D8-B5EF-46f4-
A304-869ADBA389F9" DiskId="1">
<File Id="foo_GAC.dll" KeyPath="yes" Assembly=".net"
ProcessorArchitecture="msil" Name="foo1.dll" LongName="xxxxxxxx.dll"
src="C:\GAC_Installer\xxxxxxxxx.dll" />
</Component>
what I require is for the source of the dll to default to the same
location as the MSI file. So ,, basically the src attribute of file
should require just the file name and the location of the file should
be assumed to be the same as the location of the MSI.
I have already tried src="xxxxxx.dll" and that doesnt work

That resolved relative to your current directory. Set your default to the
location of the MSI and it will work.- Hide quoted text -

- Show quoted text -
Thanks for the response... ummm.. I dont quite understand what you
mean .. basically, I am going to supply the client with a self-
extractor containing the msi and dlls, now its upto the client to
extract them where ever he/she wants. From here, I want the msi to
pickup the files from the same folder as itself.

May 25 '07 #3

<ka*******@hotmail.comwrote in message
news:11*********************@u30g2000hsc.googlegro ups.com...
On May 25, 1:40 pm, "John Vottero" <JVott...@mvpsi.comwrote:
><kanepa...@hotmail.comwrote in message

news:11**********************@q66g2000hsg.googleg roups.com...


Hey ,,
I was trying to add a dll to the GAC the following works as desired
<Component Id="Assemblies_GAC" Guid="D50D93D8-B5EF-46f4-
A304-869ADBA389F9" DiskId="1">
<File Id="foo_GAC.dll" KeyPath="yes" Assembly=".net"
ProcessorArchitecture="msil" Name="foo1.dll" LongName="xxxxxxxx.dll"
src="C:\GAC_Installer\xxxxxxxxx.dll" />
</Component>
what I require is for the source of the dll to default to the same
location as the MSI file. So ,, basically the src attribute of file
should require just the file name and the location of the file should
be assumed to be the same as the location of the MSI.
I have already tried src="xxxxxx.dll" and that doesnt work

That resolved relative to your current directory. Set your default to
the
location of the MSI and it will work.- Hide quoted text -

- Show quoted text -

Thanks for the response... ummm.. I dont quite understand what you
mean .. basically, I am going to supply the client with a self-
extractor containing the msi and dlls, now its upto the client to
extract them where ever he/she wants. From here, I want the msi to
pickup the files from the same folder as itself.
I misunderstood the questions, the src="xxxxx.dll" attribute tells WiX where
to find the source file when it's building the MSI.

I think you can build MSIs that install files from where the MSI is but,
I've never done it. I always build MSIs with all the files embedded into
the MSI. I think you would do this by changing some attribute of he
<Mediaelement but, that's just a guess.

May 25 '07 #4
On May 25, 3:30 pm, "John Vottero" <JVott...@mvpsi.comwrote:
<kanepa...@hotmail.comwrote in message

news:11*********************@u30g2000hsc.googlegro ups.com...


On May 25, 1:40 pm, "John Vottero" <JVott...@mvpsi.comwrote:
<kanepa...@hotmail.comwrote in message
>news:11**********************@q66g2000hsg.googleg roups.com...
Hey ,,
I was trying to add a dll to the GAC the following works as desired
<Component Id="Assemblies_GAC" Guid="D50D93D8-B5EF-46f4-
A304-869ADBA389F9" DiskId="1">
<File Id="foo_GAC.dll" KeyPath="yes" Assembly=".net"
ProcessorArchitecture="msil" Name="foo1.dll" LongName="xxxxxxxx.dll"
src="C:\GAC_Installer\xxxxxxxxx.dll" />
</Component>
what I require is for the source of the dll to default to the same
location as the MSI file. So ,, basically the src attribute of file
should require just the file name and the location of the file should
be assumed to be the same as the location of the MSI.
I have already tried src="xxxxxx.dll" and that doesnt work
That resolved relative to your current directory. Set your default to
the
location of the MSI and it will work.- Hide quoted text -
- Show quoted text -
Thanks for the response... ummm.. I dont quite understand what you
mean .. basically, I am going to supply the client with a self-
extractor containing the msi and dlls, now its upto the client to
extract them where ever he/she wants. From here, I want the msi to
pickup the files from the same folder as itself.

I misunderstood the questions, the src="xxxxx.dll" attribute tells WiX where
to find the source file when it's building the MSI.

I think you can build MSIs that install files from where the MSI is but,
I've never done it. I always build MSIs with all the files embedded into
the MSI. I think you would do this by changing some attribute of he
<Mediaelement but, that's just a guess.- Hide quoted text -

- Show quoted text -
whhooooops .. thats even better:)... how would I embbed the dlls into
the MSI file such that I dont have to package them up in the product
that a send to the client?

May 25 '07 #5

<ka*******@hotmail.comwrote in message
news:11**********************@p47g2000hsd.googlegr oups.com...
On May 25, 3:30 pm, "John Vottero" <JVott...@mvpsi.comwrote:
><kanepa...@hotmail.comwrote in message

news:11*********************@u30g2000hsc.googlegr oups.com...


On May 25, 1:40 pm, "John Vottero" <JVott...@mvpsi.comwrote:
<kanepa...@hotmail.comwrote in message
>>news:11**********************@q66g2000hsg.google groups.com...
Hey ,,
I was trying to add a dll to the GAC the following works as desired
<Component Id="Assemblies_GAC" Guid="D50D93D8-B5EF-46f4-
A304-869ADBA389F9" DiskId="1">
<File Id="foo_GAC.dll" KeyPath="yes" Assembly=".net"
ProcessorArchitecture="msil" Name="foo1.dll" LongName="xxxxxxxx.dll"
src="C:\GAC_Installer\xxxxxxxxx.dll" />
</Component>
what I require is for the source of the dll to default to the same
location as the MSI file. So ,, basically the src attribute of file
should require just the file name and the location of the file
should
be assumed to be the same as the location of the MSI.
I have already tried src="xxxxxx.dll" and that doesnt work
>That resolved relative to your current directory. Set your default to
the
location of the MSI and it will work.- Hide quoted text -
>- Show quoted text -
Thanks for the response... ummm.. I dont quite understand what you
mean .. basically, I am going to supply the client with a self-
extractor containing the msi and dlls, now its upto the client to
extract them where ever he/she wants. From here, I want the msi to
pickup the files from the same folder as itself.

I misunderstood the questions, the src="xxxxx.dll" attribute tells WiX
where
to find the source file when it's building the MSI.

I think you can build MSIs that install files from where the MSI is but,
I've never done it. I always build MSIs with all the files embedded into
the MSI. I think you would do this by changing some attribute of he
<Mediaelement but, that's just a guess.- Hide quoted text -

- Show quoted text -

whhooooops .. thats even better:)... how would I embbed the dlls into
the MSI file such that I dont have to package them up in the product
that a send to the client?
I think all you need is:

<Media Id="1" EmbedCab="yes" Cabinet="YourCABName" />

The 'DiskID="1"' attribute in your Components connect to the Media ID="1"
which tells it to embed the cabinet with "EmbedCab="yes".

May 26 '07 #6

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

Similar topics

9
5313
by: FISH | last post by:
Ever have one of those days when you're not sure if it's you who's gone mad, or the rest of the world? I have an Open Source project on SourceForge for communication with YSMG - Yahoo's IM...
3
2350
by: Peter Schwalm | last post by:
I'd like to modify the python search path depending on the source directory of the script being started. The reason is: I use a version control system, and the python scripts and modules are...
4
11475
by: MLH | last post by:
I am having failures processing the following command and I wonder if you can tell me what I must do in order to have success. When I try to run source mysql_dump.sql.txt ==> it is a problem...
4
1954
by: pearsons_11114 | last post by:
Newbie to .NET from Java, have a question about requirements/conventions for source tree layout. In Java there a convention-bordering-on-requirement that a source file's location in the source tree...
1
1586
by: Vladimír Kolesnik | last post by:
Hi, there we need help concerning setting project under source control. We want to have a project on the server, and developers in the local network working on this project. We decided to use...
3
1244
by: Harold Hsu | last post by:
Hi, I hope this is the right group to post this question. I've created a web project at work. The project name is Foo.Bar.Web. The physical folder is located outside Inetput\wwwroot...
0
1227
by: Wayne Sepega | last post by:
We are using windows 2003 standard server, VSS 2005 and VS 2005 (mostly team dev, but some team arch and suite) We run windows 2003 on our development boxes, this gives us the ability to host...
3
2240
by: teddysnips | last post by:
I've been brought onto a new project and there's a file that lays out the preferred method of obtaining the source code. This file starts as follows: "Do not get the source for the web project...
0
1327
by: Beemer Biker | last post by:
I didnt see any "save solution" in the VS8 files menu where I can save the project solution to a different directory. My program needs to be checked into our source control system (Accurev) and...
3
2063
by: lukefrancomusic | last post by:
I am trying to learn Python. I am working on a simple backup program (code listed below). When using a source directory (the files to be backed up) without spaces in the title, my program works...
0
7242
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7138
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7355
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
7423
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
7081
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
5668
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
3213
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1576
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
781
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.