Announcement

Collapse
No announcement yet.

Shortcut to a Web site

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Shortcut to a Web site

    Hi Mark,

    I'm having trouble making a shortcut that I've placed on the desktop take you to a web site. When I try to enter a url into the target path it gives me an error saying not a valid target. How can I go about doing this?

    Thank you

  • #2
    Re: Shortcut to a Web site

    Hi,
    What you could do is assign the URL to a variable and then use that variable as the Target File and Working Directory. The only problem is assigning the value to the variable. What I did was make a Registry variable whose Default value was: http://www.indigorose.com. I set it to look for:
    Main Key: HKEY_CLASSES_ROOT
    Sub Key: "___________ "
    Value Name: "___________ "
    Basically it's looking for a Registry entry that won't exist, so its value will always be its default.
    This is not the prettiest work around but it should give you the functionality that you want.

    mark.
    MSI Factory The Next Generation Intelligent Setup Builder

    Comment


    • #3
      Re: Shortcut to a Web site

      Hi Mark,

      I ended up making an html file that has a redirect script in it,installed that with the shortcuts, and directed the shortcuts to it. Unfortunately, its not a direct link but I think it kind of does what I need it to. Thanks for your reply.

      Comment


      • #4
        Re: Shortcut to a Web site

        Mark,

        Your solution doesn't work on Win95 OSR1 (please verify). Are there any plans to add this to a 5.0 upgrade?

        Comment


        • #5
          Re: Shortcut to a Web site

          Hi!
          May be I don't understand something evident, but why not simply to create this shortcut on YOUR desktop (or in the Favorites folder), include respective .url to the list of installed files and define the %Desktop% as destination dir ?
          Regards,
          Gennady



          [This message has been edited by gena (edited 02-04-2001).]

          Comment


          • #6
            Re: Shortcut to a Web site

            Hi tfiner,
            I'm not sure what the problem with my method is? What problem are you having on WIN 95 machines? Is the problem that the shortcut is not working, or that my Setup Factory work around is not working?

            mark.
            MSI Factory The Next Generation Intelligent Setup Builder

            Comment


            • #7
              Re: Shortcut to a Web site

              Here is the internal CODE of a .url file:
              Code:
              [DEFAULT]
              BASEURL=http://www.indegorose.com/
              
              [InternetShortcut]
              URL=http://www.indegorose.com/
              -Donald

              Comment

              Working...
              X