Building Connection Center add-ins using WiX - part 3 (your content)
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>https://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=WidgetTracker
candle %BASENAME%.wxs
light %BASENAME%.wixobj
test.bat
msiexec /quiet /x %BASENAME%.msi
"C:\Program Files\Microsoft HealthVault\Connection Center\connectioncenter.exe" /quit
%BASENAME%.msi
start 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
Comments
Anonymous
October 12, 2007
PingBack from http://www.artofbam.com/wordpress/?p=8093Anonymous
October 15, 2007
The Connection Center application allows you to add a shortcut to your application to the set of shortcuts