Click Once and file associations
-
So I have an app which I am deploying internally using ClickOnce (full trust etc) I have set the file associations in the publish options dialog on the publish tab but when I come to publish then install it the file associations don't do anything - when I was testing it I had manually set the file associations to notepad - which is how they remain. Windows 7 helpfully doesn't provide a way to disassociate file extensions but even so - given I have told the clickonce deployment to associate file extensions I would like it not to ignore me. Anybody any have pointers? I have been googling this all afternoon.
-
So I have an app which I am deploying internally using ClickOnce (full trust etc) I have set the file associations in the publish options dialog on the publish tab but when I come to publish then install it the file associations don't do anything - when I was testing it I had manually set the file associations to notepad - which is how they remain. Windows 7 helpfully doesn't provide a way to disassociate file extensions but even so - given I have told the clickonce deployment to associate file extensions I would like it not to ignore me. Anybody any have pointers? I have been googling this all afternoon.
Hmm, it appears it won't overwrite previously set file associations
-
So I have an app which I am deploying internally using ClickOnce (full trust etc) I have set the file associations in the publish options dialog on the publish tab but when I come to publish then install it the file associations don't do anything - when I was testing it I had manually set the file associations to notepad - which is how they remain. Windows 7 helpfully doesn't provide a way to disassociate file extensions but even so - given I have told the clickonce deployment to associate file extensions I would like it not to ignore me. Anybody any have pointers? I have been googling this all afternoon.
RugbyLeague wrote:
using ClickOnce
Mistake #1. Don't. Use WiX, or Advanced Installer, or InstallShield, or some other dedicated packaging tool and make a proper installation. You'll have to far more control over your setup instead of fighting with the limitations of ClickOnce.
A guide to posting questions on CodeProject[^]
Dave Kreskowiak -
RugbyLeague wrote:
using ClickOnce
Mistake #1. Don't. Use WiX, or Advanced Installer, or InstallShield, or some other dedicated packaging tool and make a proper installation. You'll have to far more control over your setup instead of fighting with the limitations of ClickOnce.
A guide to posting questions on CodeProject[^]
Dave KreskowiakCan they enable users to install without local admin rights?
-
Can they enable users to install without local admin rights?
That's not the problem. No. The only way to do that would be to make every user an Administrator. I don't know anyone today that's going to do that.
A guide to posting questions on CodeProject[^]
Dave Kreskowiak -
That's not the problem. No. The only way to do that would be to make every user an Administrator. I don't know anyone today that's going to do that.
A guide to posting questions on CodeProject[^]
Dave KreskowiakNeither do I. Hence clickonce
-
Neither do I. Hence clickonce
Like I said. That's not the problem. The problem is you need Administrators or a software deployment system to install the software. If you don't have Admins that like walking around to every machine installing software, you need a software delivery system to install it for you, like System Center Configuration Manager, or LANDesk, or something similar. BTW, when a user clicks on a ClickOnce link, the installation is run as the user, not an administrator.
A guide to posting questions on CodeProject[^]
Dave Kreskowiak -
Like I said. That's not the problem. The problem is you need Administrators or a software deployment system to install the software. If you don't have Admins that like walking around to every machine installing software, you need a software delivery system to install it for you, like System Center Configuration Manager, or LANDesk, or something similar. BTW, when a user clicks on a ClickOnce link, the installation is run as the user, not an administrator.
A guide to posting questions on CodeProject[^]
Dave KreskowiakI am not convinced we are discussing the same subject. We have SCCM but the people in charge of that tend to only use it for apps rolled out to 100s - my apps usually only target 30 to 40 users - ClickOnce is great for that.
-
I am not convinced we are discussing the same subject. We have SCCM but the people in charge of that tend to only use it for apps rolled out to 100s - my apps usually only target 30 to 40 users - ClickOnce is great for that.
RugbyLeague wrote:
I am not convinced we are discussing the same subject.
Yes, we are. The problem is that you're running into the limitations of ClickOnce. The only REAL solution to the problem is to repackage using a normal packaging tool. Then you distribute that package using SCCM.
A guide to posting questions on CodeProject[^]
Dave Kreskowiak -
RugbyLeague wrote:
I am not convinced we are discussing the same subject.
Yes, we are. The problem is that you're running into the limitations of ClickOnce. The only REAL solution to the problem is to repackage using a normal packaging tool. Then you distribute that package using SCCM.
A guide to posting questions on CodeProject[^]
Dave KreskowiakExcept IT in their infinite wisdom won't use SCCM for anything other than apps distributed to 100s. So far I have been quite happy with ClickOnce - as you say it has limitations but nothing to make it unuseable
-
Except IT in their infinite wisdom won't use SCCM for anything other than apps distributed to 100s. So far I have been quite happy with ClickOnce - as you say it has limitations but nothing to make it unuseable
Being a SCCM person where I work (and over 800 applications), I find that ridiculous. We ship everything, even down to manually installed applications on single workstations.
A guide to posting questions on CodeProject[^]
Dave Kreskowiak -
Being a SCCM person where I work (and over 800 applications), I find that ridiculous. We ship everything, even down to manually installed applications on single workstations.
A guide to posting questions on CodeProject[^]
Dave KreskowiakI can't say I am happy with it but it is what it is.