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!

matkr265
Posts: 6
Joined: Fri May 23, 2014 12:44 pm

[Solved]NewShortcut command breaks Application Icon

Hi

I have an application where I change the application icon during run-time, to indicate different states. But when I execute the application after installing it with the Ai generated msi file this no longer works. (If I execute the application from my source binaries it works as expected)

Does the Ai msi generator change anything in the executable binary when it is tied to a shortcut created via the ai cmd line tool?
http://www.advancedinstaller.com/user-g ... rtcut.html

regards
Matias
Last edited by matkr265 on Mon May 26, 2014 7:40 am, edited 1 time in total.
matkr265
Posts: 6
Joined: Fri May 23, 2014 12:44 pm

Re: NewShortcut command breaks Application Icon

Hi again,

never mind my post above, it is not the Ai that is the culprit but how shortcuts works in general in Windows.

If I launch the application via a shortcut the application icon seems fixed to whatever the shortcut has defined and is not changeable during run-time.
Eusebiu
Posts: 4971
Joined: Wed Nov 14, 2012 2:04 pm

Re: [Solved]NewShortcut command breaks Application Icon

Hi Matias,

I'm glad you found the problem.
Does the Ai msi generator change anything in the executable binary when it is tied to a shortcut created via the ai cmd line tool?
Advanced Installer does not change anything in the executable binary file when a shortcut is created and tied to that file.

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

Return to “Building Installers”