2 * Copyright (C) 2005 Mike McCormack
4 * This library is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Lesser General Public
6 * License as published by the Free Software Foundation; either
7 * version 2.1 of the License, or (at your option) any later version.
9 * This library is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 * Lesser General Public License for more details.
14 * You should have received a copy of the GNU Lesser General Public
15 * License along with this library; if not, write to the Free Software
16 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
19 #ifndef __WINE_MSIDEFS_H
20 #define __WINE_MSIDEFS_H
26 enum msidbFileAttributes
{
27 msidbFileAttributesReadOnly
= 0x00000001,
28 msidbFileAttributesHidden
= 0x00000002,
29 msidbFileAttributesSystem
= 0x00000004,
30 msidbFileAttributesVital
= 0x00000200,
31 msidbFileAttributesChecksum
= 0x00000400,
32 msidbFileAttributesPatchAdded
= 0x00001000,
33 msidbFileAttributesNoncompressed
= 0x00002000,
34 msidbFileAttributesCompressed
= 0x00004000
37 enum msidbDialogAttributes
{
38 msidbDialogAttributesVisible
= 0x00000001,
39 msidbDialogAttributesModal
= 0x00000002,
40 msidbDialogAttributesMinimize
= 0x00000004,
41 msidbDialogAttributesSysModal
= 0x00000008,
42 msidbDialogAttributesKeepModeless
= 0x00000010,
43 msidbDialogAttributesTrackDiskSpace
= 0x00000020,
44 msidbDialogAttributesUseCustomPalette
= 0x00000040,
45 msidbDialogAttributesRTLRO
= 0x00000080,
46 msidbDialogAttributesRightAligned
= 0x00000100,
47 msidbDialogAttributesLeftScroll
= 0x00000200,
48 msidbDialogAttributesBidi
= 0x00000380,
49 msidbDialogAttributesError
= 0x00010000
52 enum msidbTextStyleStyleBits
54 msidbTextStyleStyleBitsBold
= 0x00000001,
55 msidbTextStyleStyleBitsItalic
= 0x00000002,
56 msidbTextStyleStyleBitsUnderline
= 0x00000004,
57 msidbTextStyleStyleBitsStrike
= 0x00000008,
60 enum msidbCustomActionType
62 msidbCustomActionTypeDll
= 0x00000001,
63 msidbCustomActionTypeExe
= 0x00000002,
64 msidbCustomActionTypeTextData
= 0x00000003,
65 msidbCustomActionTypeJScript
= 0x00000005,
66 msidbCustomActionTypeVBScript
= 0x00000006,
67 msidbCustomActionTypeInstall
= 0x00000007,
69 msidbCustomActionTypeBinaryData
= 0x00000000,
70 msidbCustomActionTypeSourceFile
= 0x00000010,
71 msidbCustomActionTypeDirectory
= 0x00000020,
72 msidbCustomActionTypeProperty
= 0x00000030,
74 msidbCustomActionTypeContinue
= 0x00000040,
75 msidbCustomActionTypeAsync
= 0x00000080,
77 msidbCustomActionTypeFirstSequence
= 0x00000100,
78 msidbCustomActionTypeOncePerProcess
= 0x00000200,
79 msidbCustomActionTypeClientRepeat
= 0x00000300,
80 msidbCustomActionTypeInScript
= 0x00000400,
82 msidbCustomActionTypeRollback
= 0x00000100,
83 msidbCustomActionTypeCommit
= 0x00000200,
85 msidbCustomActionTypeNoImpersonate
= 0x00000800,
86 msidbCustomActionTypeTSAware
= 0x00004000,
88 msidbCustomActionType64BitScript
= 0x00001000,
89 msidbCustomActionTypeHideTarget
= 0x00002000
92 enum msidbFeatureAttributes
94 msidbFeatureAttributesFavorLocal
= 0x00000000,
95 msidbFeatureAttributesFavorSource
= 0x00000001,
96 msidbFeatureAttributesFollowParent
= 0x00000002,
97 msidbFeatureAttributesFavorAdvertise
= 0x00000004,
98 msidbFeatureAttributesDisallowAdvertise
= 0x00000008,
99 msidbFeatureAttributesUIDisallowAbsent
= 0x00000010,
100 msidbFeatureAttributesNoUnsupportedAdvertise
= 0x00000020
103 enum msidbComponentAttributes
105 msidbComponentAttributesLocalOnly
= 0x00000000,
106 msidbComponentAttributesSourceOnly
= 0x00000001,
107 msidbComponentAttributesOptional
= 0x00000002,
108 msidbComponentAttributesRegistryKeyPath
= 0x00000004,
109 msidbComponentAttributesSharedDllRefCount
= 0x00000008,
110 msidbComponentAttributesPermanent
= 0x00000010,
111 msidbComponentAttributesODBCDataSource
= 0x00000020,
112 msidbComponentAttributesTransitive
= 0x00000040,
113 msidbComponentAttributesNeverOverwrite
= 0x00000080,
114 msidbComponentAttributes64bit
= 0x00000100
117 enum msidbRegistryRoot
119 msidbRegistryRootClassesRoot
= 0,
120 msidbRegistryRootCurrentUser
= 1,
121 msidbRegistryRootLocalMachine
= 2,
122 msidbRegistryRootUsers
= 3,
125 enum msidbLocatorType
127 msidbLocatorTypeDirectory
= 0x000,
128 msidbLocatorTypeFileName
= 0x001,
129 msidbLocatorTypeRawValue
= 0x002,
130 msidbLocatorType64bit
= 0x010,
134 * Windows SDK braindamage alert
136 * PID_DICTIONARY and PID_CODEPAGE are defined by propidl.h too
137 * PID_SECURITY is defined in propidl.h with a different value!
138 * So these need to be undefined first.
140 #ifdef PID_DICTIONARY
141 #undef PID_DICTIONARY
152 #define PID_DICTIONARY 0
153 #define PID_CODEPAGE 1
155 #define PID_SUBJECT 3
157 #define PID_KEYWORDS 5
158 #define PID_COMMENTS 6
159 #define PID_TEMPLATE 7
160 #define PID_LASTAUTHOR 8
161 #define PID_REVNUMBER 9
162 #define PID_EDITTINE 10
163 #define PID_LASTPRINTED 11
164 #define PID_CREATE_DTM 12
165 #define PID_LASTSAVE_DTM 13
166 #define PID_PAGECOUNT 14
167 #define PID_WORDCOUNT 15
168 #define PID_CHARCOUNT 16
169 #define PID_THUMBNAIL 17
170 #define PID_APPNAME 18
171 #define PID_SECURITY 19
172 #define PID_MSIVERSION PID_PAGECOUNT
173 #define PID_MSISOURCE PID_WORDCOUNT
174 #define PID_MSIRESTRICT PID_CHARCOUNT
180 #endif /* __WINE_MSIDEFS_H */