Now, we'll figure out how to get your content into the
If you go to your SDK installation, in the docs directory you'll find a file named "HealthVault Connection Center Extensibility.xps". That will explain the various graphical elements.
For this example, the XML file looks like this:
<HealthApplication> <Name>Widget Tracker</Name> <Subtitle>Fabrikam</Subtitle> <Manufacturer></Manufacturer> <Website>http://www.fabrikam.com</Website> <Icon>WidgetTracker.ico</Icon> <Logo>WidgetTracker.png</Logo> <Watermark></Watermark> <Description> <Paragraph>Welcome to the Widget Tracker! Use it to track your Widget measurements.</Paragraph> </Description> <DefaultTask showInTaskList="true"> <Description>Open Widget Tracker</Description> <Action type="Execute"> <Command>https://www.fabrikam.com</Command> </Action> </DefaultTask></HealthApplication>
Once we get the icon and logo created, then we can build it and test it. To do that, I use the following little batch files:
build.bat
set BASENAME=WidgetTrackercandle %BASENAME%.wxslight %BASENAME%.wixobj
test.bat
msiexec /quiet /x %BASENAME%.msi"C:\Program Files\Microsoft HealthVault\Connection Center\connectioncenter.exe" /quit%BASENAME%.msistart C:\PROGRA~1\MI8542~1\CONNEC~1\CONNEC~1.EXE
The test one is especially useful - it uninstalls the shortcut, tells connection center to exit, installs the shortcut, then starts up connection center.
That's all for now. Next we will talk about signing your add-in