Windows Develop Bookmark and Share   
 index > ClickOnce and Setup & Deployment Projects > Problems with Clickonce deployment using Visual Basic 2008 Express Edition
 

Problems with Clickonce deployment using Visual Basic 2008 Express Edition

I'm having a multitude of problems since installing VB2008 Express about a week ago. I wrote a small program but when I tried to distribute it to a friend using Clickonce (deployed to disk or webpage), he ran into several errors and was unable to launch the file. I then found the same problem on my spare PC, although it does work fine on this one (the one it was written on).

So I've started from scratch. Opened a new project, did NOTHING to the blank form, and just published it using the default Clickonce settings to http://www.soccerstar.org.uk/test/publish.htm(note that I've added some controls to it but it's the same problem with no controls). Now some people seem able to run this fine and on my spare PC, it managed to update .net and then run the program. But still I have at least one person who can't launch the file.

So what I'd like to know in particular is....

Is the Express edition able to deploy finished projects to multiple machines?

Are the default options for 'Clickonce' always correct or am I supposed to learn something about these deployments (I've trawled through dozens of webpages in the last few days but am no nearer to the truth). In other words, if I open a new project and deploy it, shouldn't it just run on all machines, or am I supposed to alter some settings first?

Will upgrading to Visual Studio 2008 help matters? I assume VS2008 includes VB and does it also include the web developer language?

Farflame  Tuesday, September 01, 2009 10:00 PM

You should be able to do this just fine with VB Express.

First question. I assume you are actually using a publish location of http://www.soccerstar.org.uk/test right?

Second question. Are you including a prerequisite for the appropriate .Net Framework ? You can do this by clicking on the Prerequisites button and making sure the right version is selected.

Third question: What kinds of errors did your friends get? I'm assuming they are installing it from the website? Are they clicking on Install or Launch? Install installs the prerequisites, while Launch just runs the application file, which will fail if the users don't have the prerequisites installed.

Fourth Question: At what point is it crashing? After it's downloaded and running, or before?

RobinDotNet


Click here to visit my ClickOnce blog!
RobinDotNet  Wednesday, September 02, 2009 12:00 AM

Hi,

We are changing the issue type to “General Discussion�because you have not followed up with the necessary information. If you have more time to look at the issue and provide more information, please feel free to change the issue type back to “Question�by opening the Options list at the top of the post window, and changing the type. If the issue is resolved, we will appreciate it if you can share the solution so that the answer can be found and used by other community members having similar questions.

Aland Li


Please mark the replies as answers if they help and unmark if they don't. This can be beneficial to other community members reading the thread.
Aland Li  Wednesday, September 09, 2009 9:54 AM

You can use google to search for other answers

Custom Search

More Threads

• Launch Location of ClickOnce App Using UNC
• How to integrate IE in the WinForm
• Click once - When running install only getting .application xml in IE
• "Application Referenece" Architecture
• clickonce launch application only once!!
• Installer runs when files are replaced
• run file after setup
• how to create an exe in the programs folder
• ClickOnce: How to modify application settings during deployment?
• .Net Application Updater Component