We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

ozzy
Posts: 18
Joined: Mon Apr 23, 2007 6:56 pm

command line create shortcut issue

I created a AI package with the command prompt commands. It looks fine in AI. When I create the msi. MSI creates fine. When I install the msi to test... None of the shortcuts get created.

What I found is that all the shortcuts are in one component and not the component with target.

How can I (at the command prompt) assure that the shortcut is with the component it is suppost to execute?


example
Run Winzip shortcut is with component wzip.dll instead of component winzip.exe
Winzip readme is with component wzip.dll instead of component winzip.chm
gigi
Posts: 2103
Joined: Tue Apr 11, 2006 9:55 am
Contact: Website

Hi,

This is because you create shortcuts to external file. Only shortcut to installed files are linked to the component of the target file.

So when you create a shortcut from command line specify a file included in the project as target, like this:

Code: Select all

-target "ProgramFilesFolder\WinZip\WinZip.exe"
Best Regards,
Gigi
______________
Gheorghe Rada
Advanced Installer Team
http://www.advancedinstaller.com

Return to “Common Problems”