VS 2008 Publishing A Project With ClickOnce?
Aug 30, 2010
I have a project and I'm publishing it with ClickOnce. As it publishes, it asks: "Version 1.00.xxx (etc) already exists on the server, do you want to overwrite it?" -- well, I click yes, and then I run the setup file and install it (I publish to my desktop), and guess what -- it's the old version of the project.For some reason, unless the version that is published is greater than the prior version, even if I tell it to overwrite that version, it is not published properly!
This has caused me some headaches, as I test my program on another VM, find errors, fix them in code, republish, and find the same bugs in my program as I test it again because it didn't publish the latest or newest version of my program, I even tried the simplest thing, I changed the text on my main form window that opens to something different from previous, and no matter how many times I publish, and click overwrite the old version, the old version remains!
View 2 Replies
ADVERTISEMENT
May 24, 2009
Publishing to CD using the ClickOnce method IS possible in VB 2008 Express. I've posed many questions in the past in my questions regarding "Distributing A Program on CD".I was getting error messages and my program would not instal on a 3rd party computer (My LapTop)
I followed all the instruction as laid out in the Help file and took note of all the advice I received in the forum but the programs wouldn't install on my LapTop.I bought a book entitled "Build A Program Now Microsoft VisualBasic 2008 Express Edition" by Patrice Pelland.
In Chapter nine in goes through the procedure of publishing with the ClickOnce method. The one thing that the book said which was not included in the Help file was that the option "Build (Program)" in the Build menu had to be selected.I then went through all the other options as were discussed in my threads "Distributing a Program on CD".
Success! I published two programs, "MasterMind" and "HangMan" (Simple enough programs for a beginner to VB Express)I then burnt the two folders created during the publish porcedure to a CD, loaded the CD onto my LapTop and double clicked on "Setup" on the "Mastermind" program. Total success! The program installed without a hitch and runs without fault.
I then selcted to instal "HangMan" and bombed out with the error message that stated I need to instal
"Microsoft.Visual Basic.PowerPacks.Vs" in the Global Assembly Cache (GAC) first."
View 1 Replies
Sep 28, 2009
I'm trying to add an automatic update feature if there is a mandatory update for my application using something like this:
vb.net
'Check for mandatory updates
Private Sub MyApplication_CheckForUpdateCompleted(ByVal sender As Object, ByVal e As Deployment.Application.CheckForUpdateCompletedEventArgs)
If e.UpdateAvailable AndAlso e.IsUpdateRequired Then
[Code]...
View 2 Replies
Aug 28, 2010
While publishing, how can I select ClickOnce or Windows Installer. Where can the choice be made?
View 2 Replies
Dec 21, 2009
i went up to "Build > Build Project" then "Build > Publish Project." So I went to the director i published my project in, and I ran Setup.exe, I followed as prompt, and then when the Splash screen unloaded, the project stopped responding and closed. So I ran the debug on VB8 and it ran fine passed the splash screen. Then, I tried going to the debug folder, and run the project from there, it ran fine to. So I tried another solution. I copied, and pasted the .exe file in the debug folder to my desktop, along with the .dll files in the debug folder to, ran it, and it got an error instantly after running it.So the only way I could get it to run, is to leave the .exe in the Debug folder, and to run Debugging in VB8.Also, I really don't like the way VB8 publishes the files and you have to run the setup each time you want to run the program. Is there a way to just make it a normal .exe file, like the ones vb6 makes?
View 11 Replies
Feb 28, 2012
Trying to publish a click once type app to a local directory and create a websetup with the published contents- so that i can give tat setup to install in two different servers. but as the publishing wizard takes a URL - separate setup is required for each server. Is there any way that i can create a single setup which i can use it in two servers..?
View 1 Replies
May 22, 2009
About publishing my program. there's a lot of files made after publishing unlike in vb6 when i converted it to exe file theres only one file. hmm how can i make just one exe file in vb9 is it possible? another question do i have to install the program after publishing?
View 5 Replies
Oct 28, 2009
I have a question regarding publishing vis ClickOnce. For the publish options, there is a Publishing Folder Location and there is a Installation Folder URL. clarify the difference between Publish and Install, and when it would be apropriate for the two to be different?
View 3 Replies
Sep 5, 2006
When i use the 'Publish <ProjectName>' feature in VB .NET, a setup file is created. When u run the setup, u cannot specify where u want to install ure program. Is there any way to change that.
View 5 Replies
Sep 5, 2011
This problem suddenly arose after several months of successful publishing.I am still able to build the project.
[Code]...
View 2 Replies
Jul 8, 2009
I have created a small project which also interacts with a mdb.It works great on the PC where it was created.However, when publishing it on my home network it asks for the first path. It lets me input the first path "where do u want to publish the project" successfully. When clicking next it brings up this form:
[Code]...
View 1 Replies
Mar 21, 2011
I want to publish my vb.net project, but when I publish the project, there is no access to database. It is showing error : "System.Data.OleDb.OleDbException: Could not find file 'C:\Documents and Settings\Administrator\Local Settings\Apps\2.0\N3WEXXZN.DE6\JHJXMQC9.9N6\mara..tion_c355efc190f94c5f_0001.0000_d27846b1540f4a39\EventsTable1.mdb'."
I am giving connection string as
"Provider=Microsoft.JET.OLEDB.4.0;Data Source=" & My.Application.Info.DirectoryPath & "\EventsTable1.mdb"
OR
"Provider=Microsoft.JET.OLEDB.4.0;Data Source=|DataDirectory|\EventsTable1.mdb"
Why this error is occuring? Is there any other way to provide database path?
View 7 Replies
Dec 7, 2009
I'm trying to publish a project I created to a network server using the Publish Wizard in VB 2008. The project publishes to the specified path but I try to install the application I keep getting this error..
View 2 Replies
Mar 18, 2009
I am trying to publish a project. Via the publish wizard I have published the project. So I have:Project.applicationSetup.exeand a directory application files in which:Project.applicationProject.exe.deployProject.exe.manifest. When I start the setup it does it's thing (only one question: do you want to install ...etc) and 2 seconds later its done.
Problem:
1. I can't find the installation directory... (I can find the app in the 'add/remove programs' but not anywhere in program files or ..)
2. there are a few xml and mdb files I want to include in de project (or else the project does not work).
But because of (1) I don't know where to do so. Or beter yet, I would like to include these files in the installer.3. Why doesn't the installer ask me where I want to install?
View 5 Replies
Dec 20, 2011
i am trying to publish a vb.net project that has is connected to a database. the project can be published and installed and runs fine without the data base part. i get following error message: System.Data.SqlClient.SqlException (0x80131904): A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: SQL Network Interfaces, error: 26 - Error Locating Server/Instance Specified)
i assume that it simply cant find the database. where do i need to adjust the database file settings to make this work.
View 3 Replies
Apr 22, 2011
I am using an Access Database with my project. When I publish, all the Forms seem to Publish. Also the database gets published. However, once I install it, there seems to be no connection with the Database.The Forms give me the Oledb error as Im using Access. However, the login form seems to connect with the database. In other words, my applications gets authenticated, but when I try to open other forms, there seem to be an error with DB connection
[Code]...
View 1 Replies
Apr 11, 2009
Where is the location of ClickOnce Installation and what are the restrictions of ClickOnce Deployment?
remember to mark the replies as answers if they help and unmark them if they provide no help.
Welcome to the All-In-One Code Framework! If you have any feedback,
View 1 Replies
Oct 10, 2009
how to do the followings when creating the Set-up project for a program I created.The Page which appears when the "Setup" project is successfully finished, shows a menu bar in the "Solution Explorer". The "Custom Actions Editor" gives a list of (1) Install, (2) Commit, (3) Rollback & (4) Uninstall. I couldd do anything on this. Why these folders are there? How can I use this to create an "Uninstall" utility? What are they meant for? 1) How to include "Uninstall" part for aa program? (I want it appears in the Program menu on moving the Cursor on the Program. 2) How to create the "Uninstall" for a program?3) I couldn't make my program to appear in the list of Program Menu after installing (I'd to make a "Shortcut" of the program in the Program Menu), it didn't appear in the Desktop also - again I had to make a Shortcut on the Desktop also manually.The Tutorials didn't explain anything about this but only showed these options are available.
View 1 Replies
Aug 13, 2009
How do I use it to give updates? I tried googleing but it didnt explain well
View 3 Replies
Nov 25, 2010
I have a vb.net application that has to be published on the server to a specified path. After publishing, when I try to install the application, I get the below error msg:
ERROR SUMMARY: Below is a summary of the errors, details of these errors are listed later in the log.
* Activation of \agbvseng14datasSOFTEasy_ECNNouveau dossierEASY ECN.application resulted in exception.
Following failure messages were detected:
+ Downloading http://bue479/EASY ECN/EASY ECN.application did not succeed.
+ Unable to connect to the remote server
+ No connection could be made because the target machine actively refused 180.30.4.18:80
View 10 Replies
May 5, 2010
For reasons that are beyond my control, I have three Projects. Projects A and B reference project C. Project A references project B so that it can open a large form in project B. I now need to open that large form from project C, but VB won't allow me to add a reference from C to B because that would create a circular dependency. I found a way around it, though. I created a Timer in A, and when I opened C from A, I passed in that timer. When the user performs a certain action, I enable the Timer from A, and this causes C to open B for me.
View 2 Replies
Sep 16, 2010
i would like to ask if it is possible to implement clickonce like in vb2008 in vb.net 2003?..example:i have a button "Update" in my application running on local machine...if i click it it will check the remote server if there is an update of that app.if yes then download it an change the application on local machine...
View 22 Replies
Sep 30, 2010
I have an application that was deployed almost a year ago using clickonce. My Test certificate is about to expire. Seemed to have read somewhere that the problem was fixed in VS 2008. Can someone confirm and tell me if there is something I have to do to keep my users up and running? Also, if I make changes to the application and redeploy after the expire date, is there anything I need to do? I don't know anything about certificates just that I had to create one to use ClickOnce.
View 1 Replies
Dec 24, 2009
I am having great difficulty installing my app from a Click Once Deployment from my website using IIS6 I have done some searching online and I have carried out everything I can find but still nothing. I have tried with the .deploy option on and off and I get the error:The Page Cannot Be Found - HTTP Error 404 when I hit the 'Install' button and its trying to launch /setup.exe I have added the following into Mime Types:
.exe
.manifest
.deploy
.Application
and I have Restarted IIS Service after the changes as documents somewhere.
View 6 Replies
Mar 5, 2009
when publishing a program is it possible to get it to include or copy over a mdb file and can the setup be made into 1 setup file instead of the "Application Files Folder" and "Program name.application"
View 2 Replies
Aug 10, 2009
where I can locate a tutorial on Publishing in VS8. I have both, VS8 Express Edition and VS8 Studio. I know that if I click publish in either edition, I get the Click once publishing format.But, I also know that you can specify directory to publish your program to exc:Program Filesprogram namemy executable.exe). But I am unsure how to properly set this up in the VS8 Studio. The only part I have not found, is how to Publish your program and not use the Click once format.
View 1 Replies
Mar 11, 2010
I've used VB2008EE to create a Windows Forms app which includes a Help form. The helpform contains a Treeview for navigation and a WebBrowser control which displays the relevant part of an HTML page containg the help information.The app is intended to be used offline - so I need to include the HTML page file as part of the published app, and I need to be able to specify where this HTML file will be installed on the target computer so that the URI in my Helpform which loads the Help page will locate this file.
(I expect the HTML file should live in the directory pointed to by the:
My.Computer.FileSystem.SpecialDirectories.CurrentUserApplicationData property)
how to specify the Project settings and Publish Wizard etc. (& whatever else is necessary) in order to achieve the above.
View 3 Replies
Feb 23, 2011
I have written a program and deployed using clickonce to all desktop users. Additionally, the program is also installed (non clickonce) on a terminal server. (For security reasons, these users cannot install on their desktops). I need to add some code to the current program but only need this code to happen if it's being run as a Non ClickOnce Application. Does anyone know how to determine if the running version is a clickonce or not? Is there something in System.Deployment.Application that identifies?
View 1 Replies
Apr 5, 2009
My application is small, I intend to use the installer that comes with VS 2008 Prof.Edition, or ClickOnce.I'm wondering which is better, I need to include a copy of the .NET framework 2.0 in a package, and have it installed simply, and also be easy to uninstall.
View 4 Replies
Feb 24, 2010
I have a database that works fine when not yet published, I connect this way: "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=|DataDirectory|Network_Info.mdb" But when I publish my project my application can't find my database and I always get an error. Any solution to this matter?
View 4 Replies