Wrong shortcut location
Wrong shortcut location
Hello,
in my MSI code I have following shortcut commands:
Create Shortcut $SHORTCUTFOLDER$\QSuper-Konfiguration to $TARGETDIR$\QSuper.exe
Create Shortcut $SHORTCUTFOLDER$\QSuper to $TARGETDIR$\QSuper.exe
Create Shortcut $DESKTOPDIR$\QSuper to $TARGETDIR$\QSuper.exe, Pin to Start Menu, Pin to Taskbar
The first one QSuper-Konfiguration has an command line parameter
The problem is:
The first shortcut is twice in the Start menu. One is direct in the Start menu, and then again in the Folder of the Program with the Second shortcut and the uninstall shortcut.
Why is this shortcut twice?
regards
Hans
in my MSI code I have following shortcut commands:
Create Shortcut $SHORTCUTFOLDER$\QSuper-Konfiguration to $TARGETDIR$\QSuper.exe
Create Shortcut $SHORTCUTFOLDER$\QSuper to $TARGETDIR$\QSuper.exe
Create Shortcut $DESKTOPDIR$\QSuper to $TARGETDIR$\QSuper.exe, Pin to Start Menu, Pin to Taskbar
The first one QSuper-Konfiguration has an command line parameter
The problem is:
The first shortcut is twice in the Start menu. One is direct in the Start menu, and then again in the Folder of the Program with the Second shortcut and the uninstall shortcut.
Why is this shortcut twice?
regards
Hans
-
FrancescoT
- Site Admin
- Posts: 5361
- Joined: Sun Aug 22, 2010 4:28 am
Re: Wrong shortcut location
Dear Hans,
for what I see, actually you are creating 3 shortcuts.
So just remove the unwanted one from MSI code or using the ShortCuts page in Design view.
Hope this helps you.
Regards
for what I see, actually you are creating 3 shortcuts.
With these as above, the shortcut that have "QSuper" description is used twice:Create Shortcut $SHORTCUTFOLDER$\QSuper-Konfiguration to $TARGETDIR$\QSuper.exe
Create Shortcut $SHORTCUTFOLDER$\QSuper to $TARGETDIR$\QSuper.exe
Create Shortcut $DESKTOPDIR$\QSuper to $TARGETDIR$\QSuper.exe, Pin to Start Menu, Pin to Taskbar
pinned to Start Menu / Taskbar (if applicable with target OS) and to App folder menu.Create Shortcut $SHORTCUTFOLDER$\QSuper to $TARGETDIR$\QSuper.exe
Create Shortcut $DESKTOPDIR$\QSuper to $TARGETDIR$\QSuper.exe, Pin to Start Menu, Pin to Taskbar
So just remove the unwanted one from MSI code or using the ShortCuts page in Design view.
Hope this helps you.
Regards
Francesco Toscano
InstallAware Software
White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
InstallAware Software
White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
Re: Wrong shortcut location
Hello,
thank for help.
I have to correct me: All shortcuts are used twice
QSuper direct in start menu
QSuper-Konfiguration direct in Startmenu
The in the Startmenu--Program folder
QSuper
QSuper-Konfiguration
Uninstall QSuper
I want the shortcuts only in the Startmenu--Program folder! and of course also an icon on the Desktop. So for this is the thirs shortcut
But why are two shortcuts outside the Program-Folder and direct in the Start menu?
regards
Hans
thank for help.
I have to correct me: All shortcuts are used twice
QSuper direct in start menu
QSuper-Konfiguration direct in Startmenu
The in the Startmenu--Program folder
QSuper
QSuper-Konfiguration
Uninstall QSuper
I want the shortcuts only in the Startmenu--Program folder! and of course also an icon on the Desktop. So for this is the thirs shortcut
But why are two shortcuts outside the Program-Folder and direct in the Start menu?
regards
Hans
-
FrancescoT
- Site Admin
- Posts: 5361
- Joined: Sun Aug 22, 2010 4:28 am
Re: Wrong shortcut location
Dears Hans,
very probably because you have checked "Pin to Start Menu (Windows XP and higher)" control in your Create ShortCut settings.
Regards
very probably because you have checked "Pin to Start Menu (Windows XP and higher)" control in your Create ShortCut settings.
Regards
Francesco Toscano
InstallAware Software
White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
InstallAware Software
White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
Re: Wrong shortcut location
Dear Francesco,
no I do think so, because in the first step I had no "Pin to taskbar"
and there was same behavior
no I do think so, because in the first step I had no "Pin to taskbar"
and there was same behavior
-
FrancescoT
- Site Admin
- Posts: 5361
- Joined: Sun Aug 22, 2010 4:28 am
Re: Wrong shortcut location
Dear Hans,
Can you post me your Create Shortcut commands using InstallAware ClipBoard Format?
Regards
Can you post me your Create Shortcut commands using InstallAware ClipBoard Format?
Regards
Francesco Toscano
InstallAware Software
White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
InstallAware Software
White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
Re: Wrong shortcut location
Dear Francesco,
now I have tried to delete the shortcut for the desktop. But anyhow, there is always an additional shortcut for the configuration direct in the Start menu.
Then in the Start menu--All Programs--MyProgram there is the correct Uninstall shortcut, the QMove and QMove-Konfiguration shortcut
Here is the code
~InstallAware Clipboard Data~
~Create Shortcut~
~{658FF252-D91A-4F1F-8996-7E7A8B900165}~
~$TARGETDIR$\QMove.exe~
~QMove~
~$SHORTCUTFOLDER$~
~Start QMove~
~~
~$TARGETDIR$~
~~
~|~
~0|~
~Create Shortcut~
~{22768CAA-01D8-432A-A75D-75B31E20B28C}~
~$TARGETDIR$\QMove.exe~
~QMove-Konfiguration~
~$SHORTCUTFOLDER$~
~QMove Konfiguration~
~-s~
~$TARGETDIR$~
~~
~|~
~0|~
now I have tried to delete the shortcut for the desktop. But anyhow, there is always an additional shortcut for the configuration direct in the Start menu.
Then in the Start menu--All Programs--MyProgram there is the correct Uninstall shortcut, the QMove and QMove-Konfiguration shortcut
Here is the code
~InstallAware Clipboard Data~
~Create Shortcut~
~{658FF252-D91A-4F1F-8996-7E7A8B900165}~
~$TARGETDIR$\QMove.exe~
~QMove~
~$SHORTCUTFOLDER$~
~Start QMove~
~~
~$TARGETDIR$~
~~
~|~
~0|~
~Create Shortcut~
~{22768CAA-01D8-432A-A75D-75B31E20B28C}~
~$TARGETDIR$\QMove.exe~
~QMove-Konfiguration~
~$SHORTCUTFOLDER$~
~QMove Konfiguration~
~-s~
~$TARGETDIR$~
~~
~|~
~0|~
-
FrancescoT
- Site Admin
- Posts: 5361
- Joined: Sun Aug 22, 2010 4:28 am
Re: Wrong shortcut location
Dear Hans,
seems there is an error with the IA Clip Board Data you pasted, I am unable to use it.
Could you try again placing it inside a a "CODE" tag (available from post reply menu)?
Regards.
seems there is an error with the IA Clip Board Data you pasted, I am unable to use it.
Could you try again placing it inside a a "CODE" tag (available from post reply menu)?
Regards.
Francesco Toscano
InstallAware Software
White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
InstallAware Software
White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
Re: Wrong shortcut location
Dear Francesco
sorry for the delay, but I had problems with PC and also no time to go inside again.
Here the clipboard data of the shortcuts
~InstallAware Clipboard Data~
~Create Shortcut~
~{09F04823-6B95-4BF3-8074-B2CD62C95FDA}~
~$TARGETDIR$\QMove.exe~
~QMove~
~$DESKTOPDIR$~
~Start QMove~
~~
~~
~~
~|~
~0|~
~Create Shortcut~
~{658FF252-D91A-4F1F-8996-7E7A8B900165}~
~$TARGETDIR$\QMove.exe~
~QMove~
~$SHORTCUTFOLDER$~
~Start QMove~
~~
~$TARGETDIR$~
~~
~|~
~0|~
~Create Shortcut~
~{22768CAA-01D8-432A-A75D-75B31E20B28C}~
~$TARGETDIR$\QMove.exe~
~QMove-Konfiguration~
~$SHORTCUTFOLDER$~
~QMove Konfiguration~
~-s~
~$TARGETDIR$~
~~
~|~
~0|~
regards
Hans
sorry for the delay, but I had problems with PC and also no time to go inside again.
Here the clipboard data of the shortcuts
~InstallAware Clipboard Data~
~Create Shortcut~
~{09F04823-6B95-4BF3-8074-B2CD62C95FDA}~
~$TARGETDIR$\QMove.exe~
~QMove~
~$DESKTOPDIR$~
~Start QMove~
~~
~~
~~
~|~
~0|~
~Create Shortcut~
~{658FF252-D91A-4F1F-8996-7E7A8B900165}~
~$TARGETDIR$\QMove.exe~
~QMove~
~$SHORTCUTFOLDER$~
~Start QMove~
~~
~$TARGETDIR$~
~~
~|~
~0|~
~Create Shortcut~
~{22768CAA-01D8-432A-A75D-75B31E20B28C}~
~$TARGETDIR$\QMove.exe~
~QMove-Konfiguration~
~$SHORTCUTFOLDER$~
~QMove Konfiguration~
~-s~
~$TARGETDIR$~
~~
~|~
~0|~
regards
Hans
-
FrancescoT
- Site Admin
- Posts: 5361
- Joined: Sun Aug 22, 2010 4:28 am
Re: Wrong shortcut location
Dear Hans,
I'm sorry but I'm unable to use your clipboard data (... seems corrupted).
Can you retry to post inside a "code tag" as the example below?
Alternatively are you able to reproduce your issue with a very simple project?
Regards
I'm sorry but I'm unable to use your clipboard data (... seems corrupted).
Can you retry to post inside a "code tag" as the example below?
Code: Select all
~InstallAware Clipboard Data~
~Set Variable~
~{B3A3F0FC-8EE4-4DA7-BDB0-C4C39540A5FC}~
~PRELIST~
~$PRELIST$$NEWLINE$Previous Version Uninstallation~
~Set Variable~
~{2D986CBE-D8CF-4B0F-98E3-60597C176BB5}~
~PREREQ~
~TRUE~
Regards
Francesco Toscano
InstallAware Software
White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
InstallAware Software
White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
Re: Wrong shortcut location
Hello Francesco,
What else can I do?
I make a copy from the code in InstallAware and paste it here. What can be wrong?
I will try again with the code tag.
What else can I do?
I make a copy from the code in InstallAware and paste it here. What can be wrong?
I will try again with the code tag.
Code: Select all
~InstallAware Clipboard Data~
~Create Shortcut~
~{09F04823-6B95-4BF3-8074-B2CD62C95FDA}~
~$TARGETDIR$\QMove.exe~
~QMove~
~$DESKTOPDIR$~
~Start QMove~
~~
~~
~~
~|~
~0|~
~Create Shortcut~
~{658FF252-D91A-4F1F-8996-7E7A8B900165}~
~$TARGETDIR$\QMove.exe~
~QMove~
~$SHORTCUTFOLDER$~
~Start QMove~
~~
~$TARGETDIR$~
~~
~|~
~0|~
~Create Shortcut~
~{22768CAA-01D8-432A-A75D-75B31E20B28C}~
~$TARGETDIR$\QMove.exe~
~QMove-Konfiguration~
~$SHORTCUTFOLDER$~
~QMove Konfiguration~
~-s~
~$TARGETDIR$~
~~
~|~
~0|~
-
FrancescoT
- Site Admin
- Posts: 5361
- Joined: Sun Aug 22, 2010 4:28 am
Re: Wrong shortcut location
Dear Hans,
please try if using the following Clipboard Data solves your issue.
Before to use it replace the target application I used wih the correct one you have in your project.
Let me know.
Regards
please try if using the following Clipboard Data solves your issue.
Before to use it replace the target application I used wih the correct one you have in your project.
Code: Select all
~InstallAware Clipboard Data~
~Create Shortcut~
~{D06556FF-0652-42A0-9A4B-3E4714F1D25E}~
~$TARGETDIR$\TestApp.exe~
~QMove~
~$DESKTOPDIR$~
~Start QMove~
~~
~~
~|TRUE~
~|~
~0|~
~Create Shortcut~
~{B1699A82-B146-4CBC-AE20-1D11A8B90DE3}~
~$TARGETDIR$\TestApp.exe~
~QMove-Konfiguration~
~$SHORTCUTFOLDER$~
~QMove Konfiguration~
~-s~
~$TARGETDIR$~
~|TRUE~
~|~
~0|~
~Create Shortcut~
~{8DF2CFA6-95C9-4EBF-8452-4042501232BB}~
~$TARGETDIR$\TestApp.exe~
~QMove~
~$SHORTCUTFOLDER$~
~Start QMove~
~~
~$TARGETDIR$~
~|TRUE~
~|~
~0|~
Regards
Francesco Toscano
InstallAware Software
White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
InstallAware Software
White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE

