Announcement

Collapse
No announcement yet.

Shortcut in %SCFolderPath%

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Shortcut in %SCFolderPath%

    Would like my "Uninstall %ProductName%" located at:
    "%SCFolderPath%\Admin\Uninstall %ProductName%"

    instead of "%SCFolderPath%\Uninstall %ProductName%"

    Reasoning: Keep end-user from accidental mouse click on wrong shortcut.

    Thanks for all feedback, nt

  • #2
    Re: Shortcut in %SCFolderPath%

    In that case you will need to use a "Create Shortcut" action to create the shortcut instead of using the automated method.

    The uninstall is composed of an uninstall executable(installed to Windows directory) and an INI file("Configuration file" in Uninstall properties dialog) that is passed to it. Your action therefore may look like the following:

    Folder:
    %SCFolderPath%\Admin

    Shortcut Description:
    Uninstall %ProductName%

    Target File:
    %WinDir%\iun6002.exe

    Command Line Arguments:
    "%AppDir%\irunin.ini"

    Also remember that any shortcuts created with an action(versus automatic) also must be removed with an action(Remove Shortcut).

    Hope that helps.

    Comment

    Working...
    X