The VNC Manager - SmartCode Solutions Forum
Home       Members    Calendar    Who's On
Welcome Guest ( Login | Register )
        



MSI Installer? Expand / Collapse
Author
Message
Posted 9/15/2006 11:58:05 PM
Forum Member

Forum MemberForum MemberForum MemberForum MemberForum MemberForum MemberForum MemberForum Member

Group: Forum Members
Last Login: 2/15/2007 10:36:50 PM
Posts: 25, Visits: 25
It would really be great if there was a MSI installer for the activeX control.  Basically, I want to deploy using a ClickOnce Application in .NET 2.0/VS2005.  ClickOnce has a generic bootstrapper that can launch MSI files automatically.  It would be nice if there was a MSI installer for the ActiveX control, especially a silent one, or at least one that did not require any user interaction.  It should copy the .dll, run regsvr32 and quit.  If I knew how to build a .MSI for it myself, I would.
Post #1120
Posted 9/16/2006 4:10:41 AM


Supreme Being

Supreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme Being

Group: Administrators
Last Login: Yesterday @ 4:37:00 AM
Posts: 778, Visits: 1,233
I'm really familiar with ClickOnce, but can't you register an ActiveX using it?

By the way it's extremely easy to write an MSI installer that registers an ActiveX even using built-in Visual Studio MSI designer. I'm not sure if we will be offering such MSI installer, but if you would really need such, we could develop one for you at a nominal fee.



Kindest Regards,
SmartCode Solutions Support

Post #1122
Posted 9/16/2006 8:16:08 AM
Forum Member

Forum MemberForum MemberForum MemberForum MemberForum MemberForum MemberForum MemberForum Member

Group: Forum Members
Last Login: 2/15/2007 10:36:50 PM
Posts: 25, Visits: 25
Basically, ClickOnce is great for all managed assemblies.  To do COM installations you have 2 options.  The first is to use the Registration-FREE COM support.  Basically, you set the isolation property to True (I think) on the object.  At compile-time VS creates a XML manifest for the COM object.  Then when installing it you don't need to register the traditional way (regsvr32).  There are exceptions where this method does not work (system drivers, printers, and a few others).  The down-side to this is that it is only supported in Windows XP and forward.  Whereas ClickOnce and .NET 2.0 actually work very well on Windows 98, 98SE, ME, and 2000 as well as XP, 2003, and Vista.  I thought it would be cool to have a working program on 9x, seeing as how it will still be a while before everyone has migrated away.  What OS support is available for the VNC Server control?  I assume it will probably work on all 32-bit versions of windows.
Post #1126
Posted 9/16/2006 9:07:22 AM


Supreme Being

Supreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme Being

Group: Administrators
Last Login: Yesterday @ 4:37:00 AM
Posts: 778, Visits: 1,233
Most probably Win98/ME will be supported, but there won't be official support for Win95, although the ActiveX might work on it as well.



Kindest Regards,
SmartCode Solutions Support
Post #1129
Posted 9/18/2006 6:11:14 PM
Forum Member

Forum MemberForum MemberForum MemberForum MemberForum MemberForum MemberForum MemberForum Member

Group: Forum Members
Last Login: 2/15/2007 10:36:50 PM
Posts: 25, Visits: 25
Okay, I'm trying to get this to work with ClickOnce and Reg-Free COM.  Basically, I've referenced the DLL and set the 'Isolated' property to True.  When running the deployed app I get a nasty error when reading the manifest file, something about an incorrect value for the threadingModel property (which is set to 'apartment' in the manifest file).  Anyway, the only thing I can find is a compiler warning when compiling the code after setting Isolated=true.   Here is the warning:

C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Microsoft.Common.targets : warning MSB3179: Problem isolating COM reference 'ServerX': Registry key 'HKEY_CLASSES_ROOT\CLSID\{8818cf4d-2190-49c3-b7eb-b9f2ae198cb1}\MiscStatus' was not imported.

What is the story with this registry key?  Any ideas in resolving this would be great.

Post #1137
Posted 9/18/2006 8:15:35 PM


Supreme Being

Supreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme Being

Group: Administrators
Last Login: Yesterday @ 4:37:00 AM
Posts: 778, Visits: 1,233
I don't remember exactly what's the story with the MiscStatus warning, but I do remember that we were checking on this warning about six months ago and it seems like the warning can be safely ignored.



Kindest Regards,
SmartCode Solutions Support
Post #1139
Posted 9/18/2006 11:02:02 PM
Forum Member

Forum MemberForum MemberForum MemberForum MemberForum MemberForum MemberForum MemberForum Member

Group: Forum Members
Last Login: 2/15/2007 10:36:50 PM
Posts: 25, Visits: 25
Okay that good.  I've given up on the reg-free com angle.  I've figured out how to build that simple MSI installer and then using a free Manifest generator I was able to create prerequisite package for ClickOnce that checks to see if it is installed and then runs the installer in passive mode if it is not, it is actually pretty cool!
Post #1142
Posted 2/15/2007 4:55:23 PM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: Forum Members
Last Login: 2/16/2007 8:27:49 AM
Posts: 1, Visits: 4
Could you share your solution?  I am struggling with trying to get a SmartClient to run an .msi file.

Thanks! 

Post #1339
Posted 4/17/2008 9:51:20 PM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: Forum Members
Last Login: 4/17/2008 9:46:06 PM
Posts: 0, Visits: 1
I have the same problem, "Problem isolating COM reference"
Seems to be a very simple command yet no go. I have tried lots of stuff and searched all over. Your message is the only one that is the same as mine. I'm trying to get a Comdlg32.ocx to work with Isolated True. Have you found any answers?
boo hoo. So close to a working app, yet so far
rb
Post #2018