Indigo Rose Software

Professional Software Development Tools

 
Results 1 to 2 of 2
  1. #1
    Join Date
    Nov 2008
    Location
    Göttingen, Germany
    Posts
    77

    Huh? DeleteShortcut does not delete created shell folder

    Hi,
    using SU 8.1.1006.0

    creating a shortcut in On Post Install:
    Code:
    -- Add Shortcut to "Startmenu\Bug ShellDeleteShortcut\ToBeDeleted"
    local strFolder, strDesc, strTarget
    -- Startmenu\Bug ShellDeleteShortcut\ToBeDeleted
    strFolder        = SessionVar.Expand("%StartProgramsFolderCommon%\\%AppShortcutFolderName%\\ToBeDeleted");
    strDesc          = "TheDesc";
    strTarget        = SessionVar.Expand("%SystemFolder%\\notepad.exe");
    Shell.CreateShortcut(strFolder, strDesc, strTarget);
    Delete the shortcut in On Post Uninstall:
    Code:
    -- delete shortcut
    local strFolder, strDesc, strTarget
    strFolder        = SessionVar.Expand("%StartProgramsFolderCommon%\\%AppShortcutFolderName%\\ToBeDeleted");
    strDesc          = "TheDesc";
    Shell.DeleteShortcut(strFolder, strDesc);
    The shortcut is deleted, but the folder path "Startmenu\Bug ShellDeleteShortcut\ToBeDeleted" ist still avail. I also tried UninstallData.AddItem(UNINDATA_SHORTCUTS, tItemData) with the same result.

    Do I have to delete the folder path manually by myself? In my opinion a setup should uninstall what it has installed. Only if I set a special script checker "leave it", it should remain installed on the computer.

    Yes, I also noticed this IR stuff posts http://www.indigorose.com/forums/sho...DeleteShortcut and http://www.indigorose.com/forums/showthread.php?t=4997

    Any idea would be appreciated.

    Best regards,
    Udo
    Attached Files

  2. #2
    Join Date
    Jul 2001
    Location
    Indigo Rose Software
    Posts
    1,834
    Yes, this functionality is by design, however I've submitted your suggestion to be considered, thank you.

    REF: 18349
    Darryl
    Indigo Rose Corporation

    Product Guides: AMS80 | SUF9 | TU30 | VP30 |MSIFACT |DeltaMAX

Similar Threads

  1. multiple locations.
    By wasim21k in forum AutoPlay Media Studio 6.0
    Replies: 15
    Last Post: 04-04-2007, 09:43 AM
  2. Delete all files in folder using wildcard
    By SGW in forum AutoPlay Media Studio 6.0
    Replies: 28
    Last Post: 12-06-2005, 07:52 AM
  3. cookies
    By goukilord10 in forum AutoPlay Media Studio 5.0
    Replies: 6
    Last Post: 05-20-2005, 04:08 PM
  4. How to verify, delete folder and files in temp folder..
    By lepinski in forum AutoPlay Media Studio 5.0
    Replies: 1
    Last Post: 08-19-2004, 08:24 PM
  5. INFO: Finding Shell Folders in the Registry
    By Support in forum Setup Factory 6.0 Knowledge Base
    Replies: 0
    Last Post: 10-10-2002, 03:52 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts