pmclean2
Posts: 7
Joined: Wed May 12, 2010 1:39 pm

Unable to create a program shortcut

Hi,

I try to do a very simple installation where I copy template files in the application folder and create a shortcut to another application. I added a dialog to ask user to select the folder where this other application was installed. If I keep the defaullt folder location the install works but the shortcut is not created. if I select another location then same thing if I ran the install outside the Advanced Installer but when I ran the install with the log I saw the error "The directory entry does not exist in the Directory table". Can you take a look on my aip file?

Thanks
Attachments
Simix_Setup.aip
(17.26 KiB) Downloaded 335 times
GabrielBarbu
Posts: 2146
Joined: Thu Jul 09, 2009 11:24 am
Contact: Website

Re: Unable to create a program shortcut

Hello,

There are two issues with your project:
- your shortcut's target is currently set to G2DIR\g2.exe but it should be [G2DIR]\g2.exe since G2DIR is a property and the target field is a formatted field
- you need to create a property based folder called G2DIR in your project's folder structure because G2DIR contains a path later used by the installed to create the shortcut.

Best regards,
Gabriel
Gabriel Barbu
Advanced Installer Team
http://www.advancedinstaller.com/

Return to “Common Problems”