StrataFrame Forum

How to deploy with ClickOnce?

http://forum.strataframe.net/Topic6453.aspx

By Greg McGuffey - 1/30/2007

I'm attempting to deploy my app as a ClickOnce app. What I'm confused about is how the SF dlls will get deployed?



Based on my first try, there are a bunch of DLLs that need to be deployed in the GAC, both SF and some sql server related ones. How do I get SF (and any other prerequisites) installed when using ClickOnce?
By Trent L. Taylor - 1/30/2007

ClickOnce auto-detects references and it has a tendency to go a little "deep" at times.  You can manually add the SF DLLs which are located in the C:\Program Files\Common Files\MicroFour\StrataFrame folder.  Since you are using RBS you will need to include the Security DLL as well so there are 5 DLLs.

MicroFour StrataFrame Base.dll
MicroFour StrataFrame Business.dll
MicroFour StrataFrame DBEngine.dll
MicroFour STrataFrame UI.dll
MicroFour StrataFrame Security.dll

If you are using DevExpress or Infragistics wrappers then you will need to include the respective DLL as well.  Since you are trying to use DBEngine, SMO is required to be installed.  SMO, or client tools, may not be installed and there is not an install specifically for SMO...so we created an MSM (Merge Module) that is included with the distribution to make this easier.  You can find the SMO merge module in the C:\Program Files\MicroFour\StrataFrame\Distribution folder.  Include the MSM in your setup and it will properly install SMO.  As for the other DLLs, you can exclude what is not directly referenced.

By Greg McGuffey - 1/31/2007

Thanks. So would I just "Include" these dlls? They are marked as prerequisites now.
By Greg McGuffey - 1/31/2007

OK, I found the msm (dependency packages) for SMO and for SF. Now how do you use them? The reference I found on the web mentions needing manifest files and other stuff I'm not seeing.
By Trent L. Taylor - 1/31/2007

All you have to do is include them in the MSI file that is being deployed.  Windows Installer will recognize the MSM within the MSI and install it properly.

ClickOnce may behave differently and if you can't find a way to deploy the MSM via ClickOnce then just include DLLs manually as mentioned in previous posts.