Results 1 to 5 of 5

Thread: [RESOLVED] Setup deployment and Publish

  1. #1

    Thread Starter
    Member
    Join Date
    Feb 2008
    Posts
    57

    Resolved [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?

  2. #2
    Super Moderator jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    111,221

    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.
    Why is my data not saved to my database? | MSDN Data Walkthroughs
    VBForums Database Development FAQ
    My CodeBank Submissions: VB | C#
    My Blog: Data Among Multiple Forms (3 parts)
    Beginner Tutorials: VB | C# | SQL

  3. #3

    Thread Starter
    Member
    Join Date
    Feb 2008
    Posts
    57

    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

  4. #4
    Super Moderator jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    111,221

    Re: Setup deployment and Publish

    Quote Originally Posted by manin View Post
    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
    Why is my data not saved to my database? | MSDN Data Walkthroughs
    VBForums Database Development FAQ
    My CodeBank Submissions: VB | C#
    My Blog: Data Among Multiple Forms (3 parts)
    Beginner Tutorials: VB | C# | SQL

  5. #5

    Thread Starter
    Member
    Join Date
    Feb 2008
    Posts
    57

    Re: Setup deployment and Publish

    Thanks
    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
  •  



Click Here to Expand Forum to Full Width