At that time you said it would be fixed in 6.4, and gave me a workaround in the meantime:
---------------------
This is a known bug in Advanced Installer and it will be fixed in a future version.
Until then, you can use a custom action to remove this folder. Here is what I used in my tests:
Code: Select all
Code: Select all
Function removeDir()
Dim pathToFolder, smallPath
Set objFS = CreateObject("Scripting.FileSystemObject")
pathToFolder = Session.Property("SHORTCUTDIR")
smallPath=Left(pathToFolder,Len(pathToFolder)-1)
If (objFS.FolderExists(smallPath)) then
objFS.DeleteFolder smallPath, true
End if
End Function
Code: Select all
(NOT Installed) AND NOT AI_STARTMENU_SH
-----------------------
This still seems to be broken in 8.4, and the workaround stopped working at some point. Using 8.4 (Enterprise) & Windows 7, the start menu shortcut is always created (whether the custom action is defined or not).
Rex Conn
JP Software
FOLLOW US
Get the latest news in Application Packaging