Creates a new file shortcut.

Installer software, free windows MSI creation tool
Home | Contact | Site Map |
Download Features Java Licensing Purchase Testimonials Support Forums FAQs
USER GUIDE

New Shortcut Command Option

Command Syntax:

/NewShortcut  -name <shortcut_name> 
              -dir <folder_path> 
              -target <file_path>
              [-advertised] 
              [-wkdir <folder_path>]
              [-arg <arguments>]
              [-desc <description>] 
              [-icon <file_path>] 
              [-index <icon_index>] 
              [-mode <normal|minimized|maximized>]

Creates a new file shortcut.

Parameters

  • -name <shortcut_name> - The name of the shortcut
  • -dir <folder_path> - The directory in which the shortcut file is created
  • -target <file_path> - The file that is the shortcut target. It can be a file from the package or an external one.
  • [-advertised] - Specify whether the shortcut will be advertised or not.
  • [-wkdir <folder_path>] - The Working directory of the shortcut.
  • [-arg <arguments>] - The shortcut arguments.
  • [-desc <description>] - The description of the shortcut.
  • [-icon <file_path>] - The path of the shortcut icon.
  • [-index <icon_index>] - The icon index for the shortcut. It must be a non-negative number.
  • [-mode <normal|minimized|maximized>] - The Show command for the application window.

Example:

AdvancedInstaller.com /edit MyProject.aip /NewShortcut -name MyShortcut -dir DesktopFolder 
    -target APPDIR\MyApplication.exe -arg /AppArg -icon C:\ShIcon.ico
© 2002 - 2008 Caphyon Ltd. Trademarks belong to their respective owners. All rights reserved.