190 lines
5.8 KiB
C
190 lines
5.8 KiB
C
/*
|
|
* Copyright (C) 2005 Mike McCormack
|
|
*
|
|
* This library is free software; you can redistribute it and/or
|
|
* modify it under the terms of the GNU Lesser General Public
|
|
* License as published by the Free Software Foundation; either
|
|
* version 2.1 of the License, or (at your option) any later version.
|
|
*
|
|
* This library is distributed in the hope that it will be useful,
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
* Lesser General Public License for more details.
|
|
*
|
|
* You should have received a copy of the GNU Lesser General Public
|
|
* License along with this library; if not, write to the Free Software
|
|
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
|
*/
|
|
|
|
#ifndef __WINE_MSIDEFS_H
|
|
#define __WINE_MSIDEFS_H
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
enum msidbUpgradeAttributes {
|
|
msidbUpgradeAttributesMigrateFeatures = 0x0000001,
|
|
msidbUpgradeAttributesOnlyDetect = 0x00000002,
|
|
msidbUpgradeAttributesIgnoreRemoveFailure = 0x00000004,
|
|
msidbUpgradeAttributesVersionMinInclusive = 0x00000100,
|
|
msidbUpgradeAttributesVersionMaxInclusive = 0x00000200,
|
|
msidbUpgradeAttributesLanguagesExclusive = 0x00000400
|
|
};
|
|
|
|
enum msidbFileAttributes {
|
|
msidbFileAttributesReadOnly = 0x00000001,
|
|
msidbFileAttributesHidden = 0x00000002,
|
|
msidbFileAttributesSystem = 0x00000004,
|
|
msidbFileAttributesVital = 0x00000200,
|
|
msidbFileAttributesChecksum = 0x00000400,
|
|
msidbFileAttributesPatchAdded = 0x00001000,
|
|
msidbFileAttributesNoncompressed = 0x00002000,
|
|
msidbFileAttributesCompressed = 0x00004000
|
|
};
|
|
|
|
enum msidbDialogAttributes {
|
|
msidbDialogAttributesVisible = 0x00000001,
|
|
msidbDialogAttributesModal = 0x00000002,
|
|
msidbDialogAttributesMinimize = 0x00000004,
|
|
msidbDialogAttributesSysModal = 0x00000008,
|
|
msidbDialogAttributesKeepModeless = 0x00000010,
|
|
msidbDialogAttributesTrackDiskSpace = 0x00000020,
|
|
msidbDialogAttributesUseCustomPalette = 0x00000040,
|
|
msidbDialogAttributesRTLRO = 0x00000080,
|
|
msidbDialogAttributesRightAligned = 0x00000100,
|
|
msidbDialogAttributesLeftScroll = 0x00000200,
|
|
msidbDialogAttributesBidi = 0x00000380,
|
|
msidbDialogAttributesError = 0x00010000
|
|
};
|
|
|
|
enum msidbTextStyleStyleBits
|
|
{
|
|
msidbTextStyleStyleBitsBold = 0x00000001,
|
|
msidbTextStyleStyleBitsItalic = 0x00000002,
|
|
msidbTextStyleStyleBitsUnderline = 0x00000004,
|
|
msidbTextStyleStyleBitsStrike = 0x00000008,
|
|
};
|
|
|
|
enum msidbCustomActionType
|
|
{
|
|
msidbCustomActionTypeDll = 0x00000001,
|
|
msidbCustomActionTypeExe = 0x00000002,
|
|
msidbCustomActionTypeTextData = 0x00000003,
|
|
msidbCustomActionTypeJScript = 0x00000005,
|
|
msidbCustomActionTypeVBScript = 0x00000006,
|
|
msidbCustomActionTypeInstall = 0x00000007,
|
|
|
|
msidbCustomActionTypeBinaryData = 0x00000000,
|
|
msidbCustomActionTypeSourceFile = 0x00000010,
|
|
msidbCustomActionTypeDirectory = 0x00000020,
|
|
msidbCustomActionTypeProperty = 0x00000030,
|
|
|
|
msidbCustomActionTypeContinue = 0x00000040,
|
|
msidbCustomActionTypeAsync = 0x00000080,
|
|
|
|
msidbCustomActionTypeFirstSequence = 0x00000100,
|
|
msidbCustomActionTypeOncePerProcess = 0x00000200,
|
|
msidbCustomActionTypeClientRepeat = 0x00000300,
|
|
msidbCustomActionTypeInScript = 0x00000400,
|
|
|
|
msidbCustomActionTypeRollback = 0x00000100,
|
|
msidbCustomActionTypeCommit = 0x00000200,
|
|
|
|
msidbCustomActionTypeNoImpersonate = 0x00000800,
|
|
msidbCustomActionTypeTSAware = 0x00004000,
|
|
|
|
msidbCustomActionType64BitScript = 0x00001000,
|
|
msidbCustomActionTypeHideTarget = 0x00002000
|
|
};
|
|
|
|
enum msidbFeatureAttributes
|
|
{
|
|
msidbFeatureAttributesFavorLocal = 0x00000000,
|
|
msidbFeatureAttributesFavorSource = 0x00000001,
|
|
msidbFeatureAttributesFollowParent = 0x00000002,
|
|
msidbFeatureAttributesFavorAdvertise = 0x00000004,
|
|
msidbFeatureAttributesDisallowAdvertise = 0x00000008,
|
|
msidbFeatureAttributesUIDisallowAbsent = 0x00000010,
|
|
msidbFeatureAttributesNoUnsupportedAdvertise = 0x00000020
|
|
};
|
|
|
|
enum msidbComponentAttributes
|
|
{
|
|
msidbComponentAttributesLocalOnly = 0x00000000,
|
|
msidbComponentAttributesSourceOnly = 0x00000001,
|
|
msidbComponentAttributesOptional = 0x00000002,
|
|
msidbComponentAttributesRegistryKeyPath = 0x00000004,
|
|
msidbComponentAttributesSharedDllRefCount = 0x00000008,
|
|
msidbComponentAttributesPermanent = 0x00000010,
|
|
msidbComponentAttributesODBCDataSource = 0x00000020,
|
|
msidbComponentAttributesTransitive = 0x00000040,
|
|
msidbComponentAttributesNeverOverwrite = 0x00000080,
|
|
msidbComponentAttributes64bit = 0x00000100
|
|
};
|
|
|
|
enum msidbRegistryRoot
|
|
{
|
|
msidbRegistryRootClassesRoot = 0,
|
|
msidbRegistryRootCurrentUser = 1,
|
|
msidbRegistryRootLocalMachine = 2,
|
|
msidbRegistryRootUsers = 3,
|
|
};
|
|
|
|
enum msidbLocatorType
|
|
{
|
|
msidbLocatorTypeDirectory = 0x000,
|
|
msidbLocatorTypeFileName = 0x001,
|
|
msidbLocatorTypeRawValue = 0x002,
|
|
msidbLocatorType64bit = 0x010,
|
|
};
|
|
|
|
/*
|
|
* Windows SDK braindamage alert
|
|
*
|
|
* PID_DICTIONARY and PID_CODEPAGE are defined by propidl.h too
|
|
* PID_SECURITY is defined in propidl.h with a different value!
|
|
* So these need to be undefined first.
|
|
*/
|
|
#ifdef PID_DICTIONARY
|
|
#undef PID_DICTIONARY
|
|
#endif
|
|
|
|
#ifdef PID_CODEPAGE
|
|
#undef PID_CODEPAGE
|
|
#endif
|
|
|
|
#ifdef PID_SECURITY
|
|
#undef PID_SECURITY
|
|
#endif
|
|
|
|
#define PID_DICTIONARY 0
|
|
#define PID_CODEPAGE 1
|
|
#define PID_TITLE 2
|
|
#define PID_SUBJECT 3
|
|
#define PID_AUTHOR 4
|
|
#define PID_KEYWORDS 5
|
|
#define PID_COMMENTS 6
|
|
#define PID_TEMPLATE 7
|
|
#define PID_LASTAUTHOR 8
|
|
#define PID_REVNUMBER 9
|
|
#define PID_EDITTINE 10
|
|
#define PID_LASTPRINTED 11
|
|
#define PID_CREATE_DTM 12
|
|
#define PID_LASTSAVE_DTM 13
|
|
#define PID_PAGECOUNT 14
|
|
#define PID_WORDCOUNT 15
|
|
#define PID_CHARCOUNT 16
|
|
#define PID_THUMBNAIL 17
|
|
#define PID_APPNAME 18
|
|
#define PID_SECURITY 19
|
|
#define PID_MSIVERSION PID_PAGECOUNT
|
|
#define PID_MSISOURCE PID_WORDCOUNT
|
|
#define PID_MSIRESTRICT PID_CHARCOUNT
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif /* __WINE_MSIDEFS_H */
|