Create a shortcut for the startmenu - Advanced Installer Community
brabbit14
Posts: 10
Joined: Mon Feb 17, 2014 9:44 am

Create a shortcut for the startmenu

Hello,

i want to create a msi.installer with advanced installer. I have no special requirements - i want ledigly create i simple installer.
My problem is...:

- i want to create the possibility to decide:

1. to create a desktop shortcut for the .exe
2. to create a startmenu shortcut for the APPDIR

The desktop shortcut run with the shortcuts dialog, also if the checkbox of the desktop shortcut is true, the msi installer create a shortcut, else not!
If the checkbox for the startmenu shortcut true, it show in the next dialog the startmenushortcuts.dlg - and when i select a folder, it not create a folder (shortcut to the APPDIR in the startmenu)...

Please help me and explain, how it works.

And sorry for my english,...

Greetz
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Create a shortcut for the startmenu

Hello Greetz and welcome to Advanced Installer forums,

Thank you for your interest in Advanced Installer.
- i want to create the possibility to decide:

1. to create a desktop shortcut for the .exe
2. to create a startmenu shortcut for the APPDIR
In order to achieve this you can simply add the "ShortcutsDlg" dialog to your installation project. Here are the steps to proceed:
- go to "Files and Folders" page and under "Desktop" and "Application Shortcut Folder" foldera create a shortcut to your EXE
- go to "Dialogs" page and add the "ShortcutsDlg" dialog
- build and run your project

Also, please keep in mind that the "ShortcutsDlg" dialog is available only in a "Professional" or higher project type.
If the checkbox for the startmenu shortcut true, it show in the next dialog the startmenushortcuts.dlg - and when i select a folder, it not create a folder (shortcut to the APPDIR in the startmenu)...
I've tested your scenario using version 10.9.1 of Advanced Installer, but I cannot replicate the behavior. Can you give us a detailed step by step test case or a sample project which isolate the behavior?

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
brabbit14
Posts: 10
Joined: Mon Feb 17, 2014 9:44 am

Re: Create a shortcut for the startmenu

Hello Daniel,

thank you very much for your answer.

Yes, for the desktop shortcut i have no problem. The checkbox already react, if true or not...
But for the shortcut of the Startmenu, ... - it won't be run!

For your information: i have the project type = "architect" and have add the dialog "StartMenuShortcutsDlg" under the ShortcutsDlg ("AI_STARTMENU_SH").
...
But currently the installer dont create a startmenu shortcut if the checkbox is true and i have select the Start Menu Shortcut Folder.
I think i musst join the checkbox for the startmenu with the shortcut in the "files and folders" - but WHY?! :D
I dont understand this, because for the desktop shortcut its easy and run by the first configuration...

Please Help :D

Thank you!
brabbit14
Posts: 10
Joined: Mon Feb 17, 2014 9:44 am

Re: Create a shortcut for the startmenu

Ok, sorry. For the people who have the same problem as i'm... look;!

I think it is very difficult for a easy experience:

- Change to the "Files and Folders" view
- Copy all files, what are you think to be in the start menu folder of your programm in the folder tree under "Target Computer" in: "Application Shortcut Folder".
- if you are ready, you could build a exe. or a msi and start it

After the installation you have *shortcut* in your startmenu...

Pls advanced installer:
i had this problem 3 days ago - and after that days i have now the solution. My statement is:

- the handling for the shortcut startmenu is to difficult to config my msi.
I think advanced installer can be the handling easier as now. Its my reasen and its stay about the 3 days, where i have the problem with the startmenu
- in the forum of advanced installer or somewhere arent a tutorial about this handling. :(

Thank you
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Create a shortcut for the startmenu

Hello,

I'm afraid I don't fully understand if you managed or not to successfully implement your installation scenario? If not, can you please send us the .AIP (project file) and a verbose log of the installation to support at advancedinstaller dot com so we can investigate them?

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”