Startup shortcut running app twice with AI >= 4.9.2 - Advanced Installer Community
ewanb
Posts: 28
Joined: Mon Jun 05, 2006 1:53 pm
Location: Glasgow

Startup shortcut running app twice with AI >= 4.9.2

I have a merge module a.msm that installs a.exe and places a shortcut in the startup start menu folder.

This merge module is included in installataion package b.msi. When using AI < 4.7.1 this installer worked fine. When a user logged on a.exe started as expected.

Now updated to AI 4.9.2 and then AI 5.2.2 and when a user logs on a.exe runs twice even though there is only one copy of the shortcut.

At first I thought there might be a duplicate shortcut in the user start menu and all users start menu but there is not.

Any ideas what could be causing this?

Thanks,
Ewan
Daniela Petrescu
Posts: 30
Joined: Tue Aug 14, 2007 10:03 am

Hi,


On your machine you could have more items that could launch your process like:
- registry entries,
- shortcuts in Startup folder of the current user,
- shortcuts in Startup folder of all users.

If the shortcut is placed in both ALL USERS and CURRENT USER Startup folder then the application will be launched twice at logon. The shortcut will be visible only once in the Start Menu.


Regards,
Daniela

_________________
Daniela Petrescu
Advanced Installer Team
http://www.advancedinstaller.com
Last edited by Daniela Petrescu on Wed Sep 19, 2007 1:48 pm, edited 1 time in total.
ewanb
Posts: 28
Joined: Mon Jun 05, 2006 1:53 pm
Location: Glasgow

On your machine you could have more items that could launch your process like:
- registry entries,
- shortcuts in Startup folder of the current user,
- shortcuts in Startup folder of all users.
There shouldn't be any registry entries unless AI is creating some I'm not aware of. Which entries should I be checking for so I can rule that out?
If the shortcut is placed in both ALL USER and CURRENT USER Startup folder then the application will be launched twice at logon.
As I said in my first message:
At first I thought there might be a duplicate shortcut in the user start menu and all users start menu but there is not.
I'd like to reiterate that this worked fine with earlier versions of AI so I'm hoping there should be an obvious solution.

Cheers,
Ewan
Daniela Petrescu
Posts: 30
Joined: Tue Aug 14, 2007 10:03 am

Hi,


Please send us the aip file and the merge module (if it doesn't contain confidential information) to support at advancedinstaller dot com so we can investigate the problem.

Regards,
Daniela

_________________
Daniela Petrescu
Advanced Installer Team
http://www.advancedinstaller.com

Return to “Common Problems”