You won't be able to use the MSMs. Honestly, you might be best of
statically linking to the CRT in that scenario.
I don't recall if VS2005 CRT allowed you to co-locate the files with your
installation. That might be an option as well... depending on the license
terms.


On Wed, Apr 18, 2012 at 6:12 AM, Sergey <sh0...@gmail.com> wrote:

> Hello,
>
> I prepare msi for my program. Msi must be installed in per-user mode.
> Program will be located in LocalAppDataFolder.
> Program is built using VC2005. It requires VC2005 redistributables.
>
> To install them I use such wix xml:
>
> >
> > <Directory Id="TARGETDIR" Name="SourceDir">
> > <Directory Id="WindowsFolder">
> > <Directory Id="WinsxsFolder"/>
> > </Directory>
> > </Directory>
> >
> > <Fragment>
> > <UIRef Id="WixUI_Common" />
> >
> > <DirectoryRef Id="WinsxsFolder">
> > <Merge Id="Microsoft_VC80_CRT_x86_msm"
> > SourceFile=".\3rdParty\vcredist_x86\Microsoft_VC80_CRT_x86.msm"
> > DiskId="1" Language="0"/>
> > <Merge Id="policy_8_0_Microsoft_VC80_CRT_x86_msm"
> >
> SourceFile=".\3rdParty\vcredist_x86\policy_8_0_Microsoft_VC80_CRT_x86.msm"
> > DiskId="1" Language="0"/>
> > </DirectoryRef>
> >
> > <Feature Id="VCRedist" Title="Visual C++ Runtime" AllowAdvertise="no"
> > Display="hidden" Level="1">
> > <MergeRef Id="Microsoft_VC80_CRT_x86_msm" />
> > <MergeRef Id="policy_8_0_Microsoft_VC80_CRT_x86_msm" />
> > </Feature>
> >
> > <Property Id="ALLUSERS" Value="{}" />
> > </Fragment>
>
> Target for VC redistributables is Windows folder.
> Regular user can not write to that folder.
> Is it possible to install VC2005 redistributables in per-user mode? What
> target folder must I use for them?
>
> --
> Sergey
>
>
> ------------------------------------------------------------------------------
> Better than sec? Nothing is better than sec when it comes to
> monitoring Big Data applications. Try Boundary one-second
> resolution app monitoring today. Free.
> http://p.sf.net/sfu/Boundary-dev2dev
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>



-- 
virtually, Rob Mensching - http://RobMensching.com LLC
------------------------------------------------------------------------------
Better than sec? Nothing is better than sec when it comes to
monitoring Big Data applications. Try Boundary one-second 
resolution app monitoring today. Free.
http://p.sf.net/sfu/Boundary-dev2dev
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to