
Signature
Phil Wilson [MVP Windows Installer]
----
> If those actual .msm files are being installed onto the system, you must be
> doing it wrong.
You're absolutely right but it didn't tell me where I'm wrong.
To summarize, I'd say :
-Open a new deployment project
-Create n subfolders in my Application Folder
-Put files where desired (for instance the .exe files (in an exe folder) the
ones I'd like to see working on client's PC)
-Click the Focus to the (main at the root of Folders) "System Files target
computer" and in the "Project" menu, choose "Add" and "Merge Modules" (they
appear in the right subwindows - sol explorer - with the list of the whole
embedded files) and then
- Generate the solution to get a setup.exe
Am I wrong anywhere ?
below, another question
> I'm not sure what you're doing, but the .msm files do not
> need to be on disk (are they in the Application Folder - delete them if they
> are).
>You should be getting the Dlls on disk, that's the way it's supposed
> to work.
I wonder about your last sentence.
On the "client" PC where the application is supposed to be set on, what are
the news files the installation is supposed to deliver, and are they visible
in the explorer ? Are the .msm supposed to be copy anywhere (I don't think
so, it should be logical to imagine that if Microsoft does'nt want to deliver
directly its .dlls, those ones could be hiden in the .exe or these .exes can
dyn-link to something (but what ?).
Thanks
Xavier
> > Thanks Phil, but what's you explain (and it makes sense) is already what
> I
[quoted text clipped - 46 lines]
> > > > Thanks
> > > > Xav
Phil Wilson - 26 Mar 2005 19:26 GMT
That's right. I'll do another test myself to verify, but it also occurs to
me that your problem might be that each of your exes needs these DLLs, but
you've got them all in different folders. Those DLLs are side by side, so
every exe needs them. Merge modules are a packaging mechanism, but they
don't solve the problem of you having multiple exes in different folders
that all need their own copy of these DLLs.

Signature
Phil Wilson
[Microsoft MVP-Windows Installer]
Definitive Guide to Windows Installer
http://apress.com/book/bookDisplay.html?bID=280
>> If those actual .msm files are being installed onto the system, you must
>> be
[quoted text clipped - 104 lines]
>> > > > Thanks
>> > > > Xav
sergega4@yahoo.fr - 28 Mar 2005 02:39 GMT
> That's right. I'll do another test myself to verify, but it also occurs to
> me that your problem might be that each of your exes needs these DLLs, but
> you've got them all in different folders. Those DLLs are side by side, so
> every exe needs them. Merge modules are a packaging mechanism, but they
> don't solve the problem of you having multiple exes in different folders
> that all need their own copy of these DLLs.
My exes are in a common folder, I guess I misunderstood what the "merges"
were supposed to do. The only working case I meet was the one where the dlls
embedded in the .msm were deployed by the setup in the same directory than
the exe... which obviously works, but if it is THE searched case what is the
interest of the merges technique since we could directly include the dlls in
the exe folders by ourselves (via the setup) ???
If my treatment is the correct one, I misunderstand its interest,
either still I'ven’t I applied the good one, since I've never succeeded to
get the good explanation on what is the underlying idea and what are we
supposed to see setup by the install on the non-dev PC that makes the exes
run if the dlls are not present ?
Maybe I'll finally get the idea, one day ?
Who knows ?
Xavier
> >> If those actual .msm files are being installed onto the system, you must
> >> be
[quoted text clipped - 104 lines]
> >> > > > Thanks
> >> > > > Xav
Phil Wilson - 28 Mar 2005 16:52 GMT
I think you're seeing this because those merge modules are internally
defaulting to install to TARGETDIR, and that's your Application Folder. I
was thinking there's way to set the destination for the merge module
content, but there doesn't seem to be a way to do that in VS.
--
Phil Wilson
[Microsoft MVP-Windows Installer]
Definitive Guide to Windows Installer
http://apress.com/book/bookDisplay.html?bID=280
>> That's right. I'll do another test myself to verify, but it also occurs
>> to
[quoted text clipped - 146 lines]
>> >> > > > Thanks
>> >> > > > Xav
sergega4@yahoo.fr - 28 Mar 2005 23:45 GMT
> I think you're seeing this because those merge modules are internally
> defaulting to install to TARGETDIR, and that's your Application Folder.
Yes
> I was thinking there's way to set the destination for the merge module
> content, but there doesn't seem to be a way to do that in VS.
Yes it seems, but is it legal to provide (since it is the case) the MS dlls
even if this is done using MS "recommandation" (Use Merge Modules !).
The merge modules content are obsviously the 3 interesting (mfc71, msvcp71
and msvcr71) dlls in my case, which means deploying these files has the same
result that copying them to the non-dev PC like anyone could have done
without merge...?
I thought the mechanism would be more subtil (inclusion of assembly in the
exe deployed by the setup compensating the lack of dlls, or "dynload" of
something protected by the system).
I still wonder.
Thanks Phil.
Xavier
> --
> Phil Wilson
[quoted text clipped - 152 lines]
> >> >> > > > Thanks
> >> >> > > > Xav