cancel
Showing results for 
Search instead for 
Did you mean: 

Create, Configure, and Install a Web Shortcut with an Installer on Windows

Create, Configure, and Install a Web Shortcut with an Installer on Windows

Summary

This article discusses how to create a web shortcut, configure the web shortcut based on user input, then install that web shortcut on Windows.

Synopsis

This article discusses how to create a web shortcut, configure the web shortcut based on user input, then install that web shortcut on Windows.

Discussion

Follow these steps:
  1. Manually create a web shortcut on the user's Desktop on Windows. For example, on Windows 7, this is done by right-clicking the user's Desktop, selecting the New > Shortcut option, entering the web application URL, clicking the Next button, entering the Windows web shortcut name, then clicking the Finish button.
  2. In a text editor, manually edit the web shortcut (.url) file by changing the URL field to URL=$PROTOCOL$://$URL$/ where $PROTOCOL$ and $URL$ are going to be InstallAnywhere variables set by user input.
  3. Save the .url file.
  4. Create or open an InstallAnywhere project.
  5. Add the web shortcut (.url) file in the Install Sequence using the Add Files button.
  6. Add a Get User Input - Advanced Panel in the Pre-Install Sequence.
  7. Configure the Panel to prompt for and set the InstallAnywhere variables $PROTOCOL$ and $URL$.
  8. Add a Modify Text File Action in the Install Sequence.
  9. Configure the Action to substitute the InstallAnywhere variables in the .url file.
  10. Build the project.
  11. Run the installer.

Additional Information

For additional information, refer to the following documentation:

About Get User Input Panels

Using the Get User Input - Advanced Panel

Get User Input - Advanced Panel

Modify Text File - Single File Action?

Was this article helpful? Yes No
No ratings