Results 1 to 8 of 8

Thread: [RESOLVED] ClickOnce Installer

  1. #1

    Thread Starter
    Super Moderator Shaggy Hiker's Avatar
    Join Date
    Aug 2002
    Location
    Idaho
    Posts
    40,104

    Resolved [RESOLVED] ClickOnce Installer

    I have a ClickOnce app that has been working fine for a couple months, until a day or two back some internal politics borked the server. The result of this was that the path for ClickOnce during install changed just slightly at one intermediate level. It used to have /is/ in the path, and the is has changed to something else. I changed everything I could find, including recreating the whole target directory in IIS on the server. However, when I publish, though the link is correct, installation is failing. The log shows that, after checking and installing some prerequisites, the installation is attempting to go back to that /is/ path to find the app for installation.

    Can anybody suggest where that invalid path is located? I have gone through every property I can find in Project|Properties, and they are correct. I have looked in App.config, and that is correct. Where else should I be looking?
    My usual boring signature: Nothing

  2. #2
    PowerPoster techgnome's Avatar
    Join Date
    May 2002
    Posts
    34,687

    Re: ClickOnce Installer

    I'm a little fuzzy on the details, but I think it's part of the Manifest file that signed during the publish process... at least that's the case here. When ever we move to one of the many environments we have here, the app has to be re-published with a new manifest to allow it to work on the new server.

    -tg
    * I don't respond to private (PM) requests for help. It's not conducive to the general learning of others.*
    * I also don't respond to friend requests. Save a few bits and don't bother. I'll just end up rejecting anyways.*
    * How to get EFFECTIVE help: The Hitchhiker's Guide to Getting Help at VBF - Removing eels from your hovercraft *
    * How to Use Parameters * Create Disconnected ADO Recordset Clones * Set your VB6 ActiveX Compatibility * Get rid of those pesky VB Line Numbers * I swear I saved my data, where'd it run off to??? *

  3. #3

    Thread Starter
    Super Moderator Shaggy Hiker's Avatar
    Join Date
    Aug 2002
    Location
    Idaho
    Posts
    40,104

    Re: ClickOnce Installer

    What do you have to do to force a new manifest?
    My usual boring signature: Nothing

  4. #4
    PowerPoster techgnome's Avatar
    Join Date
    May 2002
    Posts
    34,687

    Re: ClickOnce Installer

    And that's where I'm a little fuzzy on the details... we've got a special app that is a bit of a black box to me that does it... All I know is that the manifest file is only good for one location. Wish I could be of more help.

    -tg
    * I don't respond to private (PM) requests for help. It's not conducive to the general learning of others.*
    * I also don't respond to friend requests. Save a few bits and don't bother. I'll just end up rejecting anyways.*
    * How to get EFFECTIVE help: The Hitchhiker's Guide to Getting Help at VBF - Removing eels from your hovercraft *
    * How to Use Parameters * Create Disconnected ADO Recordset Clones * Set your VB6 ActiveX Compatibility * Get rid of those pesky VB Line Numbers * I swear I saved my data, where'd it run off to??? *

  5. #5

    Thread Starter
    Super Moderator Shaggy Hiker's Avatar
    Join Date
    Aug 2002
    Location
    Idaho
    Posts
    40,104

    Re: ClickOnce Installer

    Your suggestion certainly gave me a point to start looking. Unfortunately, I looked in detail, and my manifest is pointing to the right URL. That doesn't appear to be the solution in this case. In fact, it looks like I have already crossed that bridge. I do have one idea that is so dumb I'm not going to mention it until I have tried it...quietly...in a secluded place...alone. My one positive note about the idea is the Holmes principle: Once you have tried everything reasonable, whatever is left, no matter how unreasonable, has to be the answer. Results on Tuesday.

    If anybody has any other suggestions, I am still open to ideas.
    My usual boring signature: Nothing

  6. #6

    Thread Starter
    Super Moderator Shaggy Hiker's Avatar
    Join Date
    Aug 2002
    Location
    Idaho
    Posts
    40,104

    Re: [RESOLVED] ClickOnce Installer

    The solution proved to be kind of odd. I removed all the prerequisites, published, put back all the prerequisites, and published again. That solved it. One of the prerequisites was holding a reference to the old server, though I'm still not sure where.
    My usual boring signature: Nothing

  7. #7
    PowerPoster techgnome's Avatar
    Join Date
    May 2002
    Posts
    34,687

    Re: [RESOLVED] ClickOnce Installer

    huh.... well, glad you got it solved.

    -tg
    * I don't respond to private (PM) requests for help. It's not conducive to the general learning of others.*
    * I also don't respond to friend requests. Save a few bits and don't bother. I'll just end up rejecting anyways.*
    * How to get EFFECTIVE help: The Hitchhiker's Guide to Getting Help at VBF - Removing eels from your hovercraft *
    * How to Use Parameters * Create Disconnected ADO Recordset Clones * Set your VB6 ActiveX Compatibility * Get rid of those pesky VB Line Numbers * I swear I saved my data, where'd it run off to??? *

  8. #8

    Thread Starter
    Super Moderator Shaggy Hiker's Avatar
    Join Date
    Aug 2002
    Location
    Idaho
    Posts
    40,104

    Re: [RESOLVED] ClickOnce Installer

    I suspect one prerequisite in particular, but only because I don't suspect the others, which is mighty slim evidence.
    My usual boring signature: Nothing

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