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!

ur
Posts: 4
Joined: Mon Oct 09, 2006 11:34 pm

Shortcuts Not Creating

Let me describe the process we use for changing our monthly installer, then I will describe the problem.

To update the installer we:
1. Change the product name (e.g. from Name 2-2007 to Name 3-2007)
2. Increment the product version (e.g. from 1.0.3 to 1.0.4)
3. Change the name of the contents folder and the file in it
4. Update two shortcuts.

The benefit of this is it has enabled side-by-side installations that use the same (infrequently updated) executable, but with different contents each month. (Note: Allow side by side installed is selected under versioning).

This process has worked fine twice (Nov->Dec 2006, Dec 2006-> Feb 2007).

However, this month the new installation failed to create the start menu and desktop shortcuts. Like the product name, these have different names each month, but they are located in the same start menu folder.

To further add to the confusion the shortcuts are created fine if the current installer is run _without_ any previous version, however it is important that users can install this month's version with the previous version still available.

In short, when an install from a previous month is present then the start menu and desktop shortcuts do not get created.

Finally, I experimented further by changing the start menu folder into which the shortcut is created. Interestingly enough, while the folder was created, the shortcut was not created. (It should be noted that the path still shared the same root... i.e. it went from StartMenu\Programs\A\B\shortcut.lnk to StartMenu\Programs\A\C\shortcut.lnk)


We are using v4.7.2 Professional.
For the previous month installer we used an older version, v4.7.1 I believe.

Thanks in advance.

Craig
gigi
Posts: 2103
Joined: Tue Apr 11, 2006 9:55 am
Contact: Website

Hi Craig,

In order to investigate the problem please sent all AIP files and the resulted MSI files (if not contain any confidential informations) or a small similar test case reproducing this issue to support at advancedinstaller dot com.

Regards,
Gigi
______________
Gheorghe Rada
Advanced Installer Team
http://www.advancedinstaller.com
ur
Posts: 4
Joined: Mon Oct 09, 2006 11:34 pm

Thank you for the offer gigi, but we managed to solve it.

It turns out the component that the shortcuts were associated with was having its installation disallowed. The reason for this is that the .exe file in that component is versioned, and the version number had not changed between the previous and new installers.

So, (we assume that) when the installer decided that the .exe file did not need updating, then it stopped doing anything from that component and thus the shortcuts were not installed.

By changing the version number of .exe file the problem has been resolved.

Thanks

Craig

Return to “Common Problems”