People far and wide!
In VFP we are all used to writing the app, generating an .exe and placing it on a server for everyone to use in a network environment, no problem.
Being somewhat of a philistine, up until my machine when "Pete Tongue" last week I have always used Visual Studio 2008 for my C# development but decided to "upgrade" my development environment to Visual Studio 2012 as it has a lot more features. So far so good apart from when you come to deploy your package as 2012 doesn't have an inbuilt deployment packager but a free paired down version of Installshield is available or you can use the VS2012 On Click deployment facility which I have never used before.
The Installshield approach wants to install the app on your local machine so I feel that this is a no go solution as I want one .exe to update on a remote server.
As for the One Click solution I can't make head not tail of it and it is also geared towards .ASP web apps and not Desktop apps.
Anyone got any ideas, or will I have to resort to the good old or newer (in my case) Inno Setup.
Hints and pointers appreciated. The biggest problem with this app is that there are a set of third party .dll's that have to be installed and registered on the local machine as simply placing them in the executable folder on the server doesn't work ... as it would do with VFP.
Thanks in anticipation.
Dave
--------------------------------------------------------------- This communication and the information it contains is intended for the person or organisation to whom it is addressed. Its contents are confidential and may be protected in law. If you have received this e-mail in error you must not copy, distribute or take any action in reliance on it. Unauthorised use, copying or disclosure of any of it may be unlawful. If you have received this message in error, please notify us immediately by telephone or email.
Flexipol Packaging Ltd. has taken every reasonable precaution to minimise the risk of virus transmission through email and therefore any files sent via e-mail will have been checked for known viruses. However, you are advised to run your own virus check before opening any attachments received as Flexipol Packaging Ltd will not in any event accept any liability whatsoever once an e-mail and/or any attachment is received.
It is the responsibility of the recipient to ensure that they have adequate virus protection.
Flexipol Packaging Ltd. Unit 14 Bentwood Road Carrs Industrial Estate Haslingden Rossendale Lancashire BB4 5HH
Tel:01706-222792 Fax: 01706-224683 www.Flexipol.co.uk ---------------------------------------------------------------
Terms & Conditions:
Notwithstanding delivery and the passing of risk in the goods, the property in the goods shall not pass to the buyer until the seller Flexipol Packaging Ltd. ("The Company") has received in cash or cleared funds payment in full of the price of the goods and all other goods agreed to be sold by the seller to the buyer for which payment is then due. Until such time as the property in the goods passes to the buyer, the buyer shall hold the goods as the seller's fiduciary agent and bailee and keep the goods separate from those of the buyer and third parties and properly stored protected and insured and identified as the seller's property but shall be entitled to resell or use the goods in the ordinary course of its business. Until such time as the property in the goods passes to the buyer the seller shall be entitled at any time
On 29 November 2017 at 16:45, Dave Crozier DaveC@flexipol.co.uk wrote:
People far and wide!
In VFP we are all used to writing the app, generating an .exe and placing it on a server for everyone to use in a network environment, no problem.
I do exactly that in my main C# app. 1000+ installs with no problems (other than the usual security rights issues etc).
Being somewhat of a philistine, up until my machine when "Pete Tongue" last week I have always used Visual Studio 2008 for my C# development but decided to "upgrade" my development environment to Visual Studio 2012 as it has a lot more features. So far so good apart from when you come to deploy your package as 2012 doesn't have an inbuilt deployment packager but a free paired down version of Installshield is available or you can use the VS2012 On Click deployment facility which I have never used before.
Why not 2017? You're missing a lot.
Anyone got any ideas, or will I have to resort to the good old or newer (in my case) Inno Setup.
I use the Nullsoft installer. It's a glorified unzip really. The only real difference is that I run the database upgrade utility at the end.
Hints and pointers appreciated. The biggest problem with this app is that there are a set of third party .dll's that have to be installed and registered on the local machine as simply placing them in the executable folder on the server doesn't work ... as it would do with VFP.
Hmmm. That should work fine. C# is no different to Fox in this respect. I use 3rd party dlls (zip library, report engine) without registering them.
I know, I know, I'm digressing.
However, I've seen a couple of references in this thread about installers people use and I wanted to jump in here and throw my two cents into the discussion.
I have for years now used a really simple desktop app installer which seems to have been built expressly for FoxPro. I've used it for almost 20 years now and I love it. One of the best purchases I've ever made.
InstallCreator 2 by Clickteam is one of the easiest GUI install creators that I've looked at it and it takes just seconds to select files and create an installer package. Put all your files in a distribution folder, pick that folder, set the name of your icons, choose the preferred installation folder, set any license or user information you want to include, check a box to add an installer and check other box to auto-run your application after installation. Click build and you are done.
http://www.clickteam.com/install-creator-2
Free version available, Full Version $59 and Pro version runs $149 I think. I use the Full Version and it serves my needs perfectly. You can map installation files to multiple folders, you can pick and choose graphically which files to install and which ones to ignore. I think the pro version allows you to create multiple installations based on demo and registered versions in the same installer package.
I've even used it to create mini-installers which I include in my application folder. I can either run those at the end of the installation process, or I can just put them in the main program folder to run only if necessary.
Paul H. Tarver Email: paul@tpcqpc.com
-----Original Message----- From: ProfoxTech [mailto:profoxtech-bounces@leafe.com] On Behalf Of Paul Hill Sent: Wednesday, November 29, 2017 11:27 AM To: profoxtech@leafe.com Subject: Re: [NF] C# Apps Deployment
On 29 November 2017 at 16:45, Dave Crozier DaveC@flexipol.co.uk wrote:
People far and wide!
In VFP we are all used to writing the app, generating an .exe and placing
it on a server for everyone to use in a network environment, no problem.
I do exactly that in my main C# app. 1000+ installs with no problems (other than the usual security rights issues etc).
Being somewhat of a philistine, up until my machine when "Pete Tongue"
last week I have always used Visual Studio 2008 for my C# development but decided to "upgrade" my development environment to Visual Studio 2012 as it has a lot more features. So far so good apart from when you come to deploy your package as 2012 doesn't have an inbuilt deployment packager but a free paired down version of Installshield is available or you can use the VS2012 On Click deployment facility which I have never used before.
Why not 2017? You're missing a lot.
Anyone got any ideas, or will I have to resort to the good old or newer
(in my case) Inno Setup.
I use the Nullsoft installer. It's a glorified unzip really. The only real difference is that I run the database upgrade utility at the end.
Hints and pointers appreciated. The biggest problem with this app is that
there are a set of third party .dll's that have to be installed and registered on the local machine as simply placing them in the executable folder on the server doesn't work ... as it would do with VFP.
Hmmm. That should work fine. C# is no different to Fox in this respect. I use 3rd party dlls (zip library, report engine) without registering them.
-- Paul
[excessive quoting removed by server]
On Wed, 29 Nov 2017, at 04:45 PM, Dave Crozier wrote:
In VFP we are all used to writing the app, generating an .exe and placing it on a server for everyone to use in a network environment, no problem.
Em .. not of all us! Some of us install a local client and have the data/metadata on the server!
Anyway, pre VS 2012 MS used to have a 'Setup And Deployment' project type. With VS 2012 they brought in an 'Installshield Lite' solution instead. This was fairly universally regarded as A Bad Thing and so with VS 2013 and up there is now once again a Deployment Project template that you can add to your solution. This just produces a simple MSI installer. I've used it for installing Windows services and so forth.
Visual Studio versions 2012 and up also have an extension that allows you to use the Wix toolset. I've never used it but I believe it offers more fine control over what happens in the install albeit with increased complexity.
If you want to go for an approach outside of the VS IDE I'd look at using InnoSetup which has good support for .NET
Try this: https://www.youtube.com/watch?v=RHYAYJwf4C8
I mainly do WEB based apps that are an FTP deployment.
On Wed, Nov 29, 2017 at 10:45 AM, Dave Crozier DaveC@flexipol.co.uk wrote:
People far and wide!
In VFP we are all used to writing the app, generating an .exe and placing it on a server for everyone to use in a network environment, no problem.
Being somewhat of a philistine, up until my machine when "Pete Tongue" last week I have always used Visual Studio 2008 for my C# development but decided to "upgrade" my development environment to Visual Studio 2012 as it has a lot more features. So far so good apart from when you come to deploy your package as 2012 doesn't have an inbuilt deployment packager but a free paired down version of Installshield is available or you can use the VS2012 On Click deployment facility which I have never used before.
The Installshield approach wants to install the app on your local machine so I feel that this is a no go solution as I want one .exe to update on a remote server.
As for the One Click solution I can't make head not tail of it and it is also geared towards .ASP web apps and not Desktop apps.
Anyone got any ideas, or will I have to resort to the good old or newer (in my case) Inno Setup.
Hints and pointers appreciated. The biggest problem with this app is that there are a set of third party .dll's that have to be installed and registered on the local machine as simply placing them in the executable folder on the server doesn't work ... as it would do with VFP.
Thanks in anticipation.
Dave
This communication and the information it contains is intended for the person or organisation to whom it is addressed. Its contents are confidential and may be protected in law. If you have received this e-mail in error you must not copy, distribute or take any action in reliance on it. Unauthorised use, copying or disclosure of any of it may be unlawful. If you have received this message in error, please notify us immediately by telephone or email.
Flexipol Packaging Ltd. has taken every reasonable precaution to minimise the risk of virus transmission through email and therefore any files sent via e-mail will have been checked for known viruses. However, you are advised to run your own virus check before opening any attachments received as Flexipol Packaging Ltd will not in any event accept any liability whatsoever once an e-mail and/or any attachment is received.
It is the responsibility of the recipient to ensure that they have adequate virus protection.
Flexipol Packaging Ltd. Unit 14 Bentwood Road Carrs Industrial Estate Haslingden Rossendale Lancashire BB4 5HH
Tel:01706-222792 Fax: 01706-224683 www.Flexipol.co.uk
Terms & Conditions:
Notwithstanding delivery and the passing of risk in the goods, the property in the goods shall not pass to the buyer until the seller Flexipol Packaging Ltd. ("The Company") has received in cash or cleared funds payment in full of the price of the goods and all other goods agreed to be sold by the seller to the buyer for which payment is then due. Until such time as the property in the goods passes to the buyer, the buyer shall hold the goods as the seller's fiduciary agent and bailee and keep the goods separate from those of the buyer and third parties and properly stored protected and insured and identified as the seller's property but shall be entitled to resell or use the goods in the ordinary course of its business. Until such time as the property in the goods passes to the buyer the seller shall be entitled at any time
[excessive quoting removed by server]