The Sandbox Thread

4 posts

Forum Read Only

This forum has been made read only by the site admins. No new threads or comments can be added.

ClickOnce Bootstrapper fails with alternative browsers - workaround

Back to Forum: The Sandbox
  • User profile image
    Sven Groot

    The ClickOnce bootstrapper has a flaw: it will launch the URL to your deployment manifest (the .application file) in the default browser, but unfortunately Internet Explorer seems to be the only browser that can handle these files correctly. This means that the bootstrapper won't work if you use another browser, such as Mozilla Firefox or Opera, as default browser, and your application won't install. This problem only applies when the bootstrapper is used with ClickOnce installations from the web.
    More details regarding this problem can be found here: http://channel9.msdn.com/ShowPost.aspx?PostID=138273

    This application is a workaround to this problem. It uses the original bootstrapper, but instructs it not to launch the .application file, but instead a simple batch file that will launch ClickOnce directly, bypassing the browser and thus avoiding the problem.

    In order to avoid having to distribute multiple files (the bootstrapper itself and the batch file), these files are packed in a wrapper executable that extracts them both to the temp folder, runs the setup, and removes them both when they are finished.

    Included is a readme.txt file with instructions on how to use the workaround.

  • User profile image
    alanwo

    Great but didn't work in windows 98 and ME.

  • User profile image
    littleguru

    alanwo wrote:
    Great but didn't work in windows 98 and ME.


    You know that even MS' support for both OS has finished...

  • User profile image
    Sven Groot

    Actually I think I did test it in Win98, not very thorough though.

Conversation locked

This conversation has been locked by the site admins. No new comments can be made.