velja
Posts: 45
Joined: Tue May 14, 2013 12:01 pm

Desktop shortcut icon points to a file on the development machine when the app is installed from appxbundle

Fri Feb 16, 2024 5:32 pm

Version 21.4. We didn't notice this behavior with earlier versions. Desktop shortcut icon points to a file on the development machine when the app is installed from .appxbundle. It is created after the first start and it displays default icon. When we try to change the icon on that shortcut it displays a warning about the path on the development machine.
image (4).png
image (4).png (132.03KiB)Viewed 2734 times

velja
Posts: 45
Joined: Tue May 14, 2013 12:01 pm

Re: Desktop shortcut icon points to a file on the development machine when the app is installed from appxbundle

Fri Feb 16, 2024 5:49 pm

I deleted and recreated the Desktop shortcut now it points at app dir but that icon file still doesn't exist.
VirtualBoxVM_478Mm8cuwa.png
VirtualBoxVM_478Mm8cuwa.png (7.76KiB)Viewed 2715 times

velja
Posts: 45
Joined: Tue May 14, 2013 12:01 pm

Re: Desktop shortcut icon points to a file on the development machine when the app is installed from appxbundle

Mon Feb 19, 2024 12:21 pm

There are more problems. Entry in the Add / Remove programs takes this shortcut name as Product Name. So the name from the Product Details and the Display Name from the Universal Windows -> Package information are ignored and the product is named same as Desktop Shortcut.
VirtualBoxVM_wB5WbEL0pn.png
VirtualBoxVM_wB5WbEL0pn.png (157.08KiB)Viewed 2174 times

Catalin
Posts: 6506
Joined: Wed Jun 13, 2018 7:49 am

Re: Desktop shortcut icon points to a file on the development machine when the app is installed from appxbundle

Wed Feb 21, 2024 4:15 pm

Hello,

I can not say for sure why this is happening.

If possible, could you please forward me the following resources:

- a copy of the AIP file

- download link for the MSIX setup

by email at support at advancedinstaller dot com so I can run some tests and further investigate this?

Best regards,
Catalin
Catalin Gheorghe - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube


Catalin
Posts: 6506
Joined: Wed Jun 13, 2018 7:49 am

Re: Desktop shortcut icon points to a file on the development machine when the app is installed from appxbundle

Fri Feb 23, 2024 6:02 pm

Hello Velja,

Thank you very much for providing the resources!

I have managed to reproduce them (with the exception of the first one).

On my machine, when I try to change, it points directly to %ProgramFiles% like in your second screenshot.

I have forwarded this to our dev team and I will followup as soon as I will have more information on this.

Thank you for your further patience!

Best regards,
Catalin
Catalin Gheorghe - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

velja
Posts: 45
Joined: Tue May 14, 2013 12:01 pm

Re: Desktop shortcut icon points to a file on the development machine when the app is installed from appxbundle

Fri Feb 23, 2024 6:18 pm

Thanks. Yes, after recreating the shortcut in the last version it is like that i.e. it points to %ProgramFiles%. When we built it with the shortcut as it was in the project file i.e. created in some of previous versions, it pointed to an absolute path on the dev machine. Also, note that the product name is overwritten with this desktop attachment label.

Catalin
Posts: 6506
Joined: Wed Jun 13, 2018 7:49 am

Re: Desktop shortcut icon points to a file on the development machine when the app is installed from appxbundle

Tue Feb 27, 2024 4:38 pm

Hello Velja,

You are always welcome!

And yes, I have noticed that the Product Name is replaced by the shortcut name as well.

Best regards,
Catalin
Catalin Gheorghe - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”