.net - Another Way To Publish Besides Clickonce?
Jun 9, 2009does vb.net have a different way to build an application without using clickonce?
View 2 Repliesdoes vb.net have a different way to build an application without using clickonce?
View 2 RepliesI'm deploying a standalone application (VB 2005 w/ Crystal Reports) using ClickOnce. My users have different IP addresses that they use to map to the same networked drive. The best way I've come up with to get the installer out to them is to publish it twice manually:
ip.addr.number.001/PublishedHere/001/setup.exe
ip.addr.number.002/PublishedHere/002/setup.exe
And telling them to execute the appropriate installer.
I have wriiten several windows app using Visual Studio 2008. All projects but one where the "Updates" button is disabled in the Publish tab. How can I enable it?
View 2 RepliesI have finally finished an application which works really well on the PC upon which I developped it using VB 2008 Express.My problem is that when I publish it and try to install the ClickOnce output files on another PC (tried two so far, both WinXP) I get a missing files error. There is an error output saying that downloading the .exe.manifest file did not succeed. Unfortunately the error detail is confusing and does not seem to indicate exactly which files are missing.On both of the PC's that I tried I was prompted io install .net 3.5 SP1, which seemed to have been successful. The inference is that it is not a .net file that is missing.
View 2 RepliesHow do I publish/deploy the WinForms application including a database file via ClickOnce?
Please 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,
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 RepliesHow they relate and differ from each? What are the best practices for version control? Is there a primer about publish online? Or a good book?
And is it possible to make ClickOnce and a msi in one solution of VS 2008? If so, is there any conflict or pitfall?
BTW I am using VB if that makes any difference.
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,
Now I did a clean build, and tried to publish, and I get a lot of errors and warnings that I don't understand.
Error1Cannot publish because a project failed to build.11AllJ Slots
Warning2Assembly 'Microsoft.DirectX.AudioVideoPlayback.DLL' is incorrectly specified as a file.AllJ Slots
Warning3Assembly 'Microsoft.DirectX.DLL' is incorrectly specified as a file.AllJ Slots
Warning4Assembly 'Microsoft.DirectX.DirectSound.DLL' is incorrectly specified as a file.AllJ Slots
Error5An error occurred while signing: Failed to sign binReleaseapp.publish\setup.exe. SignTool Error: ISigned
:Sign returned error: 0x80880253
The signer's certificate is not valid for signing.
SignTool Error: An error occurred while attempting to sign: binReleaseapp.publish\setup.exeAllJ Slots
I have an old ClickOnce program, which has been replaced by a new one I wrote, and I am aware that some people are still using the old one.I want to somehow remotely remove it from every computer where it is still being used (there are far too many to manually find them).
View 2 RepliesWhen I install my .NET 3.5 sp1 Windows Forms application through ClickOnce on WinXP I get this error: "Unable to install or run the application. The application requires that assembly WindowsBase Version 3.0.0.0 be installed in the GAC first."
When I install my .NET 3.5 sp1 WPF application through ClickOnce on WinXP I get this error: "Cannot continue. The application is improperly formatted. Contact the application vendor for assistance."
Installing .NET 3.5 manualy on the machine solves both problems so it is clear that they both complain about the missing .NET 3.5 that's needed by the app. But why doesn't the ClickOnce installer bootstrap the .NET 3.5 and automaticaly intall it if needed? I set it as a prerequisite but it seems to be ignored. And why is this error so much more criptic and unhelpfull in WPF?
After 18 years of experience developing in VB you have succesfully made this the most difficult deployment method possible
View 6 Replieshow can I update my app without using clickonce? I am using VB 2008 XE & WinXP and will soon use Win7....
View 7 Replieshow can I update without using clickonce??
View 3 RepliesI'm trying to publish an application online that will auto-update, as updates will be rather frequent, and I don't want users to have to reinstall every week when a new update is released.However, my host does not support FPE, but I'd still like to use ClickOnce. I found a tutorial, but it doesn't seem to work for me.
[Code]...
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 3 RepliesHow do I use it to give updates? I tried googleing but it didnt explain well
View 3 RepliesI am trying to deploy a ClickOnce app. It had worked previously when the server was just sitting with .Net 2.0 installed (no SP). Recently the server had 3.5SP1 installed on it and now ClickOnce is failing with the error:Value does not fall within the expected range inside System.Deployment.
Here is the information posted on the MSDN forums (answers there are generally hit or miss for me) with the call stack:It was in VS 2005 w/SP1 and I tried changing the path I publish to, changing the installation URL, changing the assembly name, manually controlling versions, running mage -cc, manually removing all application data in %userprofile%AppDataLocalApps and even changing deployment servers completely but still get the same error:
[Code]...
VB.NET application which allows user to split a file in smaller files. However the stand alone executable of the application,had a permission problem using filestream to read a file without an OutOfMemory exception, while selecting to split locatein certain directories like "C:".To solve the problem i checked My Project window and the "Security" tab, and i tried checking the checkbox: "Enable ClickOnce Security Setting" and selecting "fulltrust application". This added to my app.manifest these lines of code:
<applicationRequestMinimum>
<defaultAssemblyRequest permissionSetReference="Custom" />
<PermissionSet class="System.Security.PermissionSet" version="1" Unrestricted="true"
[code].....
I Have a BIG problem. I make applications on Visual basic 2010 and of course use clickonce. when another computer wants to install an application (From the mediafire in a ZIP folder) the user extracts the folder, launches either the "Setup" or the ClickOnce application and then selects install and the following error message appears:
"Unable to install or run the application. The Application requires thaat assembly Microsoft.VisualBasic.Powerpacks.Vs Version 10.0.0.0 be installed in the Global Assembly Cache (GAC) First. Please contact your system anministrator."
if we need to install ClickOnce application on client's computer, if we need to run a setup file made with ClickOnce?
Also, when we publish, how can we specify if we want to use ClickOnce or Windows installer?
Im trying to deploy an application by using clickonce and having some difficulties with it. In a class i have this function
Private AD As ApplicationDeployment
Private updateCheck As UpdateCheckInfo
Public Function SoftwareUpdate() As Boolean
[code]....
When i create my code on a form (to run the function above) i receive the error "Object not set to an instance" I try to add New to my declaration but then receive the error "Application Deployment has no constructors". Im not sure what im doing wrong or how i should go about this.it does not go past the line AD = ApplicationDeployment.CurrentDeployment i decided to leave the remaining code
This is my first time using this ClickOnce thing (not liking it) howver I'm attempting to setup a file association. I added my extension to the project properties - publish - options - file associations screen and once I publish and install it associates to the file. Double clicking the file opens my application however I can't manage to get the path for the file in my application.I used to just use the command property but that seams to work fine in debug mode does nothing from the ClickOnce file.I tried useing My.Application.Deployment.ActivationUri.ToString as one site I found suggested but that just crashed my program.Try as I might I just can't find a useful explenation or example on how to get that file name into my program so I can open it. [code]
View 1 RepliesOur config file contains info which is different for every pc. In our config file we have settings like COMPORT number for device X,Y and other pc device specific setting.We would like to keep our ClickOnce deployment without having our .config file overwriten .I've checked the "Application Files" option but I saw no way how to exclude the .config file from the publication.
View 1 RepliesWe have one user who has run into problem on this CilickOnce win app today.When she clicked the Install button on the publish.htm hosted on the network, a message said:dfsvc.exe has encountered a problem and needs to close. However the app still launched when she clicks any button on the pop up message box, then later crashes in a crystal report viewer with system.reflection.target invocation exception if she enter that particular area.I googled dfsvc.exe. Some posts said it is a virus while others said it is ClickOnce engine. I have many other users who are on the same version and are running the same OS settings without any of the above mentioned trouble.I am not sure if the dfsvc.exe error is related to the reflection eception or not.
View 9 RepliesI have a vb.net clickonce application that will be used by low-level personnel with no administrator accesses. However, the application itself needs to save files to a folder on the server that is hidden and only allows read/write access to administrators. I need for these users to be able to interact with this folder using the application without giving them the ability to browse to the folder on their own. I've tried using several impersonation techniques, none have worked.
[Code]...
Two separate but related questions about deploying a Visual Basic 2008 .net application:1. Click One installs in a cache under local data. The EXE launches from the cache even if not on-line. I don't want my users to have a runnable EXE left over in their cache after exiting the program. Is there a way to delete or disable the cache contents on close of app or equivalent?
2. My EXE uses an interop DLL. I want my EXE to be a single stand-alone file so that I don't have to copy both the EXE and the DLL to the user. Is there a compile setting to incorporate everything, includng the DLL, into the EXE.First question relates to Click Once Web deployment. Second question refers ONLY to ordinary COMPILE, not click-once.
I have my main project file. I added another solution within it. So BOTH solutions are under the MAIN project file. I can use a custom setup file, and all that other fun stuff, coupled with the 'Check for updates' via Clickonce.
IF i were to use the clickonce setup file..is there a way to have both programs be in the SAME programs folder on the start menu?
Im new to .net and clickOnce publishing. As I make newer builds I have an install file with the same name as previous builds for an application with the same name. If I then install the new build application over the old build application will I run into problems? or is this OK? I am deploying to folks that are non-computery (i.e. expect new features to just work 5 mins after requesting them), and if I can allow them to just run the new install similar to an update, i.e. over an existing install, it would be a lot easier and quicker than having them uninstall and reinstall etc.
View 3 RepliesI am new to ClickOnce deployment and at first glance it seems a great way to maintain .Net applications updated with ease. I am developing a simple application that stores information on a mdb database and over some XML files. I understood how to use the "data" folder with ClickOnce and I am developing the part of my application that should migrate the data from older versions after a ClickOnce update. Now I need to debug that part of my code that only runs when the application is in "networkDeployed" mode. So actually I'm doing the following really slow process to test a new deployed version:
publishing the application on a provisional website (I can choose between a faster locale iis site or a real online one) installing the application from the deploying website (the first time) or running the old installed application so it automatically catch new updates and gets updated... running the application
So basically I have two problems here:
the whole process is much too slow :/ I'm running the app as every other app directly from the OS, so I can't access to the debugger...
I am pretty sure that there are better way to test ClickOnce deployed applications...