Groups | Blog | Home
all groups > dotnet setup > october 2003 >

dotnet setup : Shortcut Icon


John M
10/31/2003 3:22:31 PM
Hi,

I have a setup project with a shortcut on the start menu pointing to the
program executable. However the icon is never displayed for the shortcut.
I've tried placing an icon file in the program folder and then using that as
the source of the shortcut's icon. But that works only sometimes. When I
have set it up and it has worked, a later build results in it disappearing.

John

John M
10/31/2003 3:43:27 PM
I have found the cause... it seems strange to me.

The MSI has two MSIs nested inside it. The shortcuts will still display with
them nested. However, when I add rows to the tables to executes the nested
MSIs, it is then that the shortcuts no longer display. Below are the rows
added.

CustomAction
============
UninstallEM 7 EventManagementProxy.MSI REMOVE=ALL
InstallEM 7 EventManagementProxy.MSI REMOTESERVERNAME=[REMOTESERVERNAME]
InstallBB 7 BigBrotherProxy.MSI REMOTESERVERNAME=[REMOTESERVERNAME]
UninstallBB 7 BigBrotherProxy.MSI REMOVE=ALL

InstallExecuteSequence
======================
InstallEM $C__1B142B6D610B4A06BC10CD77780CE57B >2 5601
UninstallEM $C__1B142B6D610B4A06BC10CD77780CE57B <=2 5602
InstallBB $C__1B142B6D610B4A06BC10CD77780CE57B >2 5603
UninstallBB $C__1B142B6D610B4A06BC10CD77780CE57B <=2 5604

Property
========
ALLUSERS 1

Why do those rows cause the icons in the program shortcut to not show?

$C__1B142B6D610B4A06BC10CD77780CE57B refers to one of the DLLs used by the
application.

The only thing I can possibly think of is the sequence values. Any ideas?

TIA,
John


[quoted text, click to view]

John M
10/31/2003 4:02:08 PM
I've narrowed it down to these entries in InstallExecuteSequence. I can add
the other rows without affecting the shortcut icon.

InstallExecuteSequence
======================
InstallEM $C__1B142B6D610B4A06BC10CD77780CE57B >2 5601
UninstallEM $C__1B142B6D610B4A06BC10CD77780CE57B <=2 5602
InstallBB $C__1B142B6D610B4A06BC10CD77780CE57B >2 5603
UninstallBB $C__1B142B6D610B4A06BC10CD77780CE57B <=2 5604


[quoted text, click to view]

AddThis Social Bookmark Button