all groups > visual studio .net setup > march 2004 >
You're in the

visual studio .net setup

group:

adding a file into existing msi file


adding a file into existing msi file man068 NO[at]SPAM yahoo.com
3/20/2004 1:05:37 AM
visual studio .net setup: Hi,

I searched all over google groups to find a solution this problem but
could not find answer, though some vague suggesiions I found.

Here is the problem.

I have built a .msi using the Visual Studio.NET (actually the setup
project was created automatically for me...!!). I need to add a new
file into this msi file outside of the visual studio.NET. Inside the
overridden installer file of msi I determine to use the file or not
depending on whether its been added to msi file or not.

The use case is: for the customer to add a file later into the msi
file for some functionality only if they want to use it. They
definitely will not have VS.NET.

I tried to use MaSaI editor, and use its "add file functionality but
once i added the file the MSI stopped working giving errors.
Can I do it using MaSaI editor? if yes how?

I am trying to add a binary file (.mpp file to be precise). Is it
possible to do this? If you can suggest any links related to this,
thats also fine.

Re: adding a file into existing msi file Phil Wilson
3/21/2004 12:30:58 PM
You can't easily do that. Adding the file isn't the only thing you need to
do. I assume you need it installing somewhere, so you need to add other
internal things (like a new installer component, or add it to an existing
component) and then associate it with some place it will be installed etc.
If you spent a few weeks with the Windows Installer SDK you could get there,
but that seems like a waste of time.
--
Phil Wilson
[MVP Windows Installer]
[quoted text, click to view]

Re: adding a file into existing msi file man068 NO[at]SPAM yahoo.com
3/22/2004 10:50:17 AM
Thanks Phil for answering the question. So there is no way to add
files to MSI even with using external msi editors is it? Like MaSaI I
guess.

Do u know of any websites or articles on it I can look at?

And sorry for posting in two groups, I was not sure whether same set
of ppl will see both of them, so posted in both the groups.
thanks

[quoted text, click to view]
Re: adding a file into existing msi file Phil Wilson
3/22/2004 5:51:17 PM
You could look here http://www.wise.com/filelib/MSIwhitepaper.pdf

and http://www.installsite.org

--
Phil Wilson [MVP Windows Installer]
----
[quoted text, click to view]


AddThis Social Bookmark Button