Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Shortcut Icon problems
detlevv
#1 Posted : Tuesday, February 26, 2013 8:07:02 AM(UTC)
Groups: Member
Joined: 2/26/2013(UTC)
Posts: 7

Was thanked: 1 time(s) in 1 post(s)
I'm trying the SHORTCUT1ICONFILE-option to get a customized desctop icon with my VS2010 installation, but with no success. Could you please point me into the right direction ? The icon file ist installed with the app (target root path). Registration is as this:

"[ProgramFilesFolder]\UltiDev\Web Server\UWS.RegApp.exe" /r /AppID:"[UpgradeCode]" /path:"[TARGETDIR]" /SHORTCUT1ICONFILE:"[TARGETDIR]\myapp.ico" /DefaultDoc:default.html /force32:true /Endpoints:"http://*:0" /Name:"MyApp" /Autostart

Thnx. -detlevv
Ultidev Team
#2 Posted : Tuesday, February 26, 2013 2:24:48 PM(UTC)
Ultidev Team

Groups: Administration
Joined: 11/3/2005(UTC)
Posts: 2,253

Thanks: 28 times
Was thanked: 60 time(s) in 59 post(s)
Hi there!

We tested this scenario by creating a .BAT file with the command line you provided, and replaced paths to application location and icon files we have here, and were unable to reproduce the problem. It has created the icon on the desktop. Here's our command line:

Quote:

@echo off
"c:\program files\UltiDev\Web Server\UWS.RegApp.exe" /r /AppID:"{5F61AD6B-96D5-4FE6-B2B0-87E957A6504D}" /path:"C:\program files\UltiDev\Web Server\Redirector" /SHORTCUT1ICONFILE:"C:\program files\UltiDev\Web Server\Redirector\favicon.ico" /DefaultDoc:default.aspx /force32:true /Endpoints:"http://*:0" /Name:"MyApp" /Autostart


Please the command line above (as Administrator) and let us know whether you've got the icon created.

Please note that sometimes Windows caches icons after they were deleted and recreating an shortcut in the same place with a different icon sometimes shows the same icon. To deal with the effect you may want to temporarily create the shortcut in a different folder.

Best regards,
UltiDev Team.
Please donate at http://www.ultidev.com/products/Donate.aspx to help us improve our products.
detlevv
#3 Posted : Wednesday, February 27, 2013 3:25:08 AM(UTC)
Groups: Member
Joined: 2/26/2013(UTC)
Posts: 7

Was thanked: 1 time(s) in 1 post(s)
Dear Ultidev team members,

thanks a lot for your quick response. Indeed, your sample works well and creates an icon as expected.

I will try further and will come back, if something new has to be reported.

Best regards,
-detlevv

detlevv
#4 Posted : Wednesday, February 27, 2013 4:15:08 AM(UTC)
Groups: Member
Joined: 2/26/2013(UTC)
Posts: 7

Was thanked: 1 time(s) in 1 post(s)
Dear UltiDev team members,
I found an issue, where german umlauts in icon path name will cause an registration error. I get an error message, where the letter 'ö' is coded to something different. The resulting path is then invalid.

Best regards
-detlevv
detlevv attached the following image(s):
detlevv attached the following image(s): message.jpg
1 user thanked detlevv for this useful post.
Ultidev Team on 2/27/2013(UTC)
detlevv
#5 Posted : Wednesday, February 27, 2013 4:23:50 AM(UTC)
Groups: Member
Joined: 2/26/2013(UTC)
Posts: 7

Was thanked: 1 time(s) in 1 post(s)
Finally, it works, if the icon path name does not contain any umlauts.

-detlevv
Ultidev Team
#6 Posted : Wednesday, February 27, 2013 3:58:23 PM(UTC)
Ultidev Team

Groups: Administration
Joined: 11/3/2005(UTC)
Posts: 2,253

Thanks: 28 times
Was thanked: 60 time(s) in 59 post(s)
Thank you much for reporting bug with umlauts in the path. We've logged it and will try to fix it in the next release.

Best regards,
UltiDev Team.
Please donate at http://www.ultidev.com/products/Donate.aspx to help us improve our products.
Ultidev Team
#7 Posted : Thursday, April 11, 2013 9:30:27 PM(UTC)
Ultidev Team

Groups: Administration
Joined: 11/3/2005(UTC)
Posts: 2,253

Thanks: 28 times
Was thanked: 60 time(s) in 59 post(s)
Hi,

While testing this issue in-depth in attempt to fix it, we determined that our registration utility handles umlauts correctly. We placed an icon in a folder named "ü ö ä Ä Ü Ö ß", and ran registration command line, and we didn't get the error. After looking at the screenshot, it's evident that command line had incorrectly converted umlauts before calling AppReg utility, which is probably a bug in the installation authoring system you chose, over which we, unfortunately, don't have any control.

Best regards,
UltiDev Team.
Please donate at http://www.ultidev.com/products/Donate.aspx to help us improve our products.
Guest
#8 Posted : Friday, March 30, 2018 10:45:08 PM(UTC)
Groups:

Message was deleted by a Moderator.
Rss Feed  Atom Feed
Users browsing this topic
Guest
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You can vote in polls in this forum.