Jump to content


This is a ready-only archive of the InstallSite Forum. You cannot post any new content here. / Dies ist ein Archiv des InstallSite Forums. Hier können keine neuen Beiträge veröffentlicht werden.
Photo

how to add items to icon table


2 replies to this topic

krishna123

krishna123
  • Members
  • 11 posts

Posted 16 November 2005 - 13:18

Hi,

I am facing problem while adding entry into icon table.

<msi:TableEntry Table="Icon">
<msi:Column Name="Name">sampleicon</msi:Column>
<msi:Column Name="Data">FolderName\sample.ico</msi:Column>
</msi:TableEntry>

On executing the script for generating msi it throws below errors.

An unrecoverable error has occurred:

QUERY: INSERT INTO `Icon` (`Name`,`Data`) VALUES ('SMSPT.ico','Pubtool\SMSPT.ico')

If the method is wrong then please suggest me how to add entries in ICON table. I am using windows inataller.

Thanks & Regards
Krishna.s

Stefan Krueger

Stefan Krueger

    InstallSite.org

  • Administrators
  • 13,269 posts

Posted 16 November 2005 - 18:23

What tool are you using to build your msi file? Looks like your syntax for adding binary data is wrong.

krishna123

krishna123
  • Members
  • 11 posts

Posted 17 November 2005 - 07:38

Thanks for response,

I am not using any tool for generating msi. I am writing xml and mdf files. Then generating msi using windows installer dlls and scripts (these dlls and scrits supplied by client).

Now i am succeded adding an entry in the icon table. by using below method.
<msi:Icon Name="IconPath" Alias="aliasedname"/> This is defind in xdr files.

Facing one new problem related icon refreshing in startup menu.

After installing the application initially it shown default icon rather than the specified icon.
If i open the installed application using "mouse right click open" option then the icon gets refresh to orginal icon.

This seems to be a refresh kind of problem. Can you please help me by suggesting the sollution for this refresh problem.

Thanks a lot
krishna