|
-
Dec 4th, 2009, 08:32 AM
#1
Thread Starter
Member
[RESOLVED] Setup deployment and Publish
Hello, I just build my application, and I want to make installation file and share it through network.
I have managed with publish.
My issue is that I cannot set default Installation path (C:\Program files\....)
I managed it with setup and deployment, but then I cannot publish my next versions of application, for automatics updates.
Any ideas how to do both?
-
Dec 4th, 2009, 08:48 AM
#2
Re: Setup deployment and Publish
Why exactly do you need to be able to specify the installation path? Is there really a reason to do that, or are you just doing it because, historically, that's what's been done? Noone should be installing outside Program Files anyway.
The reason that ClickOnce is able to provide functionality like automatic updates is exactly because it restricts things like where the application is installed. If you want automatic updates without using ClickOnce you'll have to build your own mechanism to do it.
-
Dec 4th, 2009, 09:47 AM
#3
Thread Starter
Member
Re: Setup deployment and Publish
My basic thing is that I want to automatically start with windows startup.
In the click once case I can't find the file to choose for startup
-
Dec 4th, 2009, 09:55 AM
#4
Re: Setup deployment and Publish
 Originally Posted by manin
My basic thing is that I want to automatically start with windows startup.
In the click once case I can't find the file to choose for startup
Right, well that's a different issue. For that you DON'T want to SET the DEFAULT installation path; you want to GET the ACTUAL installation path. That is indeed something you can't do with ClickOnce. I'm not of all the technical reasons for which they did things the way they did with ClickOnce but that is certainly one of the things you can't do. ClickOnce apps are installed in the ClickOnce cache so I don't think they have the same file path every time they are run, meaning that you cannot create traditional shortcuts. You should find that the user can copy a desktop shortcut into their Startup folder manually, if that's enough.
Last edited by jmcilhinney; Dec 4th, 2009 at 10:44 AM.
Reason: Added a rather important missing DON'T
-
Dec 4th, 2009, 10:32 AM
#5
Thread Starter
Member
Re: Setup deployment and Publish
Last edited by manin; Dec 4th, 2009 at 10:39 AM.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|