|
-
Jan 30th, 2007, 12:51 AM
#1
Thread Starter
Lively Member
Deployment from a website
Visual Studio 2005 Professional:
I wrote a Windows app that I intend to sell via a website.
I successfully used a Setup project to deploy the project from a CD.
Now, I would like to have customers be able to download it from a website.
Do I simply compress it to a zip file and upload that to the website?
-
Jan 30th, 2007, 03:33 AM
#2
Re: Deployment from a website
It should already be compressed. Just zip it and upload it and set links to the file for download.
-
Jan 30th, 2007, 01:39 PM
#3
Thread Starter
Lively Member
Re: Deployment from a website
The CD has 4 .mdf (database) files on it, 28 other data files, setup.exe, setup.msi, MyApp.exe, autorun.inf, MyApp.ico.
It also has subdirectories for dotnetfx, WindowsInstaller3_1 and SQLExpress.
I suppose that I could eliminate those 3 prerequisites when installing from a website. I added them to the CD so it would work without an internet connection.
-
Jan 30th, 2007, 01:58 PM
#4
Re: Deployment from a website
Why aren't those other files deployed and includeed in your installation exe? Are they deployed by the setup.exe or does the user need to manually deploy them?
-
Jan 31st, 2007, 12:08 PM
#5
Thread Starter
Lively Member
Re: Deployment from a website
Good idea! I didn't think of that!
They are deployed by the Setup.exe.
I will include them in the Setup.
I think that what I have to do is create a second Setup project.
The first one is for deployment via a CD.
The new one would be for deployment from a website.
I think that that is one of the options when you create a Setup project.
ClickOnce will automatically check and install updates when a new version is available.
I don't know if Windows Installer has that capability.
I really hate it that ClickOnce hides the installation.
I think that they did that on purpose so you buy the Professional edition.
-
Jan 31st, 2007, 01:28 PM
#6
Re: Deployment from a website
That is a bad idea if ClickOnce checks for updates. It will update itself? How is that going to help your application. There is way for ClickOnce to know you have an update...
-
Jan 31st, 2007, 05:31 PM
#7
Thread Starter
Lively Member
Re: Deployment from a website
You are right!
I don't want customers to always get free updates!
Do you use ClickOnce or Windows Installer?
-
Jan 31st, 2007, 05:37 PM
#8
Re: Deployment from a website
Neither, I use ********** and Inno Setup.
-
Feb 4th, 2007, 11:38 PM
#9
Thread Starter
Lively Member
Re: Deployment from a website
>Why aren't those other files deployed and included in your installation exe?
I want to include all files in my installation exe. How do I do that?
-
Feb 4th, 2007, 11:48 PM
#10
Re: Deployment from a website
Use an installation package...
Look at ********** and Inno Setup or one of the other packages in the FAQ's
-
Feb 5th, 2007, 12:13 AM
#11
Thread Starter
Lively Member
Re: Deployment from a website
On my website, I click on the "Download 30 Day Free Trial" button.
It downloads the program, but, it is not giving me any indication that it is doing it.
How can I have it display a progress bar?
-
Feb 5th, 2007, 12:17 AM
#12
Re: Deployment from a website
You can't..
You would need to create your own program (Add-In) to download and show the progress there. Otherwise you will have to count on just what the browser has.
-
Feb 5th, 2007, 01:26 AM
#13
Thread Starter
Lively Member
Re: Deployment from a website
I changed my "Download 30 Day Free Trial" button to link to my Setup.exe file.
When I clicked on it, and selected "Run", I got the unknown publisher message. I never got that message when installing from CD.
-
Feb 5th, 2007, 01:33 AM
#14
Re: Deployment from a website
That message is specific to IE. It wan't you to sign the file. You should have it a zip file and download that, unzip it then execute it. The exe will not run from the website anyway.
-
Feb 5th, 2007, 01:53 AM
#15
Thread Starter
Lively Member
Re: Deployment from a website
I am trying to make it as easy as possible for my unsophisticated customers.
Downloading a zip file is a little too complicated.
If I could get everything in my installation exe, I think that it would simplify things.
Where could I find an example of a VB program to download an app?
-
Feb 5th, 2007, 02:01 AM
#16
Re: Deployment from a website
Search the forum for Winsock or Inet. Both can be used to download a file then you can execute the file yourself.
-
Feb 5th, 2007, 07:02 PM
#17
Thread Starter
Lively Member
Re: Deployment from a website
I found the following program which does display a nice progress bar.
My download button links to this program.
But, the customer has to know to press "Save" rather than "Run".
After downloading this program, then he has to know to click on "Run".
It then downloads the zipped project with a progress bar.
Then he has to know to click on the zip file, click on "Extract All Files" and finally click on "Setup1.exe".
Too complicated! I want simple!
Public Class Form1
Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
My.Computer.Network.DownloadFile _
("http://www.OrthoLabRx.net/OrthoLabRx.zip", _
"Desktop/OrthoLabRx.zip", _
"", "", True, 500, True)
Close()
End Sub
Public Sub DownloadFile( _
ByVal address As System.Uri, _
ByVal destinationFileName As String, _
ByVal userName As String, _
ByVal password As String, _
ByVal showUI As Boolean, _
ByVal connectionTimeout As Integer, _
ByVal overwrite As Boolean)
End Sub
End Class
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|