﻿<?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?)  » how to deploy an exe to another machine</title><generator>InstantForum 2017-1 Final</generator><description>StrataFrame Forum</description><link>http://forum.strataframe.net/</link><webMaster>StrataFrame Forum</webMaster><lastBuildDate>Sat, 23 May 2026 18:05:59 GMT</lastBuildDate><ttl>20</ttl><item><title>how to deploy an exe to another machine</title><link>http://forum.strataframe.net/FindPost25063.aspx</link><description>I have a small app developed whcih I now want to deploy to another inhouse machine, just to see what's involved&lt;/P&gt;&lt;P&gt;I gather that I must copy the Microfour assemblies, my Business Object Assmbly and the .exe but am unsure where to locate the Microfour assemblies. Are there any other files that I need to copy ?&lt;/P&gt;&lt;P&gt;I see there are Startaframe files in a folder called c:\windows\assembly (but these &lt;FONT color=#dd3333&gt;do not have&lt;/FONT&gt; a .DLL extension). There are also Strataframe files in a folder called: c:\ProgramFiles\CommonFiles\Microfour\Strataframe (&lt;FONT color=#dd1111&gt;which do have&lt;/FONT&gt; a .DLL extension). Is one of these folders the correct place to get the Microfour assembly that I need to distribute with the App ?&lt;/P&gt;&lt;P&gt;At this stage I want to just copy the required files to the other machine.( if thats possible) &amp;nbsp;I realise on a live install this may not be the way to go ,but at this stage, I want to do all this stuff manually, more to get an understanding of what goes on under the hood</description><pubDate>Tue, 03 Nov 2009 08:53:10 GMT</pubDate><dc:creator>Ger Cannoll</dc:creator></item><item><title>RE: how to deploy an exe to another machine</title><link>http://forum.strataframe.net/FindPost25104.aspx</link><description>[codesnippet]To do that you would need to add multiple named datasources and then specify the proper connection when appropriate.&amp;nbsp; [/codesnippet]&lt;P&gt;Do you mean that in each for, I would need to SetDataSource or something similar ?&lt;/P&gt;&lt;P&gt;[codesnippet] why the three seperate SQL databases are needed?&amp;nbsp; Is this a constraint of a pre-existing system (i.e. are they databases someone else created that you don't have the ability to combine?) [/codesnippet]&lt;/P&gt;&lt;P&gt;There are two reasons: &lt;/P&gt;&lt;P&gt;1) In the old system, the tables were in separate databases, just a logical grouping more so than anything else, so this could be changed if its going to make the automatic switching of Production/Live or Company1/Company2/Company3 easier&lt;/P&gt;&lt;P&gt;2) The other reason was a cost saving issues. One of these Databses is a Data Warehosue type app where all the data from the other databases is sliced and diced and can end up to be quite large... up to 3/4 gigs. I may be wrong, but is'nt there a limit on Sql Express of 4 Gigs per database...so this was a way to keep the sizes manageable and not requiring the client to go out and having to buy full version of Sql Server</description><pubDate>Tue, 03 Nov 2009 08:53:10 GMT</pubDate><dc:creator>Ger Cannoll</dc:creator></item><item><title>RE: how to deploy an exe to another machine</title><link>http://forum.strataframe.net/FindPost25100.aspx</link><description>To do that you would need to add multiple named&amp;nbsp;datasources and then specify the proper connection when&amp;nbsp;appropriate. You can certainly&amp;nbsp;do that,&amp;nbsp;but first, do you mind if I ask why the three seperate SQL databases are needed?&amp;nbsp; Is this a constraint of a pre-existing system (i.e. are they databases someone else created that you don't have the ability to combine?)</description><pubDate>Tue, 03 Nov 2009 08:32:44 GMT</pubDate><dc:creator>Dustin Taylor</dc:creator></item><item><title>RE: how to deploy an exe to another machine</title><link>http://forum.strataframe.net/FindPost25098.aspx</link><description>Ok . I have read docs and done some experimenting with &lt;FONT size=2&gt;ShowAvailableConnectionStrings() and &lt;FONT size=2&gt;SetConnections() and can change from one database to another on a form, by selecting a different Application Tilte. I still am a little bit hazy and would appreciate some guidance.&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;I am just starting to design the tables that go into the databases and an option is to end up with 3 different databases in the same Sql Server which will be used throughout the application. Fot the one application title, I have not been able to set up more than one database using ShowAvailableConnectionStrings.If I edit the the Application Settings, I seem to be just able to insert &lt;FONT color=#dd1111&gt;ONE &lt;/FONT&gt;database,&amp;nbsp;whereas my application will be using 3. I can 'Select' just &lt;FONT color=#bb1111&gt;One application setting&lt;/FONT&gt;&amp;nbsp;. In that my application is using 3 Databses, I would have epected to be able to 'Select' 3 items. Is it possible to do this or maybe I am barking up the wrong tree ?&lt;/P&gt;&lt;P&gt;Also, is there a way to easily change from Production to Live if I have 3 databases in the one application. I have manged to do this ok with one database by using ShowAvailableConnectionStrings()</description><pubDate>Tue, 03 Nov 2009 05:09:39 GMT</pubDate><dc:creator>Ger Cannoll</dc:creator></item><item><title>RE: how to deploy an exe to another machine</title><link>http://forum.strataframe.net/FindPost25081.aspx</link><description>[quote]What is an  MSM wildcard ?[/quote]&lt;br&gt;
&lt;br&gt;
An MSM file is a pre-built collection or installation that can be added wholesale to an MSI installation.  I will admit though, it is generally better to add the files individually as MSM add-ins can cause issues in certain environments.&lt;br&gt;
&lt;br&gt;
[quote]Where/how  do I change the connection string so that I can run the app thats sitting on the server now,  from my pc,  but look at the sql server database thats on the server.Is this held in a table somewhere that I can amend or do I have to manage this programatically[/quote]&lt;br&gt;
&lt;br&gt;
You will want to look at the documentation regarding the Connection String Manager as you can call the ConnectionManager.ShowAvailableConnectionString() to add new connection strings for an application allowing you to swap between development and production.  This ties into the Connections.dat and the AppKeys.dat.  All of this is in the docs and will provide more detail than I can supply here.</description><pubDate>Fri, 30 Oct 2009 12:55:12 GMT</pubDate><dc:creator>Trent L. Taylor</dc:creator></item><item><title>RE: how to deploy an exe to another machine</title><link>http://forum.strataframe.net/FindPost25078.aspx</link><description>I have copied the app to another pc (happens to be a server) and have run it from the server.&lt;/P&gt;&lt;P&gt;It asked me for the server name and database name and I input the details and it works fine from new machine(i.e server)&lt;/P&gt;&lt;P&gt;Hoever , if I set up a mapping on my development machine to the server folder , run the app from the server, it points back to the database on my development machine , rather than the server sql server&lt;/P&gt;&lt;P&gt;Where/how &amp;nbsp;do I change the connection string so that I can run the app thats sitting on the server now, &amp;nbsp;from my pc, &amp;nbsp;but look at the sql server database thats on the server.Is this held in a table somewhere that I can amend or do I have to manage this programatically</description><pubDate>Fri, 30 Oct 2009 12:13:15 GMT</pubDate><dc:creator>Ger Cannoll</dc:creator></item><item><title>RE: how to deploy an exe to another machine</title><link>http://forum.strataframe.net/FindPost25077.aspx</link><description>I'm surprised that the SF dlls are just in you bin/debug (or release) folder.  When I do this, I usually just do a release build, then copy the release folder to another machine.</description><pubDate>Fri, 30 Oct 2009 12:00:01 GMT</pubDate><dc:creator>Greg McGuffey</dc:creator></item><item><title>RE: how to deploy an exe to another machine</title><link>http://forum.strataframe.net/FindPost25069.aspx</link><description>Thanks Trent. I can get them form c:\programfiles\Commonfiles......&lt;/P&gt;&lt;P&gt;What is an &amp;nbsp;MSM wildcard ?</description><pubDate>Fri, 30 Oct 2009 09:42:30 GMT</pubDate><dc:creator>Ger Cannoll</dc:creator></item><item><title>RE: how to deploy an exe to another machine</title><link>http://forum.strataframe.net/FindPost25068.aspx</link><description>You can get them from several places.  You can use the MSM whichwould be in the directory you installed StrataFrame...or just get them from the common files which would be:&lt;br&gt;
&lt;br&gt;
[codesnippet] c:\program files\common files\microfour\strataframe[/codesnippet]&lt;br&gt;
&lt;br&gt;
You may need to alter the path to accommodate the installation of your OS.  On a 64-bit machine it would most likely be: &lt;br&gt;
&lt;br&gt;
[codesnippet]c:\program files(x86)\common files\microfour\strataframe[/codesnippet]</description><pubDate>Fri, 30 Oct 2009 08:51:43 GMT</pubDate><dc:creator>Trent L. Taylor</dc:creator></item><item><title>RE: how to deploy an exe to another machine</title><link>http://forum.strataframe.net/FindPost25065.aspx</link><description>Hi Bill. Thanks for replying&lt;/P&gt;&lt;P&gt;Where do I get the Microfour DLLs from. There seems to be files in c:\windows\system (the GAC ?) which dont have a DLL extension and also Microfour Dlls in c:\ProgramFiles\Commonfiles\Microfour\Statatframe which do have a .DLL extension so I guess I take them from this folder ?&lt;/P&gt;&lt;P&gt;At this stage I am not sure exactly what the GAC is or how it is used</description><pubDate>Fri, 30 Oct 2009 08:00:45 GMT</pubDate><dc:creator>Ger Cannoll</dc:creator></item><item><title>RE: how to deploy an exe to another machine</title><link>http://forum.strataframe.net/FindPost25064.aspx</link><description>It should be pretty easy as long as the .NET Framework is already installed.  I have a folder in the Program Files directory named after the app.  Here is a list of files that are in this folder:&lt;br&gt;
&lt;br&gt;
Program Files&lt;br&gt;
     MyApp&lt;br&gt;
          MyModel.dll (business objects)&lt;br&gt;
          MyApp.exe&lt;br&gt;
          MicroFour StrataFrame Base.dll&lt;br&gt;
          MicroFour StrataFrame Business.dll&lt;br&gt;
          MicroFour StrataFrame Inherited UI.dll&lt;br&gt;
          MicroFour StrataFrame Security.dll&lt;br&gt;
          MicroFour StrataFrame UI Expanded.dll&lt;br&gt;
          MicroFour StrataFrame UI.dll&lt;br&gt;
&lt;br&gt;
I left the DevEx dll's out as well as some other 3rd party stuff.  I have also implemented RBS so the security DLL may not be necessary for you.  Create your folder (where ever you want), copy the files in and run it.&lt;br&gt;
&lt;br&gt;
Have a wonderful day!&lt;br&gt;
Bill</description><pubDate>Fri, 30 Oct 2009 07:45:17 GMT</pubDate><dc:creator>Bill Cunnien</dc:creator></item></channel></rss>