clickonce

How can I make a Click-once deployed app run at startup?

左心房为你撑大大i 提交于 2020-01-09 06:20:37
问题 How can I make a Click-once deployed app run a startup? The best option I found by searching was to set the Publisher on the app to Startup, so the Start menu shortcut would be placed in the Startup folder, but that seems like a huge hack and I would like there to be a Start menu icon people can find. What options do I have? 回答1: I feel that adding your application to the startup folder is unprofessional. I strongly recommend using a startup registry key to launch your application. Contrary

Custom icon for ClickOnce application in 'Add or Remove Programs'

…衆ロ難τιáo~ 提交于 2020-01-09 03:41:06
问题 A ClickOnce application created using Mage is not showing the icon that was specified in for the Mage command-line parameter in control panel Add or Remove Programs . I read some blogs, like: Application icon is not displayed in Add/Remove Programs dialog Missing Icon in Add/Remove Programs for ClickOnce Application How can I achieve this without editing registry keys? Is it possible? 回答1: There's no way to do this without editing the registry, but you can do it programmatically. You have to

How to programmatically discover whether the running application is installed? [closed]

此生再无相见时 提交于 2020-01-07 08:09:21
问题 It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center. Closed 7 years ago . I want the program to check if it's installed on the computer (using Clickonce) or just being run (e.g. by Visual Studio). EDIT: Not a duplicate of How to detect that C# Windows Forms code is executed within

Run ClickOnce Application as Administrator

China☆狼群 提交于 2020-01-06 08:47:06
问题 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. http://weblogs

Removing extra files after uninstalling a clickonce application

孤街醉人 提交于 2020-01-06 08:42:27
问题 I have a project that uses clickonce to generate the setup.exe. During the run time my program create some extra files like "Log" and "Attachments" inside the User Folder. However, those folders are not removed when I perform an uninstall of the clickonce application from the ARP. These remaining files are interfering the next install. I know that click once does not support for adding custom action to install or uninstall. I am wondering if is there is a way that I can remove those extra

Removing extra files after uninstalling a clickonce application

烂漫一生 提交于 2020-01-06 08:41:34
问题 I have a project that uses clickonce to generate the setup.exe. During the run time my program create some extra files like "Log" and "Attachments" inside the User Folder. However, those folders are not removed when I perform an uninstall of the clickonce application from the ARP. These remaining files are interfering the next install. I know that click once does not support for adding custom action to install or uninstall. I am wondering if is there is a way that I can remove those extra

How to avoid security warning due to Machine Access on ClickOnce app install?

夙愿已清 提交于 2020-01-06 08:11:06
问题 My enterprise intranet-only ClickOnce app started recently showing the following warnings. My Windows app of course installs on the user's machine. Does this mean there is no way to avoid the red-X "Machine Access" warning shown below? Or is there a more limiting configuration I might put in place so that I don't need "Machine Access"? Is there any way to ensure my users don't get the Security Warning on install? Google searches that I can think of focus on the first "green check" warning,

ClickOnce: How do I pass a querystring value to my app *through the installer*?

人盡茶涼 提交于 2020-01-06 03:29:25
问题 My company currently builds separate MSI's for all of our clients, even though the app is 100% the same across the board (with a single exception, an ID in the app.config). I would like to show them that we can publish in once place with ClickOnce, and simply add a query string parameter for each client's installer. Example: http://mysite.com/setup.exe?ID=1234-56-7890 The issue that I'm having is that the above ("ID=1234...") is not being passed along to the "myapplication.application". What

Deploying a ClickOnce application to multiple servers

丶灬走出姿态 提交于 2020-01-06 03:24:06
问题 We're looking at using ClickOnce deployment as a means of distributing our application. However, due to problems with bandwidth, we would need to deploy the application to multiple servers on the network rather than just one. I work for a bank and am wanting to roll out a WPF client to all of our branches, but the branch network is too slow to have the application check a central server each day for updates, although we do want it to check each time the application is run. Each branch has

Deploying a ClickOnce application to multiple servers

梦想与她 提交于 2020-01-06 03:24:05
问题 We're looking at using ClickOnce deployment as a means of distributing our application. However, due to problems with bandwidth, we would need to deploy the application to multiple servers on the network rather than just one. I work for a bank and am wanting to roll out a WPF client to all of our branches, but the branch network is too slow to have the application check a central server each day for updates, although we do want it to check each time the application is run. Each branch has