all groups > visual studio .net ide > april 2004 >
You're in the

visual studio .net ide

group:

Building MSIs with VS .NET


Re: Building MSIs with VS .NET Phil Wilson
4/28/2004 12:38:50 PM
visual studio .net ide:
There isn't a way to do that in the IDE, so unless having the file four
times is a problem, just let it do it.
--
Phil Wilson [MVP Windows Installer]
----
[quoted text, click to view]

Building MSIs with VS .NET Steve McLellan
4/28/2004 1:23:50 PM
Hi,

Is there a way to add a file multiple times to an Installer project and get
the MSI compiler not to package that file multiple times? It seems to me
it'd make more sense for it just to set up four locations to install a
single file to, rather than packing the file four times each with its own
installation location. At least with my settings, the former seems to be
happening. Any help much appreciated because delving around in Orca is a
soul destroying experience.

Steve

Re: Building MSIs with VS .NET Phil Wilson
4/28/2004 5:26:19 PM
I don't think it's all that common in 3rd party tools. MSI would need a lot
of new infrastructure for dealing with upgrades, updates, msp patches,
having the file used by features that could be uininstalled, what installer
component to associate it with, what to repair, etc. If it's a side-by-side
thing (or assembly etc) there might be a way to re-arrange folder structures
to minimize requirements for that file everywhere, but you've probably
looked at that already.
--
Phil Wilson [MVP Windows Installer]
----
[quoted text, click to view]

Re: Building MSIs with VS .NET Steve McLellan
4/28/2004 9:53:19 PM
OK, thought as much. It swells the file size unacceptably. Presumably this
can be done either manually or using one of the commercial tools out there.

[quoted text, click to view]

Re: Building MSIs with VS .NET Steve McLellan
4/29/2004 11:19:05 AM
There's a 'duplicate file' function as part of the SDK, which Wise seems to
use by default if you stick the same file twice into an installation in
different directories. Unfortunately rearranging folder structures isn't a
goer - our stuff needs to be installed to specific places that aren't under
our control.

Thanks for your help,

Steve

[quoted text, click to view]

AddThis Social Bookmark Button