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


ADVERTISEMENT

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

ClickOnce Deployment After Resetting Application Files

Apr 12, 2009

I use VS 2008 Standard. If I do a QuickOnce deployment after resetting Application Files in the Publish Tab I get a bunch of messages saying that various files are not in the GAC. To solve this I change the Publish Status from Prerequisite (Auto) to Include and set Download Group to Required. Then when I install the application I get the splash screen and then the message that the application has stopped working. There was a workaround posted to delete /bin/obj/.cache etc, but I have no /bin/obj/ folder.

View 1 Replies

ClickOnce Deployment Error And Application Identity

Mar 26, 2009

All,I seem to have stumbled upon a ClickOnce error that stops me from auto-updating. When I Deploy my program using ClickOnce it publishes to the specified location and installs just fine. I can run my program no problem if I activate it from the start menu. However, I have code that registers the program as the default to open a specific file type. Naturally, I want my user to be able to double click on the file type of my choice and have my program open like normal. All-in-All this works.

The problem arises because I need my program to check for updates before loading my program, much like it does when I open the program from the start menu (I set the auto-update check within the ClickOnce options). However, this check does NOT run when the user double-clicks a file type to run my program, it merely skips this step and opens the program. So first I tried to find a way to run the Update manually through code, what I cam up with was this: [Code]

View 5 Replies

Clickonce Nightmare System.Deployment.Application.DeploymentDownloadException?

Jun 9, 2009

anyone know how to fix this? this is what i get when i try to run setup.exe

PLATFORM VERSION INFO
Windows : 5.1.2600.196608 (Win32NT)
Common Language Runtime : 2.0.50727.3053

[code].....

View 3 Replies

VS 2008 Synchronice Database In ClickOnce Deployment Application?

Aug 24, 2011

My application/project has an Access Database as its Project DataSource. I have a DataSet Designer (.xsd), with many TableAdapters, some of which I've created via the Designer. I have 2-10 users/foreman on any given workday, with their own Netbook and my ClickOnce Application.Users will add/edit/delete records in each of their own versions of the App/DataBase, XML files, representing changes, are created and upload to an ftp server.The corner I've painted myself into:When my Project Manager downloads these XML files using his own version of the application, analyzes each reported item, confirms and updates his version what is the best way to propagate those updates back to each user without having to update the project db and publish again?

View 4 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

2010 - Published A ClickOnce Deployment Package - Specialized Hebrew Font In The Application

Sep 29, 2011

I've developed a database application in VB.Net 2010 Express and published a ClickOnce deployment package, the only choice in the Express version. The installation is supposed to create a listing on the Start menu but this isn't happening. Also, I'm using a specialized Hebrew font in the application that is not carrying over to the installation. what I'm doing wrong or if the ClickOnce publishing method is not capable of working in this way?

View 2 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

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

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

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

C# - ClickOnce Deployment And Installation Path On PC?

Jul 8, 2011

I have a application that I deployed to web server. Users go to "publish.htm" deployment web page to install my vb.net application. Where is the application installed? I don't think it is installed under "Program Files" like others.

View 2 Replies

IDE :: ClickOnce Deployment Not Fully Updated

Feb 13, 2010

I deploy my windows application by ClickOnce deployment for first time it is updating properly. But I deploy again to the same update location it is not fully update to the client system. Some client systems has successfully update but some are NOT FULLY (sometimes partial updates happen) updated.

View 1 Replies

VS 2008 ClickOnce Deployment And IIS6?

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

Change User Settings In ClickOnce Deployment?

Apr 27, 2010

I have a program, written in VB 2008, that I deplpoy in Terminal server, that has some user settings (scope: user) that I'd like to modify locally. By default the user settings were not even installed locally. I think they are supposed to appear in the ClickOnce data directory. Using the following thread, I was able to get the user.settings installed locally:

[URL]

basically, i set my xml file as "Content" and I set the publish status as "Data File".

With this, my settings file appears in:

"C:Documents and SettingsusernameLocal SettingsApplication DataCompanyXYZProgramNameL.exe_Url_arzmal0maveh1nnwfib245pfk13xqfma1.0.0.0user.settings"

The problem is that modifying this file doesn't affect the application. I changed some settings, restarted the app, and changes were ignored.

View 1 Replies

VS 2008 : Distribute A Help File With An App Using ClickOnce Deployment?

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

Use One Click Deployment Feature Visual Basic 6.0?

Sep 23, 2009

Can we Use One Click Deployment Feature Visual Basic 6.0

View 3 Replies

ClickOnce Deployment - How To Enable Updates Button In Publish Tab

Mar 26, 2010

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 Replies

Deployment :: Outlook Security ... Register Com Object ... Clickonce

Feb 11, 2009

I have now spent a long time trying to figure out how to fix this problem, hoping someone here could give me some hints What I'm trying to do: I need a way to save mail items to a folder on the computer What I have done so far: I created a component, where you could drag a mail item from Outlook on to. This component then saves this mail item to a folder on the computer

[Code]...

View 2 Replies

IDE :: Clickonce Deployment - Report Viewer Deploys Incorrectly?

Oct 24, 2008

I have an application that I'm deploying using Clickonce that includes the Report Viewer. On my development machine, the reports work perfectly. However, on client machines, the reports are having printing problems. On some machines, the first print sends a 2 page document to a printer that displays an error message. On those machines, printing the second time is successful. On other machines, the first attempt doesn't get sent to the printer at all. Subsequent attempts work just fine.This happens each time a form with the report viewer is displayed - the user must print twice to get a correct print-out of the report.

NOTE: if I create a network shortcut to the application for a user that has NOT installed the Clickonce app, they are able to print from the Reportviewer without any issues. However, once they install the Clickonce app, the Reportviewer is "broken" (for lack of a better word) and won't print on the first attempt in ANY application.I know that I probably need to do something in my Publish settings to force the correct, newer version of the Reportviewer to be installed, but I can't figure out what that is.

I have Microsoft Visual Studio 2005 Reportviewer selected in the Prerequisites list, and there are 4 Reportviewer files in the Application Files list:Microsoft.ReportViewer.Common.dll - Prerequisite (Auto)Microsoft.ReportViewer.ProcessingObjectModel.dll - Prerequisite (Auto)Microsoft.ReportViewer.WinForms.dll - Prerequisite (Auto)Microsoft.ReportViewer.WinForms.xml - Exclude (Auto)?

View 1 Replies

Winforms - Losing My.Settings" With Each New ClickOnce Deployment Release?

Nov 9, 2009

I am using the built-in My.Settings functionality in VB.NET to save application settings.

This is very convenient but I notice that each time I release a new version, the settings are lost.

Why and how can I prevent it?

View 1 Replies

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

Update Without Using Clickonce?

Dec 4, 2009

how can I update without using clickonce??

View 3 Replies

How To Add Update Feature

Jan 29, 2010

I dont really understand how to add the update function to my program.I want it to update from my computer

View 5 Replies

C# - "Value Does Not Fall In The Expected Range" ClickOnce Deployment

Mar 14, 2012

I've had a ClickOnce app in use for a few months now, but recently started getting an error on my deployment of the latest version. With this latest version I've added a reference to a DLL that I hadn't used before (FTD2XX_NET.dll if it's relevant), and suspect that this is related to the issue but I cannot figure out how to fix it.

The actual project being deployed references another library project, which is what references the DLL (it references other DLL's but that has worked for months and they haven't changed). Following these threads I've tried deleting my "Local Settings/Apps" folder and rebooting multiple times, as well as recreating the project and deploying to a different location. The error exists on multiple machines so I do not suspect it's user profile corruption. Here is the full error I'm given:

[Code]...

Edit: It seems the problem is spreading. On the second machine I purged all of the ClickOnce files in the "Local Settings/Apps" so I had to reinstall an old program. When I went to do so it gave me the same error. This program was last updated in February. In response I tried totally removing and reinstalling the .NET framework to no avail.

View 2 Replies

Deployment :: ClickOnce Publish: Publishing Folder Vs Installation Folder?

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

Check For Update Feature?

Oct 12, 2009

I got a hard one for you devolpers.In a popular C++ program BitComet they have a Check For Update feature.How would I have a simple Check For Update and have it warn the user every 1 week or so.

View 4 Replies







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