question

MrMicro-2106 avatar image
0 Votes"
MrMicro-2106 asked DanielZhang-MSFT edited

Click Once Deployment Multiple Users on Same PC C# WPF

Hi,

I am attempting to deploy a C# WPF program using Click Once.

On every PC so far this has worked fine - the URL the install is located at is a shared UNC path.

However I have come accross a PC that is shared by 3 users each with their own login. In this case the program instals and runs fine for 'User 1' but when I then log in as 'User 2' to install it appears to instal - but then does nothing. I have configured it to place a shortcut on the desktop, but this is not there. There a shortcut placed in Start menu though (unless this was created by the install for 'User 1'?), but when using this nothing happens.

If I copy the flat .exe file to each user on this PC it runs perfectly.

Can someone give me some pointers of where to look to get click once working - what have I missed? Where should I be looking?

Thanks,

M :-)

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

1 Answer

DanielZhang-MSFT avatar image
0 Votes"
DanielZhang-MSFT answered DanielZhang-MSFT edited

Hi MrMicro-2106,
Clickonce is designed to install applications for a single user without administrative rights.
You will need to create an MSI installer to distribute the application to multiple users on the same computer.
And here is a similar thread you can refer to.
Best Regards,
Daniel Zhang


If the response is helpful, please click "Accept Answer" and upvote it.

Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


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.