Indigo Rose Software

Go Back   Indigo Rose Software Forums > Setup Factory 8.0 > Setup Factory 8.0 Suggestions

Reply
 
Thread Tools Display Modes
  #1  
Old 12-17-2008
SetupJuggler SetupJuggler is offline
Indigo Rose Customer
 
Join Date: Nov 2008
Location: Göttingen, Germany
Posts: 62
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
File Type: zip BugShellDeleteShortcut.zip (10.2 KB, 4 views)
Reply With Quote
  #2  
Old 03-02-2009
Darryl's Avatar
Darryl Darryl is offline
Indigo Rose Staff Member
 
Join Date: Jul 2001
Location: Indigo Rose Software
Posts: 1,602
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: AMS70 | SUF80 | TU30 | VP30 |MSIFACT |DeltaMAX
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


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


All times are GMT -6. The time now is 03:04 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Copyright © 2000 - 2009 Indigo Rose Corporation. All rights reserved.
Indigo Rose Software