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

Attribute field of Component table


1 reply to this topic

AntonS

AntonS
  • Full Members
  • 94 posts

Posted 24 August 2004 - 15:39

In Components table contain field Attribute, I suppose it used for some control functionality.

In Windows Installer documentation, three flags in doubt for me:

msidbComponentAttributesLocalOnly 0

Comment: Component cannot be run from source.

msidbComponentAttributesSourceOnly 1

Comment: Component can only be run from source.

msidbComponentAttributesOptional 2

Comment: Component can run locally or from source.

In what is their practical usage?

Sincerely your,
Anton Spitsyn
http://www.installsite.ru

Stefan Krueger

Stefan Krueger

    InstallSite.org

  • Administrators
  • 13,269 posts

Posted 24 August 2004 - 17:44

0 means that the file will be copied to the user's ahrd disk, 1 means that the file will remain on the CD, 2 means that the user can select whether to copy the file to hard disk or leave it on CD. In order to run from source (CD) of course your application needs to be prepared for this. This is often used for large multi media files or sample code.