How to deploy with ClickOnce?


Author
Message
Greg McGuffey
Greg McGuffey
Strategic Support Team Member (4.8K reputation)
Group: Forum Members
Posts: 2K, Visits: 6.6K
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?
Trent Taylor
Trent Taylor
StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)
Group: StrataFrame Developers
Posts: 6.6K, Visits: 7K
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.

Greg McGuffey
Greg McGuffey
Strategic Support Team Member (4.8K reputation)
Group: Forum Members
Posts: 2K, Visits: 6.6K
Thanks. So would I just "Include" these dlls? They are marked as prerequisites now.
Greg McGuffey
Greg McGuffey
Strategic Support Team Member (4.8K reputation)
Group: Forum Members
Posts: 2K, Visits: 6.6K
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.
Trent Taylor
Trent Taylor
StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)
Group: StrataFrame Developers
Posts: 6.6K, Visits: 7K
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.

GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search