Mike McCormack | b8cb0e1 | 2005-01-31 11:33:33 +0000 | [diff] [blame] | 1 | /* |
| 2 | * Copyright (C) 2005 Mike McCormack |
| 3 | * |
| 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. |
| 8 | * |
| 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. |
| 13 | * |
| 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 |
Jonathan Ernst | 360a3f9 | 2006-05-18 14:49:52 +0200 | [diff] [blame] | 16 | * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA |
Mike McCormack | b8cb0e1 | 2005-01-31 11:33:33 +0000 | [diff] [blame] | 17 | */ |
| 18 | |
| 19 | #ifndef __WINE_MSIDEFS_H |
| 20 | #define __WINE_MSIDEFS_H |
| 21 | |
Aric Stewart | 00337b9 | 2005-06-09 12:05:27 +0000 | [diff] [blame] | 22 | enum msidbUpgradeAttributes { |
| 23 | msidbUpgradeAttributesMigrateFeatures = 0x0000001, |
| 24 | msidbUpgradeAttributesOnlyDetect = 0x00000002, |
| 25 | msidbUpgradeAttributesIgnoreRemoveFailure = 0x00000004, |
| 26 | msidbUpgradeAttributesVersionMinInclusive = 0x00000100, |
| 27 | msidbUpgradeAttributesVersionMaxInclusive = 0x00000200, |
| 28 | msidbUpgradeAttributesLanguagesExclusive = 0x00000400 |
| 29 | }; |
| 30 | |
Aric Stewart | 6186b2b | 2005-05-16 21:37:35 +0000 | [diff] [blame] | 31 | enum msidbFileAttributes { |
| 32 | msidbFileAttributesReadOnly = 0x00000001, |
| 33 | msidbFileAttributesHidden = 0x00000002, |
| 34 | msidbFileAttributesSystem = 0x00000004, |
| 35 | msidbFileAttributesVital = 0x00000200, |
| 36 | msidbFileAttributesChecksum = 0x00000400, |
| 37 | msidbFileAttributesPatchAdded = 0x00001000, |
| 38 | msidbFileAttributesNoncompressed = 0x00002000, |
| 39 | msidbFileAttributesCompressed = 0x00004000 |
| 40 | }; |
David Hedberg | 6771ed4 | 2011-03-22 20:45:11 +0100 | [diff] [blame] | 41 | |
| 42 | enum msidbPatchAttributes { |
| 43 | msidbPatchAttributesNonVital = 0x00000001 |
| 44 | }; |
| 45 | |
Mike McCormack | b8cb0e1 | 2005-01-31 11:33:33 +0000 | [diff] [blame] | 46 | enum msidbDialogAttributes { |
| 47 | msidbDialogAttributesVisible = 0x00000001, |
| 48 | msidbDialogAttributesModal = 0x00000002, |
| 49 | msidbDialogAttributesMinimize = 0x00000004, |
| 50 | msidbDialogAttributesSysModal = 0x00000008, |
| 51 | msidbDialogAttributesKeepModeless = 0x00000010, |
| 52 | msidbDialogAttributesTrackDiskSpace = 0x00000020, |
| 53 | msidbDialogAttributesUseCustomPalette = 0x00000040, |
| 54 | msidbDialogAttributesRTLRO = 0x00000080, |
| 55 | msidbDialogAttributesRightAligned = 0x00000100, |
| 56 | msidbDialogAttributesLeftScroll = 0x00000200, |
| 57 | msidbDialogAttributesBidi = 0x00000380, |
| 58 | msidbDialogAttributesError = 0x00010000 |
| 59 | }; |
| 60 | |
Mike McCormack | c883a44 | 2005-06-23 16:42:57 +0000 | [diff] [blame] | 61 | enum msidbControlAttributes { |
| 62 | msidbControlAttributesVisible = 0x00000001, |
| 63 | msidbControlAttributesEnabled = 0x00000002, |
| 64 | msidbControlAttributesSunken = 0x00000004, |
| 65 | msidbControlAttributesIndirect = 0x00000008, |
| 66 | msidbControlAttributesInteger = 0x00000010, |
| 67 | msidbControlAttributesRTLRO = 0x00000020, |
| 68 | msidbControlAttributesRightAligned = 0x00000040, |
| 69 | msidbControlAttributesLeftScroll = 0x00000080, |
| 70 | msidbControlAttributesBiDi = 0x000000c0, |
| 71 | |
| 72 | msidbControlAttributesTransparent = 0x00010000, |
| 73 | msidbControlAttributesNoPrefix = 0x00020000, |
| 74 | msidbControlAttributesNoWrap = 0x00040000, |
| 75 | msidbControlAttributesFormatSize = 0x00080000, |
| 76 | msidbControlAttributesUsersLanguage = 0x00100000, |
| 77 | |
| 78 | msidbControlAttributesMultiline = 0x00010000, |
| 79 | msidbControlAttributesPasswordInput = 0x00200000, |
| 80 | |
| 81 | msidbControlAttributesProgress95 = 0x00010000, |
| 82 | |
| 83 | msidbControlAttributesRemovableVolume = 0x00010000, |
| 84 | msidbControlAttributesFixedVolume = 0x00020000, |
| 85 | msidbControlAttributesRemoteVolume = 0x00040000, |
| 86 | msidbControlAttributesCDROMVolume = 0x00080000, |
| 87 | msidbControlAttributesRAMdiskVolume = 0x00100000, |
| 88 | msidbControlAttributesFloppyVolume = 0x00200000, |
| 89 | msidbControlShowRollbackCost = 0x00400000, |
| 90 | |
| 91 | msidbControlAttributesSorted = 0x00010000, |
| 92 | msidbControlAttributesComboList = 0x00020000, |
| 93 | |
| 94 | msidbControlAttributesImageHandle = 0x00010000, |
| 95 | msidbControlAttributesPushLike = 0x00020000, |
| 96 | msidbControlAttributesBitmap = 0x00040000, |
| 97 | msidbControlAttributesIcon = 0x00080000, |
| 98 | msidbControlAttributesFixedSize = 0x00100000, |
| 99 | msidbControlAttributesIconSize16 = 0x00200000, |
| 100 | msidbControlAttributesIconSize32 = 0x00400000, |
| 101 | msidbControlAttributesIconSize48 = 0x00600000, |
| 102 | |
| 103 | msidbControlAttributesHasBorder = 0x01000000, |
| 104 | }; |
| 105 | |
Mike McCormack | ac643d3 | 2005-02-02 09:55:31 +0000 | [diff] [blame] | 106 | enum msidbTextStyleStyleBits |
| 107 | { |
| 108 | msidbTextStyleStyleBitsBold = 0x00000001, |
| 109 | msidbTextStyleStyleBitsItalic = 0x00000002, |
| 110 | msidbTextStyleStyleBitsUnderline = 0x00000004, |
| 111 | msidbTextStyleStyleBitsStrike = 0x00000008, |
| 112 | }; |
| 113 | |
Mike McCormack | a477def | 2005-02-08 12:56:00 +0000 | [diff] [blame] | 114 | enum msidbCustomActionType |
| 115 | { |
| 116 | msidbCustomActionTypeDll = 0x00000001, |
| 117 | msidbCustomActionTypeExe = 0x00000002, |
| 118 | msidbCustomActionTypeTextData = 0x00000003, |
| 119 | msidbCustomActionTypeJScript = 0x00000005, |
| 120 | msidbCustomActionTypeVBScript = 0x00000006, |
| 121 | msidbCustomActionTypeInstall = 0x00000007, |
| 122 | |
| 123 | msidbCustomActionTypeBinaryData = 0x00000000, |
| 124 | msidbCustomActionTypeSourceFile = 0x00000010, |
| 125 | msidbCustomActionTypeDirectory = 0x00000020, |
| 126 | msidbCustomActionTypeProperty = 0x00000030, |
| 127 | |
| 128 | msidbCustomActionTypeContinue = 0x00000040, |
| 129 | msidbCustomActionTypeAsync = 0x00000080, |
| 130 | |
| 131 | msidbCustomActionTypeFirstSequence = 0x00000100, |
| 132 | msidbCustomActionTypeOncePerProcess = 0x00000200, |
| 133 | msidbCustomActionTypeClientRepeat = 0x00000300, |
| 134 | msidbCustomActionTypeInScript = 0x00000400, |
| 135 | |
| 136 | msidbCustomActionTypeRollback = 0x00000100, |
| 137 | msidbCustomActionTypeCommit = 0x00000200, |
| 138 | |
| 139 | msidbCustomActionTypeNoImpersonate = 0x00000800, |
| 140 | msidbCustomActionTypeTSAware = 0x00004000, |
| 141 | |
| 142 | msidbCustomActionType64BitScript = 0x00001000, |
| 143 | msidbCustomActionTypeHideTarget = 0x00002000 |
| 144 | }; |
| 145 | |
| 146 | enum msidbFeatureAttributes |
| 147 | { |
| 148 | msidbFeatureAttributesFavorLocal = 0x00000000, |
| 149 | msidbFeatureAttributesFavorSource = 0x00000001, |
| 150 | msidbFeatureAttributesFollowParent = 0x00000002, |
| 151 | msidbFeatureAttributesFavorAdvertise = 0x00000004, |
| 152 | msidbFeatureAttributesDisallowAdvertise = 0x00000008, |
| 153 | msidbFeatureAttributesUIDisallowAbsent = 0x00000010, |
| 154 | msidbFeatureAttributesNoUnsupportedAdvertise = 0x00000020 |
| 155 | }; |
| 156 | |
Aric Stewart | c2c0a98 | 2005-02-24 10:05:34 +0000 | [diff] [blame] | 157 | enum msidbComponentAttributes |
| 158 | { |
| 159 | msidbComponentAttributesLocalOnly = 0x00000000, |
| 160 | msidbComponentAttributesSourceOnly = 0x00000001, |
| 161 | msidbComponentAttributesOptional = 0x00000002, |
| 162 | msidbComponentAttributesRegistryKeyPath = 0x00000004, |
| 163 | msidbComponentAttributesSharedDllRefCount = 0x00000008, |
| 164 | msidbComponentAttributesPermanent = 0x00000010, |
| 165 | msidbComponentAttributesODBCDataSource = 0x00000020, |
| 166 | msidbComponentAttributesTransitive = 0x00000040, |
| 167 | msidbComponentAttributesNeverOverwrite = 0x00000080, |
| 168 | msidbComponentAttributes64bit = 0x00000100 |
| 169 | }; |
| 170 | |
Hans Leidekker | 1d19c2b | 2007-04-22 11:38:02 +0200 | [diff] [blame] | 171 | enum msidbODBCDataSourceRegistration |
| 172 | { |
| 173 | msidbODBCDataSourceRegistrationPerMachine = 0x00000000, |
| 174 | msidbODBCDataSourceRegistrationPerUser = 0x00000001 |
| 175 | }; |
| 176 | |
Juan Lang | ac0ba1a | 2005-05-10 08:27:00 +0000 | [diff] [blame] | 177 | enum msidbRegistryRoot |
| 178 | { |
| 179 | msidbRegistryRootClassesRoot = 0, |
| 180 | msidbRegistryRootCurrentUser = 1, |
| 181 | msidbRegistryRootLocalMachine = 2, |
| 182 | msidbRegistryRootUsers = 3, |
| 183 | }; |
| 184 | |
| 185 | enum msidbLocatorType |
| 186 | { |
| 187 | msidbLocatorTypeDirectory = 0x000, |
| 188 | msidbLocatorTypeFileName = 0x001, |
| 189 | msidbLocatorTypeRawValue = 0x002, |
| 190 | msidbLocatorType64bit = 0x010, |
| 191 | }; |
| 192 | |
James Hawkins | 58bb357 | 2006-12-01 13:22:59 -0800 | [diff] [blame] | 193 | enum msidbServiceControlEvent |
| 194 | { |
| 195 | msidbServiceControlEventStart = 0x00000001, |
| 196 | msidbServiceControlEventStop = 0x00000002, |
| 197 | msidbServiceControlEventDelete = 0x00000008, |
| 198 | msidbServiceControlEventUninstallStart = 0x00000010, |
| 199 | msidbServiceControlEventUninstallStop = 0x00000020, |
| 200 | msidbServiceControlEventUninstallDelete = 0x00000080, |
| 201 | }; |
| 202 | |
James Hawkins | c3df74e | 2007-11-01 03:09:02 -0500 | [diff] [blame] | 203 | enum msidbMoveFileOptions |
| 204 | { |
| 205 | msidbMoveFileOptionsMove = 0x00000001, |
| 206 | }; |
| 207 | |
James Hawkins | bfe07d1 | 2008-04-30 04:22:46 -0500 | [diff] [blame] | 208 | enum msidbAssemblyAttributes |
| 209 | { |
| 210 | msidbAssemblyAttributesURT = 0x00000000, |
| 211 | msidbAssemblyAttributesWin32 = 0x00000001, |
| 212 | }; |
| 213 | |
James Hawkins | e806a28 | 2008-07-22 00:50:24 -0500 | [diff] [blame] | 214 | enum msidbSumInfoSourceType |
| 215 | { |
| 216 | msidbSumInfoSourceTypeSFN = 0x00000001, |
| 217 | msidbSumInfoSourceTypeCompressed = 0x00000002, |
| 218 | msidbSumInfoSourceTypeAdminImage = 0x00000004, |
| 219 | msidbSumInfoSourceTypeLUAPackage = 0x00000008, |
| 220 | }; |
| 221 | |
James Hawkins | e64a699 | 2008-08-18 23:03:00 -0500 | [diff] [blame] | 222 | enum msidbRemoveFileInstallMode |
| 223 | { |
| 224 | msidbRemoveFileInstallModeOnInstall = 0x00000001, |
| 225 | msidbRemoveFileInstallModeOnRemove = 0x00000002, |
| 226 | msidbRemoveFileInstallModeOnBoth = 0x00000003, |
| 227 | }; |
| 228 | |
Hans Leidekker | b891d08 | 2010-03-02 14:58:55 +0100 | [diff] [blame] | 229 | enum |
| 230 | { |
| 231 | msidbIniFileActionAddLine = 0x00000000, |
| 232 | msidbIniFileActionCreateLine = 0x00000001, |
| 233 | msidbIniFileActionRemoveLine = 0x00000002, |
| 234 | msidbIniFileActionAddTag = 0x00000003, |
| 235 | msidbIniFileActionRemoveTag = 0x00000004 |
| 236 | }; |
| 237 | |
Mike McCormack | fbee1de | 2005-03-16 19:50:33 +0000 | [diff] [blame] | 238 | /* |
| 239 | * Windows SDK braindamage alert |
| 240 | * |
| 241 | * PID_DICTIONARY and PID_CODEPAGE are defined by propidl.h too |
| 242 | * PID_SECURITY is defined in propidl.h with a different value! |
| 243 | * So these need to be undefined first. |
| 244 | */ |
| 245 | #ifdef PID_DICTIONARY |
| 246 | #undef PID_DICTIONARY |
| 247 | #endif |
| 248 | |
| 249 | #ifdef PID_CODEPAGE |
| 250 | #undef PID_CODEPAGE |
| 251 | #endif |
| 252 | |
| 253 | #ifdef PID_SECURITY |
| 254 | #undef PID_SECURITY |
| 255 | #endif |
| 256 | |
| 257 | #define PID_DICTIONARY 0 |
| 258 | #define PID_CODEPAGE 1 |
| 259 | #define PID_TITLE 2 |
| 260 | #define PID_SUBJECT 3 |
| 261 | #define PID_AUTHOR 4 |
| 262 | #define PID_KEYWORDS 5 |
| 263 | #define PID_COMMENTS 6 |
| 264 | #define PID_TEMPLATE 7 |
| 265 | #define PID_LASTAUTHOR 8 |
| 266 | #define PID_REVNUMBER 9 |
James Hawkins | f083b3c | 2007-05-31 19:52:05 -0700 | [diff] [blame] | 267 | #define PID_EDITTIME 10 |
Mike McCormack | fbee1de | 2005-03-16 19:50:33 +0000 | [diff] [blame] | 268 | #define PID_LASTPRINTED 11 |
| 269 | #define PID_CREATE_DTM 12 |
| 270 | #define PID_LASTSAVE_DTM 13 |
| 271 | #define PID_PAGECOUNT 14 |
| 272 | #define PID_WORDCOUNT 15 |
| 273 | #define PID_CHARCOUNT 16 |
| 274 | #define PID_THUMBNAIL 17 |
| 275 | #define PID_APPNAME 18 |
| 276 | #define PID_SECURITY 19 |
| 277 | #define PID_MSIVERSION PID_PAGECOUNT |
| 278 | #define PID_MSISOURCE PID_WORDCOUNT |
| 279 | #define PID_MSIRESTRICT PID_CHARCOUNT |
| 280 | |
Mike McCormack | b8cb0e1 | 2005-01-31 11:33:33 +0000 | [diff] [blame] | 281 | #endif /* __WINE_MSIDEFS_H */ |