rob.a.dunbar
Posts: 19
Joined: Thu Jan 30, 2014 2:56 am

Not removing shortcuts when side-by-side installed

Hi,

I have two installers, one for 32bit and another for 64bit. Individually they both work fine, but if I have both installed then whenever I uninstall the x86 it doesn't remove the short cuts. (Desktop and Start Menu) but the x64 does.

They have a different product name based, e.g. MyProduct (x86) and MyProduct (x64). But the shortcut folder goes to the same place, i.e. MyComp\MyProduct. The shortcuts are based on the the ProductName.

Any tips on where to look?

Thanks,
Rob
rob.a.dunbar
Posts: 19
Joined: Thu Jan 30, 2014 2:56 am

Re: Not removing shortcuts when side-by-side installed

So I installed the x86 then the x64. Uninstalled the x86 (shortcuts not deleted)
Installed x64 and then x86. Uninstalled x86, shortcuts removed, but then the x64 didn't delete its short cuts.

*I think at some point I copied one version of the aip onto the other.
rob.a.dunbar
Posts: 19
Joined: Thu Jan 30, 2014 2:56 am

Re: Not removing shortcuts when side-by-side installed

I have sent an email to support with my aip files.
Eusebiu
Posts: 4971
Joined: Wed Nov 14, 2012 2:04 pm

Re: Not removing shortcuts when side-by-side installed

Hi Rob,

I looked over your AIP files and I found that the components (from the Organization page) that contains your shortcuts have the same GUID in both projects. This means that those components will be shared between the two packages and when one of them is uninstalled, the shared components are not removed because the other package needs them. To find the components related to your shortcuts, you can go in the Files and Folders page, select one shortcut and press the "F8" keyboard button.

Please keep in mind that in order to "duplicate" one project you can choose the "Save As Template" option which will create a project template starting from the current project in order to reuse it in building a different package. New UpgradeCode, ProductCode and all the components GUIDs will be generated when the template will be used.

After saving your project as a template you can launch the Advanced Installer application, go in the "Custom Templates" tab and use the template you saved.

Let us know if you have any other question.

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
rob.a.dunbar
Posts: 19
Joined: Thu Jan 30, 2014 2:56 am

Re: Not removing shortcuts when side-by-side installed

Great that worked thanks!

I simply created the Template, and then created a new project from that template! too easy :D
Eusebiu
Posts: 4971
Joined: Wed Nov 14, 2012 2:04 pm

Re: Not removing shortcuts when side-by-side installed

You're welcome. I'm glad you got this working.

Just let us know anytime you need help.

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”