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] "man068" <man068@yahoo.com> wrote in message
news:d2c7ebeb.0403200105.4baf31c6@posting.google.com...
> 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.
>
> thanks a lot in advance.