Dependency on VC redist

47 views
Skip to first unread message

ajl

unread,
Sep 8, 2011, 9:04:38 AM9/8/11
to shadowsp...@googlegroups.com
Hello!

Is there a way to remove the dependency on the (rather large) VC redist package?

I would like to use shadowspawn on several PCs, but having to potentially install VC redist seems like a high barrier to entry.

Is there a way around this?

Thanks, Achim

Craig Andera

unread,
Sep 8, 2011, 12:00:38 PM9/8/11
to shadowsp...@googlegroups.com, achim....@gmail.com

It may be possible to statically link with the VC redist, in which
case shadowspawn would become standalone. The issue with doing that is
that Microsoft publishes security updates to the redist via Windows
Update, and we wouldn't get those if we were statically linked. At
that point, it would be on you, the user, to download a new version
that had the updated version included. Assuming that one of us notices
the update and remembers to compile a new version.

Another possibility would be to do the work to remove the dependency
on the VC runtime. That work may be extensive in nature - no idea.

I've added this to our issue list [1], but I have to say that I'm not
sure we'd implement this any time soon.

Sorry I can't give you a better answer, but thanks for the inquiry!

[1] https://github.com/candera/shadowspawn/issues/12

ajl

unread,
Sep 9, 2011, 10:06:36 AM9/9/11
to ShadowSpawn Support
Thanks for your consideration, Craig.

Any functionality (method calls) that require vc_redist from the top
of your head that would need to be worked around/replaced?

Thanks again, Achim

Craig Andera

unread,
Sep 9, 2011, 10:57:46 AM9/9/11
to shadowsp...@googlegroups.com, achim....@gmail.com
> Any functionality (method calls) that require vc_redist from the top
> of your head that would need to be worked around/replaced?

Unfortunately, I'm not enough of a C++ jockey to have that information
on the tip of my brian. Things I would wonder about include CString
and the ATL, which we use in quite a few places.

Message has been deleted

Ro Lo

unread,
Nov 14, 2011, 1:02:35 PM11/14/11
to shadowsp...@googlegroups.com, achim....@gmail.com
We can add 3(6 if we include Debug) more configurations to project file 

Release-Static-XP ....

We just need to change C++ -> Code Generation -> Runtime Library

I do not know Git enough to be able to give you a patch file.

Craig Andera

unread,
Nov 17, 2011, 9:02:01 AM11/17/11
to shadowsp...@googlegroups.com, achim....@gmail.com
Ah, very cool. Thanks for the info. I've captured your suggestion in
issue #12: https://github.com/candera/shadowspawn/issues/12

Not sure when (or if) I'll implement it, but it's nice to know what is
needed. Thanks again!

On Mon, Nov 14, 2011 at 12:58 PM, Ro Lo <rohit...@gmail.com> wrote:
> We can add 3(6) more configurations to project file


> Release-Static-XP ....
> We just need to change C++ -> Code Generation -> Runtime Library

> I do not know Git enough to give you patch file.

Reply all
Reply to author
Forward
0 new messages