To add to this:

The only time the .NET Frameworks are ever targeted in a WiX Project  
is usually 1 of 2 reasons:
1. An install condition is Tested to ensure the target machine has the  
Required Version installed for your application.
2.  If not installed, the Burn Bootstrap Engine will install it before  
installing your application.

If you need post install work done using a tool in the Framework, you  
need to use a Custom Action.  When the custom action occurs the  
version of the SDK is a moot point, because you tested for an install  
condition and installed the proper framework, using one of the two  
methods above, therefore you are guaranteed to have the proper  
runtime.  If the tool you need is part of the runtime, this method  
will work.  If the tool is part of the SDK, then I must echo Michael's  
reply.

Carter

Quoting Michael Turner <mcturner...@gmail.com>:

> I'm not sure what you are expecting $(FrameworkSDKDir) to point to in a
> .wixproj.  Which version of the framework?  There is no clear answer to this
> question within the context of a WiX project, because WiX projects do not
> target .NET Framework versions and do not use the .NET Framework SDK.
> Rather, they use the WiX toolset.
>
> If you are looking for a .NET Framework SDK path, I would recommend looking
> in a project type that uses the .NET Framework, such as a C# project.
>
> Also, if you are trying to use a tool from the $(FrameworkSDKDir) path on
> the output of a WiX project, you are probably on the wrong track, because
> the output of a WiX project will be either a Windows Installer database
> (.msi or .msm) or a WiX library (.wixlib), not a .NET assembly.  Perhaps
> your post-build event would make more sense elsewhere?
>
> Regards,
> Mike
>
>
>



------------------------------------------------------------------------------
Put Bad Developers to Shame
Dominate Development with Jenkins Continuous Integration
Continuously Automate Build, Test & Deployment 
Start a new project now. Try Jenkins in the cloud.
http://p.sf.net/sfu/13600_Cloudbees
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to