How to add my add-in in Dashboard add-in Tab
-
30 martie 2011 14:18
Hi all,
I reference SDK and put my .addin file in C:\Program Files\Windows Server\Bin\Addins\Primary
And binary file position wrote in .addin file
I only can see my add-in show in dashboard.
But I don't know how to put my add-in in dashboard's add-in Tab.
I find some add-in put in C:\ProgramData\Microsoft\Windows Server\Data\addins
But still don't know how to show it.
Is somthing need to add?
Toate mesajele
-
1 aprilie 2011 10:24
Hi,
Nobody know how to show? Q_O
I prepare a msi and I can see my Add-in after install.
By SDK, if I want to show Add-In information in Dashboard
I need to prepare a AddIn.xml let Dashboard to know the Add-in information.
So I create the Add-In package by using --> "makecab /f AddinDeploymentMetadata.ddf"
AddinDeploymentMetadata.ddf is as following
-------------------------------------------
.Set CompressionType=LZX
.Set CompressionLevel=7
.Set ReservePerCabinetSize=0
.Set Compress=on
.Set CompressionMemory=21
.Set Cabinet=ON
.Set MaxCabinetSize=999999999
.Set CabinetName1=MyAddIn.wssxAddIn.xml
default.msi
Eula.rtf
-------------------------------------------I can get a Server Add-In Package: MyAddIn.wssx
But when I install by MyAddIn.wssx, it show "The add-in cannot be installed because it is not packaged correctly"
I think the root cause maybe default.msi is created by Installshield not Windows Installer XML.
Does someone meet the same issue?
Or have other method to let Dashboard to know the Add-in information?
-
1 aprilie 2011 23:19Moderator
Hi,
First check the log files to see if there are any errors written in it when installen or loading of the addin.
This post explains where they are: http://asoftblog.wordpress.com/2010/09/25/tip-problem-when-installing-an-addin-in-vail/Maybe also good to download my Developer Kit: http://asoftblog.wordpress.com/2010/12/16/creating-a-client-side-installer-for-vail/
It shows you step by step how to create the whole package; so maybe you can compare it to what you have and see if there are things you missed.Cheers,
Nick
Nick Asseloos MVP Windows Home Server -
14 aprilie 2011 06:52
Hi Nick,
Thanks for your example ^^
I sloved my problem by comparing it with SDK sample.
The root cause is the CAB argument.
Following is my new CAB argument, and it works.
//------------------------------------------------
.Set CompressionType=LZX
.Set Compress=on
.Set CompressionMemory=21
.Set Cabinet=ON
.Set MaxDiskSize=0
.Set MaxCabinetSize=0
.Set CabinetName1=MyAddIn.wssxAddIn.xml
default.msi
Eula.rtf
//------------------------------------------------