V
vcquestions
Hi.
I have a C++/CLI app with dependencies on ATL/CRT ( no MFC ).
1. If I install vcredist_x86 ( SDK\v2.0 ), everything on the clean
target machine works fine.
Problem: redistributable executable is too big ( as I don't need MFC &
other bloat ).
2. When I install .msm files on the target machine ( from Common Files
\Merge Modules ) specifically:
Microsoft_VC80_ATL_x86.msm
Microsoft_VC80_CRT_x86.msm
policy_8_0_Microsoft_VC80_ATL_x86.msm
policy_8_0_Microsoft_VC80_CRT_x86.msm
using msiexec.exe /i, I see all the .dll(s)/manifests under
winsxs( msvcm80.dll, msvcp80.dll, msvcr80.dll, atl80.dll ) but my dll
is not loaded ( config is incorrect. Reinstalling can fix it ).
3. When I manually copy crt-related dll(s ) and atl80.dll &
corresponding manifests ( from Microsoft Visual Studio 8\VC\redist
\x86 ) to my working directory ( on a clean machine ) - everything
works.
#3 is good for me as I can compress files and copy them easily. Is
this OK to do? ( is it a good/recommended practice )
#2 seems to be acceptable as well, but:
a ) I can't get it to work. Any ideas on what might be going wrong?
b ) I see Microsot links to redist*.exe packages, but I don't see any
downloadable .msm files. Just curious if this way is supported/
encouraged/maintained by MSFT.
Any other suggestions/ideas are appreaciated.
Thanks in advance!
vcq
I have a C++/CLI app with dependencies on ATL/CRT ( no MFC ).
1. If I install vcredist_x86 ( SDK\v2.0 ), everything on the clean
target machine works fine.
Problem: redistributable executable is too big ( as I don't need MFC &
other bloat ).
2. When I install .msm files on the target machine ( from Common Files
\Merge Modules ) specifically:
Microsoft_VC80_ATL_x86.msm
Microsoft_VC80_CRT_x86.msm
policy_8_0_Microsoft_VC80_ATL_x86.msm
policy_8_0_Microsoft_VC80_CRT_x86.msm
using msiexec.exe /i, I see all the .dll(s)/manifests under
winsxs( msvcm80.dll, msvcp80.dll, msvcr80.dll, atl80.dll ) but my dll
is not loaded ( config is incorrect. Reinstalling can fix it ).
3. When I manually copy crt-related dll(s ) and atl80.dll &
corresponding manifests ( from Microsoft Visual Studio 8\VC\redist
\x86 ) to my working directory ( on a clean machine ) - everything
works.
#3 is good for me as I can compress files and copy them easily. Is
this OK to do? ( is it a good/recommended practice )
#2 seems to be acceptable as well, but:
a ) I can't get it to work. Any ideas on what might be going wrong?
b ) I see Microsot links to redist*.exe packages, but I don't see any
downloadable .msm files. Just curious if this way is supported/
encouraged/maintained by MSFT.
Any other suggestions/ideas are appreaciated.
Thanks in advance!
vcq