In the General Configuration Properties, you also need to set Use of MFC
to Use MFC in a Static Library. That should get rid of the dependency
and increase the size of the dll.
-Brian Simoneau
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
[EMAIL PROTECTED]
Sent: Tuesday, May 15, 2007 9:32 AM
To: WiX-users@lists.sourceforge.net
Cc: [EMAIL PROTECTED]
Subject: Re: [WiX-users] CustomAction = .VC Runtime Dependency?
I'm compiling my CA dll with the /MT flag.
Running dependency walker on the system where it won't install
shows the dll is dependent on msvcr80.dll.
Why would the dll continue to be dependent on msvcr80.dll even
though I've specified to link statically? A co-worker told me it's
impossible to create a dll that statically links to a library, but
that's certainly not the vibe I'm getting from everyone's comments.
Additionally, the size of the dll doesn't change if I change the
flag between /MT (multi-threaded static) and /MD (multi-threaded
dynamic)
As someone who doesn't know my way around visual studio very
well, it sure seems like the flag is being ignored...
Any ideas?
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users