﻿<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>StrataFrame Forum » StrataFrame Application Framework - V1 » WinForms (How do I?)  » Problem Distributing SF App</title><generator>InstantForum 2017-1 Final</generator><description>StrataFrame Forum</description><link>http://forum.strataframe.net/</link><webMaster>StrataFrame Forum</webMaster><lastBuildDate>Thu, 04 Jun 2026 01:26:25 GMT</lastBuildDate><ttl>20</ttl><item><title>Problem Distributing SF App</title><link>http://forum.strataframe.net/FindPost32753.aspx</link><description>Hello,&lt;br/&gt;&lt;br/&gt;I've customized the SampleDataInstallerClass solution and now need to build a Setup.exe for distribution.&lt;br/&gt;&lt;br/&gt;I've created an InstallShield basic MSI project and have included the following:&lt;br/&gt;&lt;br/&gt;&lt;blockquote style="margin-right: 0px;" dir="ltr"&gt;SQLSMOMergeModule.msm (not sure what files are included and where they end up)&lt;br/&gt;&lt;br/&gt;&lt;/blockquote&gt;In the [CommonFiles]\MicroFour\StrataFrame\ folder I'm including these files:&lt;br/&gt;&lt;br/&gt;&lt;blockquote style="margin-right: 0px;" dir="ltr"&gt;MicroFour StrataFrame Base.dll&lt;br/&gt;&lt;br/&gt;MicroFour StrataFrame Business.dll&lt;br/&gt;&lt;br/&gt;MicroFour StrataFrame DBEngine.dll&lt;br/&gt;&lt;br/&gt;MicroFour StrataFrame UI.dll&lt;br/&gt;&lt;br/&gt;[update] I mistakenly listed the inherited UI DLL instead of the base UI&lt;br/&gt;&lt;/blockquote&gt;&lt;br/&gt;When I install these via the compiled Setup.exe, the files end&amp;nbsp;up on the&amp;nbsp;target workstation, but the SampleDataInstallerClass EXE does not run. When I launch it, I see the EXE in task manager for a second or two, then it goes away.&lt;br/&gt;&lt;br/&gt;What I'm missing?&lt;br/&gt;&lt;br/&gt;Thanks.&lt;br/&gt;&lt;br/&gt;Bill</description><pubDate>Wed, 03 Dec 2014 15:36:08 GMT</pubDate><dc:creator>William Fields</dc:creator></item><item><title>RE: Problem Distributing SF App</title><link>http://forum.strataframe.net/FindPost32771.aspx</link><description>You're right Edhy. &lt;br/&gt;&lt;br/&gt;I'm still straddling the world of VFP/.NET.... Our VFP application just underwent a SQL database backend replacement and this SF app is being used to maintain/update the SQL database. So, I'm still pretty green as far as .NET application runtime knowledge.&lt;br/&gt;&lt;br/&gt;Thanks for your help.&lt;br/&gt;&lt;br/&gt;Bill</description><pubDate>Wed, 03 Dec 2014 15:36:08 GMT</pubDate><dc:creator>William Fields</dc:creator></item><item><title>RE: Problem Distributing SF App</title><link>http://forum.strataframe.net/FindPost32768.aspx</link><description>Hi William,&lt;br/&gt;&lt;br/&gt;You have to understand how dot net will look for the assemblies when loading, you can search the MSDN for more complete answer, but basically, your .EXE will do this:&lt;br/&gt;&lt;ol&gt;&lt;li&gt;Look for required assemblies in the same folder as the .EXE&lt;/li&gt;&lt;li&gt;If not found, then it will look in the GAC.&lt;/li&gt;&lt;/ol&gt;Using GAC has some tricky issues based on the version of the assemblies, so I have been using my .EXE folder instead and never had issues when releasing updates to my applications.&lt;br/&gt;&lt;br/&gt;Glad it is working for you now.</description><pubDate>Wed, 03 Dec 2014 15:16:18 GMT</pubDate><dc:creator>Edhy Rijo</dc:creator></item><item><title>RE: Problem Distributing SF App</title><link>http://forum.strataframe.net/FindPost32767.aspx</link><description>&amp;gt; &lt;span id="ctl00_ctlContentPlaceHolder_ctl00_ctlTopic_ctlPanelBar_ctlTopicsRepeater_ctl02_lblFullMessage"&gt;Try copying the SF dlls to the same directory&lt;/span&gt;&lt;br/&gt;&lt;br/&gt;Bingo, that did it.&lt;br/&gt;&lt;br/&gt;Is there anyway to make the DLL's visible to the EXE regardless? Is there a project reference/setting that can be added to the EXE that will tell it to find the DLL's in a particular local folder?&lt;br/&gt;&lt;br/&gt;Thanks!</description><pubDate>Wed, 03 Dec 2014 15:05:50 GMT</pubDate><dc:creator>William Fields</dc:creator></item><item><title>RE: Problem Distributing SF App</title><link>http://forum.strataframe.net/FindPost32766.aspx</link><description>This is part of the code to run my version of this class, in my case DataProgress.vb&lt;span style="color:blue;"&gt;&lt;br/&gt;&lt;br/&gt;Dim&lt;/span&gt;&amp;nbsp;DDTPackageName&amp;nbsp;&lt;span style="color:blue;"&gt;As&lt;/span&gt;&amp;nbsp;&lt;span style="color:blue;"&gt;String&lt;/span&gt;&amp;nbsp;=&amp;nbsp;&lt;span style="color:#a31515;"&gt;"InsuranceBrokerSystemDDT.pkg"&lt;/span&gt;&lt;br/&gt;&lt;span style="color:blue;"&gt;Dim&lt;/span&gt;&amp;nbsp;DDTPackagePassword&amp;nbsp;&lt;span style="color:blue;"&gt;As&lt;/span&gt;&amp;nbsp;&lt;span style="color:blue;"&gt;String&lt;/span&gt;&amp;nbsp;=&amp;nbsp;&lt;span style="color:#a31515;"&gt;"MyPassword"&lt;br/&gt;&lt;/span&gt;&lt;span style="color:blue;"&gt;Dim&lt;/span&gt;&amp;nbsp;loDataUpdateProgress&amp;nbsp;&lt;span style="color:blue;"&gt;As&lt;/span&gt;&amp;nbsp;&lt;span style="color:blue;"&gt;New&lt;/span&gt;&amp;nbsp;&lt;span style="color:#2b91af;"&gt;DataProgress&lt;/span&gt;(MicroFour.StrataFrame.Data.&lt;span style="color:#2b91af;"&gt;DataLayer&lt;/span&gt;.DataSources(&lt;span style="color:#a31515;"&gt;""&lt;/span&gt;).ConnectionString(),&amp;nbsp;DDTPackageName,&amp;nbsp;DDTPackagePassword,&amp;nbsp;DataDeploymentOptions)&lt;br/&gt;loDataUpdateProgress.TopMost&amp;nbsp;=&amp;nbsp;&lt;span style="color:blue;"&gt;True&lt;/span&gt;&lt;br/&gt;UpdateDatabase&amp;nbsp;=&amp;nbsp;loDataUpdateProgress.ShowDialog()&lt;br/&gt;loDataUpdateProgress.Close()&lt;br/&gt;loDataUpdateProgress.Dispose()&lt;br/&gt;&lt;br/&gt;Please post the code you are using show the form?</description><pubDate>Wed, 03 Dec 2014 14:56:55 GMT</pubDate><dc:creator>Edhy Rijo</dc:creator></item><item><title>RE: Problem Distributing SF App</title><link>http://forum.strataframe.net/FindPost32765.aspx</link><description>Try copying the SF dlls to the same directory location where you have your exe files on a local non-development system.&lt;br/&gt;&lt;br/&gt;-Larry</description><pubDate>Wed, 03 Dec 2014 14:56:51 GMT</pubDate><dc:creator>Larry Caylor</dc:creator></item><item><title>RE: Problem Distributing SF App</title><link>http://forum.strataframe.net/FindPost32764.aspx</link><description>When I copy the application EXE to the local desktop, I'm getting the same results, the process shows up in task manager for a few seconds, then goes away.</description><pubDate>Wed, 03 Dec 2014 14:51:26 GMT</pubDate><dc:creator>William Fields</dc:creator></item><item><title>RE: Problem Distributing SF App</title><link>http://forum.strataframe.net/FindPost32762.aspx</link><description>Hi William,&lt;br/&gt;&lt;br/&gt;I build the &lt;span id="ctl00_ctlContentPlaceHolder_ctl00_ctlTopic_ctlPanelBar_ctlTopicsRepeater_ctl06_lblFullMessage"&gt;SampleDataInstallerClass into my application's main assembly (.exe), and I don't run anything from a network patch since some .NET programs may need custom security settings to be able to run from a network path.&lt;br/&gt;&lt;br/&gt;I install my application locally in each workstation and my logic is that any workstation can update the database structure from the main application which I control access to it via the RBS.&lt;br/&gt;&lt;/span&gt;</description><pubDate>Wed, 03 Dec 2014 14:45:00 GMT</pubDate><dc:creator>Edhy Rijo</dc:creator></item><item><title>RE: Problem Distributing SF App</title><link>http://forum.strataframe.net/FindPost32758.aspx</link><description>One more thing, the application EXE does run on a workstation with the SF development environment.</description><pubDate>Wed, 03 Dec 2014 14:28:13 GMT</pubDate><dc:creator>William Fields</dc:creator></item><item><title>RE: Problem Distributing SF App</title><link>http://forum.strataframe.net/FindPost32757.aspx</link><description>This Setup.exe doesn't have an "application" folder, it's just being&amp;nbsp;used to install the SF DLL's and SMO's needed to run the SampleDataInstallerClass EXE on the workstation.&lt;br/&gt;&lt;br/&gt;The application EXE will be run from a network location.</description><pubDate>Wed, 03 Dec 2014 14:21:47 GMT</pubDate><dc:creator>William Fields</dc:creator></item><item><title>RE: Problem Distributing SF App</title><link>http://forum.strataframe.net/FindPost32756.aspx</link><description>My mistake, the MicroFour StrataFrame UI.dll is actually what's being installed.</description><pubDate>Wed, 03 Dec 2014 14:19:02 GMT</pubDate><dc:creator>William Fields</dc:creator></item><item><title>RE: Problem Distributing SF App</title><link>http://forum.strataframe.net/FindPost32755.aspx</link><description>Hi William,&lt;br/&gt;&lt;br/&gt;Also, besides Larry's comment, I always install all my assemblies in the same folder as the application instead of using the GAC or any other common folders, etc.&lt;br/&gt;&lt;br/&gt;Having all assemblies in the same folder as the application will allow you to test as suggested by Larry.&amp;nbsp; Also it is good to have a clean virtual machine to do your setup test.</description><pubDate>Wed, 03 Dec 2014 14:12:55 GMT</pubDate><dc:creator>Edhy Rijo</dc:creator></item><item><title>RE: Problem Distributing SF App</title><link>http://forum.strataframe.net/FindPost32754.aspx</link><description>It looks like you're missing MicroFour Strataframe UI.dll, Inherited UI.dll is the DevExpress control wrapper. For testing I'd first install the application on the target workstation using the file copy method to make sure I have everything required to run the application. Once everything was working I'd go back and create an MSI.&lt;br/&gt;&lt;br/&gt;-Larry</description><pubDate>Wed, 03 Dec 2014 14:04:28 GMT</pubDate><dc:creator>Larry Caylor</dc:creator></item></channel></rss>