Re: [WiX-users] Consensus about CRT/MCF merge modules?

2007-03-20 Thread stian


Mike Dimmick-2 wrote:
 
 The VC2005 merge modules will install files to:
 
 - [WindowsFolder]System32 on Windows 9X and 2000;
 - The appropriate WinSxS folder on Windows XP, 2003 and Vista.
 
 They are not retargetable.
 
 

I'm trying to put the dlls msvcp71.dll and msvcr71.dll in the installation
folder. I merge them to my msi using the merge modules CRT and STL, as I've
understood using the merge modules is the way to go (correct?). The problem
is that I can't make the dlls be put in the installation folder - or some
systemfolder where I can reach it. Inside the merge modules the directory is
defined to TARGETDIR. And I've set the TARGETDIR to SourceDir as I've got an
impression this is the common way it should be done. The 
That leaves me with something like: 

Directory Id=TARGETDIR Name=SourceDir
  Directory Id=ProgramFilesFolder
Directory Id=CompanyDir Name=company
  Directory Id=INSTALLDIR Name=install_folder
Merge Id='VC_STL' Language='0'
src='$(var.msmdir_71)\VC_User_STL71_RTL_X86_---.msm' DiskId='1' /
..
  /Directory
/Directory
  /Directory
/Directory
..
Feature Id='Complete' Level='1'
  MergeRef Id=VC_STL /
  ..
/Feature

I was hoping that the files in the STL merge module would be put into the
INSTALLDIR together with the other files I define at the same Directory, but
apparently this isn't the case. You say that they aren't retargetable. So,
does this mean that I can't change the directory to put the dlls in? Then I
need to make sure TARGETDIR is what I want it to be.. When installing they
are put in the root (c:\). Is this what my WinSxS folder is set to then? I
didn't think so.. Can I change the WinSxS? Do I have to say explicitally
that I use WinSxs? 

Note that I'm new to WiX.. 

Best Regards
Stian 
-- 
View this message in context: 
http://www.nabble.com/Consensus-about-CRT-MCF-merge-modules--tf3415449.html#a9571860
Sent from the wix-users mailing list archive at Nabble.com.


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Consensus about CRT/MCF merge modules?

2007-03-20 Thread Tony Hoyle
stian wrote:

 I'm trying to put the dlls msvcp71.dll and msvcr71.dll in the installation
 folder. I merge them to my msi using the merge modules CRT and STL, as I've
 understood using the merge modules is the way to go (correct?). The problem

Don't bother with the VS2003 merge modules - they're broken, and will 
install the files in the root as you've found - just put the files in a 
component and install them as a normal part of your app.

OTOH For VS2005 you must use the merge modules as they handle the global 
registration of the DLLs (which no longer work from the app directory).

Tony

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Consensus about CRT/MCF merge modules?

2007-03-19 Thread Rob Mensching
Agreed.  However, based on early reports I'm not sure that pushing patches into 
WinSxS is really working due to the complexity that is the CustomActions to 
work around bugs in WinXP.  The ideas behind Fusion are interesting but the 
complexity of the system has made it difficult to verify and for users to truly 
understand it.

Personally, I prefer a model where a patch to a shared binary has the ability 
to update that binary everywhere (not that I can get anyone in Microsoft to 
agree with me, so maybe I'm just confused smile/).

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Mike Dimmick
Sent: Friday, March 16, 2007 12:56 PM
To: Rob Mensching; 'Chris Bardon'; wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Consensus about CRT/MCF merge modules?

However, with static linking you have the servicing problem - if there's a 
security issue in the CRT (not unknown) or in MFC, you will have to rebuild 
your application to pick up the fix, then rerelease your application. By 
contrast, if using the WinSxS versions, Microsoft can ship an update directly 
to end-users (either as an updated assembly with the same version number, but 
different file version number, or as an additional assembly with a newer 
version number plus a policy binding).

I have to admit looking at how the VS2005 CRT merge modules work and being a 
bit confused as to why they're configured to do something different on Vista 
(not just using MsiAssembly/MsiAssemblyName tables) especially as they were 
released over a year before Vista was.

Using a private copy of the DLLs in your application directory is also a 
possibility but I don't think this is recommended (or even permitted?) for a 
final distribution. It still has the servicing problem but not the problem of 
having to rebuild the application or having the large binaries.

--
Mike Dimmick


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Rob Mensching
Sent: 16 March 2007 16:35
To: Chris Bardon; wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Consensus about CRT/MCF merge modules?

I'm not quite yet ready to make this a recommendation but I'm currently 
leaning towards statically linking the libraries directly.  I'm seeing hints 
that the WinSxS/Fusion stuff they did for these libraries in VS2005 has some 
seriously bad repercussions when it comes to patching and some possibly strange 
behavior on Vista.  It's a research project I'm doing slowly...

For the WiX toolset, we statically link to the CRT (MFC, haven't done that 
since I wrote Orca grin/) to minimize our dependencies on the machine.  That 
makes the binaries a bit bigger but it is worth it to not have to worry about 
Is the WinSxS store updated at X point in time in my install?

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Chris Bardon
Sent: Friday, March 16, 2007 9:20 AM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Consensus about CRT/MCF merge modules?

Looking through the archives, there appear to be a couple of ways to include 
things like the CRT and MFC redistributables in an installer.  Some have 
advocated including the DLLs directly, which seems to go against the concept of 
having a redistributable MSM to link against.  I tried building with the 
Microsoft CRT msm that comes with VS 2005, and got a long list of warnings from 
light.

Is there a recommended method for dealing with these kinds of dependencies?

Chris
-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Consensus about CRT/MCF merge modules?

2007-03-19 Thread Chris Bardon
Well, for the apps I'm building installers for, we've already decided
against static linking, so we need to deploy the DLLs somehow.  In the
past, we've just included the merge modules using installshield, which I
believe deploys the DLLs to the system32 directory, but I've also tested
with including a private copy of the DLLs, and this also appears to
work.  I'm not sure if this is a permitted option though.  
 
When installing a merge module, is there a way to specify the module's
install directory?  For example, if I want to install the CRT MSM from
VS 2005, I can put something like this in: 
Merge Id=crt.B22E6F9A-D396-4F96-84D9-A822C63B9994 Language=1033
DiskId=1 SourceFile=C:\Program Files\Common Files\Merge
Modules\Microsoft_VC80_CRT_x86.msm/

Since this is under a directory tag though, I don't know where it'll
install the files.  The module default should be the system32 directory,
shouldn't it?  




From: Rob Mensching [mailto:[EMAIL PROTECTED] 
Sent: Monday, March 19, 2007 8:44 AM
To: Mike Dimmick; Chris Bardon; wix-users@lists.sourceforge.net
Subject: RE: [WiX-users] Consensus about CRT/MCF merge modules?



Agreed.  However, based on early reports I'm not sure that pushing
patches into WinSxS is really working due to the complexity that is the
CustomActions to work around bugs in WinXP.  The ideas behind Fusion are
interesting but the complexity of the system has made it difficult to
verify and for users to truly understand it.

 

Personally, I prefer a model where a patch to a shared binary has the
ability to update that binary everywhere (not that I can get anyone in
Microsoft to agree with me, so maybe I'm just confused smile/).

 

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Mike
Dimmick
Sent: Friday, March 16, 2007 12:56 PM
To: Rob Mensching; 'Chris Bardon'; wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Consensus about CRT/MCF merge modules?

 

However, with static linking you have the servicing problem - if there's
a security issue in the CRT (not unknown) or in MFC, you will have to
rebuild your application to pick up the fix, then rerelease your
application. By contrast, if using the WinSxS versions, Microsoft can
ship an update directly to end-users (either as an updated assembly with
the same version number, but different file version number, or as an
additional assembly with a newer version number plus a policy binding).

 

I have to admit looking at how the VS2005 CRT merge modules work and
being a bit confused as to why they're configured to do something
different on Vista (not just using MsiAssembly/MsiAssemblyName tables)
especially as they were released over a year before Vista was.

 

Using a private copy of the DLLs in your application directory is also a
possibility but I don't think this is recommended (or even permitted?)
for a final distribution. It still has the servicing problem but not the
problem of having to rebuild the application or having the large
binaries.

 

-- 

Mike Dimmick

 



From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Rob
Mensching
Sent: 16 March 2007 16:35
To: Chris Bardon; wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Consensus about CRT/MCF merge modules?

 

I'm not quite yet ready to make this a recommendation but I'm
currently leaning towards statically linking the libraries directly.
I'm seeing hints that the WinSxS/Fusion stuff they did for these
libraries in VS2005 has some seriously bad repercussions when it comes
to patching and some possibly strange behavior on Vista.  It's a
research project I'm doing slowly...

 

For the WiX toolset, we statically link to the CRT (MFC, haven't done
that since I wrote Orca grin/) to minimize our dependencies on the
machine.  That makes the binaries a bit bigger but it is worth it to not
have to worry about Is the WinSxS store updated at X point in time in
my install?

 

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Chris
Bardon
Sent: Friday, March 16, 2007 9:20 AM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Consensus about CRT/MCF merge modules?

 

Looking through the archives, there appear to be a couple of ways to
include things like the CRT and MFC redistributables in an installer.
Some have advocated including the DLLs directly, which seems to go
against the concept of having a redistributable MSM to link against.  I
tried building with the Microsoft CRT msm that comes with VS 2005, and
got a long list of warnings from light.  

 

Is there a recommended method for dealing with these kinds of
dependencies?  

 

Chris

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp

Re: [WiX-users] Consensus about CRT/MCF merge modules?

2007-03-19 Thread Wilson, Phil
Is there some reason you can't get the bootstrapper to run the redist,
vcredist_x86.exe? 
 
Phil Wilson 


From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Chris
Bardon
Sent: Monday, March 19, 2007 6:37 AM
To: Rob Mensching; Mike Dimmick; wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Consensus about CRT/MCF merge modules?


Well, for the apps I'm building installers for, we've already decided
against static linking, so we need to deploy the DLLs somehow.  In the
past, we've just included the merge modules using installshield, which I
believe deploys the DLLs to the system32 directory, but I've also tested
with including a private copy of the DLLs, and this also appears to
work.  I'm not sure if this is a permitted option though.  
 
When installing a merge module, is there a way to specify the module's
install directory?  For example, if I want to install the CRT MSM from
VS 2005, I can put something like this in: 
Merge Id=crt.B22E6F9A-D396-4F96-84D9-A822C63B9994 Language=1033
DiskId=1 SourceFile=C:\Program Files\Common Files\Merge
Modules\Microsoft_VC80_CRT_x86.msm/

Since this is under a directory tag though, I don't know where it'll
install the files.  The module default should be the system32 directory,
shouldn't it?  




From: Rob Mensching [mailto:[EMAIL PROTECTED] 
Sent: Monday, March 19, 2007 8:44 AM
To: Mike Dimmick; Chris Bardon; wix-users@lists.sourceforge.net
Subject: RE: [WiX-users] Consensus about CRT/MCF merge modules?



Agreed.  However, based on early reports I'm not sure that pushing
patches into WinSxS is really working due to the complexity that is the
CustomActions to work around bugs in WinXP.  The ideas behind Fusion are
interesting but the complexity of the system has made it difficult to
verify and for users to truly understand it.

 

Personally, I prefer a model where a patch to a shared binary has the
ability to update that binary everywhere (not that I can get anyone in
Microsoft to agree with me, so maybe I'm just confused smile/).

 

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Mike
Dimmick
Sent: Friday, March 16, 2007 12:56 PM
To: Rob Mensching; 'Chris Bardon'; wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Consensus about CRT/MCF merge modules?

 

However, with static linking you have the servicing problem - if there's
a security issue in the CRT (not unknown) or in MFC, you will have to
rebuild your application to pick up the fix, then rerelease your
application. By contrast, if using the WinSxS versions, Microsoft can
ship an update directly to end-users (either as an updated assembly with
the same version number, but different file version number, or as an
additional assembly with a newer version number plus a policy binding).

 

I have to admit looking at how the VS2005 CRT merge modules work and
being a bit confused as to why they're configured to do something
different on Vista (not just using MsiAssembly/MsiAssemblyName tables)
especially as they were released over a year before Vista was.

 

Using a private copy of the DLLs in your application directory is also a
possibility but I don't think this is recommended (or even permitted?)
for a final distribution. It still has the servicing problem but not the
problem of having to rebuild the application or having the large
binaries.

 

-- 

Mike Dimmick

 



From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Rob
Mensching
Sent: 16 March 2007 16:35
To: Chris Bardon; wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Consensus about CRT/MCF merge modules?

 

I'm not quite yet ready to make this a recommendation but I'm
currently leaning towards statically linking the libraries directly.
I'm seeing hints that the WinSxS/Fusion stuff they did for these
libraries in VS2005 has some seriously bad repercussions when it comes
to patching and some possibly strange behavior on Vista.  It's a
research project I'm doing slowly...

 

For the WiX toolset, we statically link to the CRT (MFC, haven't done
that since I wrote Orca grin/) to minimize our dependencies on the
machine.  That makes the binaries a bit bigger but it is worth it to not
have to worry about Is the WinSxS store updated at X point in time in
my install?

 

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Chris
Bardon
Sent: Friday, March 16, 2007 9:20 AM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Consensus about CRT/MCF merge modules?

 

Looking through the archives, there appear to be a couple of ways to
include things like the CRT and MFC redistributables in an installer.
Some have advocated including the DLLs directly, which seems to go
against the concept of having a redistributable MSM to link against.  I
tried building with the Microsoft CRT msm that comes with VS 2005, and
got a long list of warnings from light.  

 

Is there a recommended method

Re: [WiX-users] Consensus about CRT/MCF merge modules?

2007-03-19 Thread Mike Dimmick
The VC2005 merge modules will install files to:

 

- [WindowsFolder]System32 on Windows 9X and 2000;

- The appropriate WinSxS folder on Windows XP, 2003 and Vista.

 

They are not retargetable.

 

The vcredist_x86.exe package will do exactly the same since it's basically
just all the merge modules repackaged inside an MSI inside a bootstrapper.

 

-- 

Mike Dimmick

 

  _  

From: Chris Bardon [mailto:[EMAIL PROTECTED] 
Sent: 19 March 2007 13:37
To: Rob Mensching; Mike Dimmick; wix-users@lists.sourceforge.net
Subject: RE: [WiX-users] Consensus about CRT/MCF merge modules?

 

Well, for the apps I'm building installers for, we've already decided
against static linking, so we need to deploy the DLLs somehow.  In the past,
we've just included the merge modules using installshield, which I believe
deploys the DLLs to the system32 directory, but I've also tested with
including a private copy of the DLLs, and this also appears to work.  I'm
not sure if this is a permitted option though.  

 

When installing a merge module, is there a way to specify the module's
install directory?  For example, if I want to install the CRT MSM from VS
2005, I can put something like this in: 

Merge Id=crt.B22E6F9A-D396-4F96-84D9-A822C63B9994 Language=1033
DiskId=1 SourceFile=C:\Program Files\Common Files\Merge
Modules\Microsoft_VC80_CRT_x86.msm/

Since this is under a directory tag though, I don't know where it'll
install the files.  The module default should be the system32 directory,
shouldn't it?  

 

  _  

From: Rob Mensching [mailto:[EMAIL PROTECTED] 
Sent: Monday, March 19, 2007 8:44 AM
To: Mike Dimmick; Chris Bardon; wix-users@lists.sourceforge.net
Subject: RE: [WiX-users] Consensus about CRT/MCF merge modules?

Agreed.  However, based on early reports I'm not sure that pushing patches
into WinSxS is really working due to the complexity that is the
CustomActions to work around bugs in WinXP.  The ideas behind Fusion are
interesting but the complexity of the system has made it difficult to verify
and for users to truly understand it.

 

Personally, I prefer a model where a patch to a shared binary has the
ability to update that binary everywhere (not that I can get anyone in
Microsoft to agree with me, so maybe I'm just confused smile/).

 

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Mike Dimmick
Sent: Friday, March 16, 2007 12:56 PM
To: Rob Mensching; 'Chris Bardon'; wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Consensus about CRT/MCF merge modules?

 

However, with static linking you have the servicing problem - if there's a
security issue in the CRT (not unknown) or in MFC, you will have to rebuild
your application to pick up the fix, then rerelease your application. By
contrast, if using the WinSxS versions, Microsoft can ship an update
directly to end-users (either as an updated assembly with the same version
number, but different file version number, or as an additional assembly with
a newer version number plus a policy binding).

 

I have to admit looking at how the VS2005 CRT merge modules work and being a
bit confused as to why they're configured to do something different on Vista
(not just using MsiAssembly/MsiAssemblyName tables) especially as they were
released over a year before Vista was.

 

Using a private copy of the DLLs in your application directory is also a
possibility but I don't think this is recommended (or even permitted?) for a
final distribution. It still has the servicing problem but not the problem
of having to rebuild the application or having the large binaries.

 

-- 

Mike Dimmick

 

  _  

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Rob Mensching
Sent: 16 March 2007 16:35
To: Chris Bardon; wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Consensus about CRT/MCF merge modules?

 

I'm not quite yet ready to make this a recommendation but I'm currently
leaning towards statically linking the libraries directly.  I'm seeing hints
that the WinSxS/Fusion stuff they did for these libraries in VS2005 has some
seriously bad repercussions when it comes to patching and some possibly
strange behavior on Vista.  It's a research project I'm doing slowly.

 

For the WiX toolset, we statically link to the CRT (MFC, haven't done that
since I wrote Orca grin/) to minimize our dependencies on the machine.
That makes the binaries a bit bigger but it is worth it to not have to worry
about Is the WinSxS store updated at X point in time in my install?

 

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Chris Bardon
Sent: Friday, March 16, 2007 9:20 AM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Consensus about CRT/MCF merge modules?

 

Looking through the archives, there appear to be a couple of ways to include
things like the CRT and MFC redistributables in an installer.  Some have
advocated including the DLLs directly, which seems to go against the concept
of having a redistributable MSM to link

Re: [WiX-users] Consensus about CRT/MCF merge modules?

2007-03-17 Thread Bob Arnson

Mike Dimmick wrote:


I have to admit looking at how the VS2005 CRT merge modules work and 
being a bit confused as to why they're configured to do something 
different on Vista (not just using MsiAssembly/MsiAssemblyName tables) 
especially as they were released over a year before Vista was.




On Vista, the merge modules use MsiAssembly/MsiAssemblyName. Downlevel 
(e.g., XP), they use hard-coded paths, I'm told to work around a bug in 
Fusion on XP.


--
sig://boB
http://bobs.org

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Consensus about CRT/MCF merge modules?

2007-03-16 Thread Chris Bardon
Looking through the archives, there appear to be a couple of ways to
include things like the CRT and MFC redistributables in an installer.
Some have advocated including the DLLs directly, which seems to go
against the concept of having a redistributable MSM to link against.  I
tried building with the Microsoft CRT msm that comes with VS 2005, and
got a long list of warnings from light.  
 
Is there a recommended method for dealing with these kinds of
dependencies?  
 
Chris
-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Consensus about CRT/MCF merge modules?

2007-03-16 Thread Rob Mensching
I'm not quite yet ready to make this a recommendation but I'm currently 
leaning towards statically linking the libraries directly.  I'm seeing hints 
that the WinSxS/Fusion stuff they did for these libraries in VS2005 has some 
seriously bad repercussions when it comes to patching and some possibly strange 
behavior on Vista.  It's a research project I'm doing slowly...

For the WiX toolset, we statically link to the CRT (MFC, haven't done that 
since I wrote Orca grin/) to minimize our dependencies on the machine.  That 
makes the binaries a bit bigger but it is worth it to not have to worry about 
Is the WinSxS store updated at X point in time in my install?

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Chris Bardon
Sent: Friday, March 16, 2007 9:20 AM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Consensus about CRT/MCF merge modules?

Looking through the archives, there appear to be a couple of ways to include 
things like the CRT and MFC redistributables in an installer.  Some have 
advocated including the DLLs directly, which seems to go against the concept of 
having a redistributable MSM to link against.  I tried building with the 
Microsoft CRT msm that comes with VS 2005, and got a long list of warnings from 
light.

Is there a recommended method for dealing with these kinds of dependencies?

Chris
-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Consensus about CRT/MCF merge modules?

2007-03-16 Thread Mike Dimmick
However, with static linking you have the servicing problem - if there's a
security issue in the CRT (not unknown) or in MFC, you will have to rebuild
your application to pick up the fix, then rerelease your application. By
contrast, if using the WinSxS versions, Microsoft can ship an update
directly to end-users (either as an updated assembly with the same version
number, but different file version number, or as an additional assembly with
a newer version number plus a policy binding).

 

I have to admit looking at how the VS2005 CRT merge modules work and being a
bit confused as to why they're configured to do something different on Vista
(not just using MsiAssembly/MsiAssemblyName tables) especially as they were
released over a year before Vista was.

 

Using a private copy of the DLLs in your application directory is also a
possibility but I don't think this is recommended (or even permitted?) for a
final distribution. It still has the servicing problem but not the problem
of having to rebuild the application or having the large binaries.

 

-- 

Mike Dimmick

 

  _  

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Rob Mensching
Sent: 16 March 2007 16:35
To: Chris Bardon; wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Consensus about CRT/MCF merge modules?

 

I'm not quite yet ready to make this a recommendation but I'm currently
leaning towards statically linking the libraries directly.  I'm seeing hints
that the WinSxS/Fusion stuff they did for these libraries in VS2005 has some
seriously bad repercussions when it comes to patching and some possibly
strange behavior on Vista.  It's a research project I'm doing slowly.

 

For the WiX toolset, we statically link to the CRT (MFC, haven't done that
since I wrote Orca grin/) to minimize our dependencies on the machine.
That makes the binaries a bit bigger but it is worth it to not have to worry
about Is the WinSxS store updated at X point in time in my install?

 

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Chris Bardon
Sent: Friday, March 16, 2007 9:20 AM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Consensus about CRT/MCF merge modules?

 

Looking through the archives, there appear to be a couple of ways to include
things like the CRT and MFC redistributables in an installer.  Some have
advocated including the DLLs directly, which seems to go against the concept
of having a redistributable MSM to link against.  I tried building with the
Microsoft CRT msm that comes with VS 2005, and got a long list of warnings
from light.  

 

Is there a recommended method for dealing with these kinds of
dependencies?  

 

Chris

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users