Update An App Without Using Clickonce?

Dec 5, 2009

how can I update my app without using clickonce? I am using VB 2008 XE & WinXP and will soon use Win7....

View 7 Replies


ADVERTISEMENT

Update Without Using Clickonce?

Dec 4, 2009

how can I update without using clickonce??

View 3 Replies

ClickOnce Manual Update Not Working?

Mar 13, 2009

I have my application set up with ClickOnce. It has been successfully published to my web site. I don't have updates performed automatically but on demand. I have a button that the user can click if they want to check if an update is available and install the update if it is. Here's the

[Code]...

After clicking the button a message box appears and says, "Update is available for download" as you would expect but after clicking the ok on the message box my application goes into a not responding state and I have to close it with the task manager. The application builds successfully and I have a reference for System.Deployment added to the project. Everything in my application works fine as long as I don't try to do an update. Any suggestions on what I should check or do? It should actually say "no updates are available for download" since the version of the program that is being used is the most current version.

View 1 Replies

Application Restart Necessary Immediately After A Clickonce Update?

Jul 25, 2011

I've deployed an application inside a corporate network and I want the update process to require less attention from users. Giving them a choice to update is not a porogative.I've written code to detect when new updates are available automatically rather than letting ClickOnce check on application start. I'm wondering if its necessary to restart the app after the update has completed. Currently I invoke at the end of my update script:Application.Restart()

But what if (to make the update process more transparent for the user), I performed a 'silent' update in the background on a separate thread, and then displayed an icon prompting the user to restart the app to apply the changes? Would it work this way?

Furthermore, if I ran my custom InstallUpdate() process on a timer, say every 2 hours, would ClickOnce be happy to continue to update for every new version that was released even thought the user has not restarted (and I'm expecting the updates only to apply once the user restarts the app)?

View 2 Replies

Use ClickOnce Deployment On My Application To Get The Update Feature?

Dec 21, 2009

I use ClickOnce Deployment on my application to get the update feature.But i really do not like the deployment and the setup Is their a way I can use the Visual Studio setup feature to make a msi package for my application but still have the update feature?

View 4 Replies

VS 2008 Publishing A Mandatory Update With ClickOnce?

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

Deployment :: ClickOnce App Not Update If Passed Command Line Arguments

Jul 9, 2009

I have a ClickOnce application deployed to many workstations in my office. On it's first run it adds a registry key to the HKCU run group that adds itself with a "-minimize" argument. On each login the program starts and seeing the command line argument minimizes itself. However when a update is published the program does not update. If the program is run from its menu shortcut without arguments it runs fine. I then looked up how to update programmaticaly and put that code into my program to run at startup.

But my.application.isnetworkdeployed returns False when command line arguments are passed to the app and TRUE when run without command line arguments even though in both cases it is network deployed. Since my program starts up with command line arguments and stays minimized while the computer is on there is no reason for a user to close the program and reopen it through a menu item but as of right now that's the only way the program updates. Is this a bug or how ClickOnce is supposed to work?

Example: Create a new program. On the form add a textbox. In the Form load event put something like:
Private Sub Form1_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
TextBox1.Text = My.Application.Info.DirectoryPath.ToString & "" & My.Application.Info.AssemblyName & ".exe"
MsgBox("Is my app network deployed?: " & My.Application.IsNetworkDeployed)
End Sub

Deploy the app. Start it with a menu item and it returns True. Start it with any command like argument (use the path from the box) and it returns false. Why? How is that possible? The app didn't magically become non network deployed because it was passed a command line argument.

View 1 Replies

VSTO ClickOnce Application Trying To Update Via Visual Studio Local File?

Jan 15, 2012

I've built a VSTO add-in for Microsoft Word and deployed to a webserver. Installation goes off without a hitch. When I create an updated version of the application and redeploy it to the webserver, the add-in correctly detects that there's a new version and attempts to update it. This is where I'm running into the following error (the "xxx" indicates that I had to censor something):url...The customization cannot be installed because another version is currently installed and cannot be upgraded from this location. To install this version of the customization,first use Add or Remove Programs to uninstall this program: xxx. Then install the new customization from the following location: url...This appears to me as if I left a local reference of some sort in my Project, but I can't find anything of the sort. The only reference to this file is within the xxx.vbproj.FileListAbsolute.txt file that's generated in the bin/Debug folder.Not sure if this is also a clue, but I'm seeing Registry Keys added referencing this as the location of the VSTO Project Manifest.

View 1 Replies

IDE :: Multiple Environments - Enabled The Installation By Clickonce - Update Occurs Before The Application Starts

Oct 29, 2009

I am developing an application in Vb.Net 2005 and have enabled the installation by clickonce, the update occurs before the application starts. My problem is very simple, the server that contains updates is correctly natted to be available from the outside with a public IP.

The clients who access from an external network connecting without problems, download software and updates. When local clients are connected to the same network of the server (LAN) can not download anything because they try to access the server with the ip public, and the nat does not work . We can not perform operations on the DNS server or hosts file and not even on the router.

I need to figure out if i can use ClickOnce to use more than one distribution server, primary and secondary. I'd like to set as the primary server the public address and the secondary server with internal network ip address.

View 1 Replies

Location Of ClickOnce Installation And What Are The Restrictions Of ClickOnce Deployment?

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

.net - Another Way To Publish Besides Clickonce?

Jun 9, 2009

does vb.net have a different way to build an application without using clickonce?

View 2 Replies

.net - Breaking An Old Clickonce App So Nobody Can Use It?

Oct 20, 2011

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 Replies

IDE :: ClickOnce Not Bootstraping .NET 3.5

May 26, 2009

When 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?

View 1 Replies

IDE :: Fix ClickOnce Deployment?

Sep 2, 2009

After 18 years of experience developing in VB you have succesfully made this the most difficult deployment method possible

View 6 Replies

Using ClickOnce Without Frontpage?

Apr 5, 2010

I'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]...

View 2 Replies

VS 02/03 ClickOnce Like In .net 2003?

Apr 30, 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 3 Replies

VS 2008 How To Use ClickOnce

Aug 13, 2009

How do I use it to give updates? I tried googleing but it didnt explain well

View 3 Replies

.net - ClickOnce Deployment Errors

Mar 30, 2009

I 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]...

View 6 Replies

ClickOnce And Filestream Permission?

Jul 27, 2009

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].....

View 2 Replies

ClickOnce Deployment Error

Aug 3, 2011

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."

View 3 Replies

ClickOnce Required To Run Setup?

Aug 28, 2010

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?

View 1 Replies

Deploy An Application By Using Clickonce?

Feb 24, 2009

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

View 4 Replies

File Used To Open ClickOnce App

Aug 20, 2010

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 Replies

IDE :: Clickonce Deploy Without .config?

Feb 1, 2010

Our 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 Replies

IDE :: Dfsvc.exe Causes ClickOnce Win App Crash?

Feb 19, 2007

We 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 Replies

Run ClickOnce Application As Administrator

Jun 28, 2011

I 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]...

View 2 Replies

Stand Alone Exe + ClickOnce Cache?

Nov 17, 2009

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.

View 5 Replies

Use The Clickonce Setup File?

May 16, 2010

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?

View 4 Replies

VS 2010 ClickOnce Installer With Same Name

Nov 29, 2011

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 Replies

.net - Debugging ClickOnce Deployed Application

Nov 9, 2010

I 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...

View 2 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved