Mads Nissen
backlog on sharepoint, crm, office, .net development, architecture and more..
-
More VSTO Deployment - AppCheck and PIACheck compiled
A while ago Microsoft released a walkthrough for VSTO deployment to, as Misha puts it; "not remove the pain but help controlling it". The walkthrough covers all my (less structured) instructions, and improves on security aspects.
However the article does provide you with a fair amount of work. The security part adds strong-name based evidence for assemblies which is absolutely required from a security perspective. However, the samples does not support multi-assembly deployments so you'll need to write this up yourself. I'll look into using Assembly.GetReferencedAssemblies() later on to see if that will solve this problem.
Furthermore you get native checking utils for common prereqs. These are not compiled however and Aerodrome has posted a compiled version. Although these exe's (PIACheck.exe and AppCheck.exe) works nicely if you've got the .NET Framework preinstalled, they will fail if not. Probably because they're compiled in managed C++, and not the way instructed in the MSDN article. We've made a working set available here (courtesy of compilation genious Øystein Garshol).
Finally I have to point out once more the weak design of the prerequisite package structure. The prerequisite definitions are fundamentally a part of any solution and should at least be copied into the solution or setup project filestructure when used to enable inclusion in sourcecontrol and automated builds. I would sure like to know how Microsoft approaches this problem using WiX or other tools.
And to all of you who haven't deleted my blog from your blogroll: I'm back:-) -
MSCRM 3.0 and the VSTO for MSCRM 3.0 Toolkit
Read about the upcoming VSTO Toolkit for MSCRM 3.0 at Kjell-Sverres blog. Beeing Objectwares MSCRM guru KSJ also have started writing about general 3.0 topics. Keep watching if you're in the MSCRM space.
-
SharepointConnector for Outlook 2003
Homepage for the SharepointConnector for Outlook 2003
-
Validating Sharepoint filenames on upload
Some characters are legal for FAT or NTFS files but illegal for files in Sharepoint documentlibraries. Using the regular upload UI for Sharepoint you'll encounter a rather unpleasant validation error when uploading a file with funky characters. Using the object model will give you a good ole' exception.
-
Refresh page after edit in InfoPath
When using InfoPath for editing data in you webapplications you run into a couple of tricky situations when beeing used to plain webdevelopment. One of these scenarios is when you want your webpage to refresh after having edited a record in some datasource with InfoPath. Typically you've implemented a view webpage and edit with InfoPath.
-
VB.NET Installer class for setting Code Access Security with Uninstall
C# Version here: http://weblogs.asp.net/mnissen/articles/427490.aspx
-
Complete set of Custom Prerequisites available
UPDATE: See this post.
-
VSTO Outlook: The complete deplyment solution
This week has been all about the pain of client deployment of our VSTO solution. I've written a summary which I hope will be the start of the complete solution for idiot-proof installs of Outlook plugins. I'm not quite there yet but I feel I'm pretty close.
-
VSTO Outlook: the Complete Setup Solution
[Disclaimer: this is currently work in progress.. expect to find partial solution and some explanation] -
Installer class for setting Code Access Security with Uninstall
VB.NET Version here: http://weblogs.asp.net/mnissen/articles/429117.aspx