question

PterArd-6514 avatar image
0 Votes"
PterArd-6514 asked MiaWu-MSFT edited

ClickOnce Update / StartMenuCreation / Destop Shortcut creation problem

Hi,
My problem is that since a while running my ClickOnce program on the development PC
- Auto Update does not work
- Desktop Shortcut not created
- Start Menu Item not created

Running on other PC-s: everything works fine.

What can cause this?
(Program Reinstall & deletion of the App folder did not help)

Thanks,
Peter



windows-forms
· 5
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

@PterArd-6514, Since the problem is only occur in the development pc, I want to confirm if the development PC has the same environment with other PCs. If not, maybe it is the environment problem. If they are the same, I suggest that you can try the following steps in the link to check if it works now: clickonce-update-of-visual-studio-not-working


0 Votes 0 ·

The difference in the environment is that that's the development PC, where Visual Studio and the repository is to be found. The link you provided is not relevant hence the update is generally working except the development PC. And there is not only the update what's not working but the desktop / start menu shortcut creations as well.

0 Votes 0 ·

Hi PterArdf, are all the computers 32-bit/64-bit or there is a difference? Do you have the Publisher Name and Product Name filled in in the Options dialog that comes up when you click Options in the publish tab for the project properties?

For the update issue, I find some similar issues, hope they will be helpful:
1. Automatic Updates with ClickOnce not working on all clients
2. ClickOnce deployment does not automatically update Application


0 Votes 0 ·

Hi,
are all the computers 32-bit/64-bit or there is a difference? - yes, x64
Do you have the Publisher Name and Product Name filled in in the Options dialog that comes up when you click Options in the publish tab for the project properties - yes
Links: Did not help

0 Votes 0 ·

Hi PterArd, are the files actually installed in c:\Users\username\AppData\Local\Apps\2.0\ ? Can you find the folder with the actual exe in it? If so, can you run it? can you install it by calling the .application file directly instead of setup.exe? By the way, what's the Visual Studio version do you use?

0 Votes 0 ·

0 Answers