1
Vote

Setup for Microsoft WF State Machine Activity Pack CTP 1 Setup.msi on Windows 7

description

I tried installing the Microsoft WF State Machine Activity Pack CTP 1 Setup.msi on Windows 7 but was not able to get the state machine options under the VS2010 tool bar. I tried different work arounds adding project reference, adding the dll’s to GAC but no results. Are there any different steps to be followed for Windows 7?

file attachments

comments

megjian wrote Apr 28, 2010 at 2:46 AM

I assume you mean toolbox when you say "tool bar". It works on my win7 machine. Could you find state machine activity pack in Control Panel ->Programs-> Programs and Features-> Uninstall or change a program? If yes, could you try to use ResetToolbox in toolbox context menu, after you create Workflow Console Application project?

minliao wrote Apr 28, 2010 at 3:14 AM

If you install VS10 after actvitiypack, it will not show. Otherwise:

Could you attach a debugger(most likely another VS) to the VS instance and check if this dll Microsoft.VisualStudio.ActivityPack.StateMachine.dll was loaded?

And check if a register entry: [HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\10.0_Config_1108\Packages{1363fe9f-e9c4-46d2-8515-0e07ff039ab4}] was added?

Rizwanf wrote Apr 28, 2010 at 5:09 AM

I tried to reset VS 2010 toolbox but that didn’t help. I am able to see the install under Control Panel ->Programs-> Programs and Features
I tried attaching a debugger as suggested but the Microsoft.VisualStudio.ActivityPack.StateMachine did not showed up in the debugger loaded dll list neither I am able to find the entry under the registry as suggested by minliao.
I am currently having VS 2005,2008 2010 installed on my machine. Does that matter in any way? Please help.

Rizwanf wrote Apr 28, 2010 at 5:16 AM

I tried to reset VS 2010 toolbox but that didn’t help. I am able to see the install under Control Panel ->Programs-> Programs and Features
I tried attaching a debugger as suggested but the Microsoft.VisualStudio.ActivityPack.StateMachine did not showed up in the debugger loaded dll list neither I am able to find the entry under the registry as suggested by minliao.
I am currently having VS 2005,2008 2010 installed on my machine. Does that matter in any way? Am i missing any setup on my machine?

minliao wrote Apr 28, 2010 at 7:47 AM

Looks like the setup did not registry the toolbox package, maybe two reasons:
  1. It registry in the local machine root but did not propagate to currrent user root, you can check here.
    [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\10.0\Packages{1363fe9f-e9c4-46d2-8515-0e07ff039ab4}\Toolbox]
    if you find the entry here, that means it does not propagate.
  2. The setup did not registry it at all. It looks a bug. If so, you can manually set it.

Rizwanf wrote Apr 28, 2010 at 1:29 PM

Looks like the setup didn’t register the dll. I am not able to find the entry for {1363fe9f-e9c4-46d2-8515-0e07ff039ab4} in the registry. Thanks Minliao.
How I can manually set the State Machine Activity Pack?

minliao wrote Apr 29, 2010 at 3:10 AM

Attached a reg file, just double click it. Please change the dll pach if there is need and let me if it works.

wrote Apr 29, 2010 at 3:11 AM

Rizwanf wrote Apr 29, 2010 at 4:00 AM

Thanks Minliao. That worked.

Rizwanf wrote Apr 29, 2010 at 12:18 PM

I m able to get the options under the VS 2010 tool bar for state machine now. But now the issue is when I drag the StateMachine activity on designer I am able to see an activity same as a code activity and not getting the Initial State and the connecting sate. Please find the attached image. Am I missing something here? Thanks Rizwan

wrote Apr 29, 2010 at 12:18 PM

minliao wrote May 5, 2010 at 6:21 AM

Could you check your project references to see if "Microsoft.Activities.StateMachine.dll" was added?

Rizwanf wrote May 11, 2010 at 6:44 PM

Thanks. Adding reference did resolve the issue.

wrote Feb 22, 2013 at 12:09 AM

lwakeman wrote Aug 20, 2013 at 10:26 PM

Is this some kind of a joke? Where is the setup.msi file? Much appears to be missing from the download...