0

I have been playing around with the new StateMachine workflow that has been added to Windows Workflow as part of Platform Update 1 (see also). I now want to look at installing what I've created and therefore need to make sure my bootstrapper is up-to-date. In the future, I will be moving to WIX but right now, for the purposes of prototyping, I'm just using a regular Setup and Deployment project and its bootstrap support.

The list of standard pre-requisites does not include the PU1 as an option. Therefore, how can I add support for it?

Update
I found this answer on StackOverflow regarding custom prerequisites, which led me to this article on MSDN, which led me to creating my own pre-requisite. However, I got a new error about mismatched framework requirements. I suspect I need to pick apart the multi-targeting support and the existing .NET framework prerequisite package to see how to make a new prerequisite that will work correctly.

Community
  • 1
  • 1
Jeff Yates
  • 61,417
  • 20
  • 137
  • 189

3 Answers3

0

I've had a stab at creating my own bootstrapper packages for this. The results are here to download. Note that these are entirely untested and provided as-is - use at your own risk. However, feedback is welcome. Hopefully Microsoft will provide an official solution.

Jeff Yates
  • 61,417
  • 20
  • 137
  • 189
-1

is the Microsoft .NET Framework 4 Platform Update 1 - Runtime Update (KB2478063) what you are looking for? See here for the download.

Maurice
  • 27,582
  • 5
  • 49
  • 62
  • No - my question already has links regarding that part. I have the runtime update - I am looking to add it as a bootstrapped pre-requisite for my deployment. – Jeff Yates Apr 19 '11 at 17:47
  • I have added custom VS prerequisites but it was a long time ago. As I recall it wasn't hard once I figured out what to do but I don't recall the details. – Maurice Apr 19 '11 at 17:56
  • I got the pre-requisite added but I encountered another error. I'm working on that right now. Unfortunately, there isn't much info on the exit codes and command line parameters for the installers - this may prove to be a stumbling block. Also, I need to find a decent way to detect whether the PU is installed or not. – Jeff Yates Apr 19 '11 at 18:02
  • To detect if Platform Update 1 is installed  HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\.NET Framework\v4.0.30319\SKUs\ • .NETFramework, Version=v4.0.1 • .NETFramework, Version-v4.0.1, Profile=Client – Ron Jacobs Apr 29 '11 at 20:13