I Can't Have What I Want
I have determined why there aren't more quality processes in place in the community for server controls. It's because Microsoft makes it darn-near impossible to install controls in the intuitively simplest manner. In fact, the whole process is completely counterintuitive.
So, I have been testing out the code that I wrote last night, and it basically appears that I can't have anything that I wanted. Well, I take that back. I can add the assembly to the “Add References” dialog dynamically. That's about it. Here's what I can't have:
- I can't create a library of custom installer functions, VS.NET and MSI are retarded. You can only have one installer class per assembly, and you can't just create installer functions and pass in a function name. If I'm in VS.NET, and I'm installing a VS.NET app, why can't I pass a VS.NET function as an entry point? Why do I have to write it in C++ to be able to accomplish what I want?
- I can't automatically register the control in the toolbox, because VS.NET does not have a way for me to add toolbox tabs, or reference a tab by name. Therefore, there is no predictable way to ensure the control will get into the right tab. The way you access a new instance of VS.NET is pretty hokey too.
- VS.NET's installer design time story really stinks. What smells even worse though is the outrageous expense for any other installer out there. It really sucks to be a small software developer these days, because the barriers to successful entry are so high. $1100 for a decent MSI builder is hardly a small hurdle.
So for now, you'll have to register ScrollingGrid in the toolbox yourself. When you do, you'll get this nifty little bugger in there:
How cool is THAT??!?!? :-D At least I got the icon I wanted.