Skip to content
/ wix Public
Merged
Show file tree
Hide file tree
Changes from 8 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions src/ext/Firewall/ca/CustomMsiErrors.h
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,10 @@
#define msierrUSRFailedUserCreateExists 26404
#define msierrUSRFailedGrantLogonAsService 26405

#define msierrGRPFailedGroupCreate 26421
#define msierrGRPFailedGroupGroupAdd 26422
#define msierrGRPFailedGroupCreateExists 26423

#define msierrDependencyMissingDependencies 26451
#define msierrDependencyHasDependents 26452

Expand Down
12 changes: 12 additions & 0 deletions src/ext/Iis/ca/sca.h
Original file line number Diff line number Diff line change
Expand Up @@ -123,3 +123,15 @@ enum SCAU_ATTRIBUTES
SCAU_NON_VITAL = 0x00000400,
SCAU_REMOVE_COMMENT = 0x00000800,
};

// group creation attributes definitions
enum SCAG_ATTRIBUTES
{
SCAG_FAIL_IF_EXISTS = 0x00000001,
SCAG_UPDATE_IF_EXISTS = 0x00000002,

SCAG_DONT_REMOVE_ON_UNINSTALL = 0x00000004,
SCAG_DONT_CREATE_GROUP = 0x00000008,
SCAG_NON_VITAL = 0x00000010,
SCAG_REMOVE_COMMENT = 0x00000020,
};
6 changes: 5 additions & 1 deletion src/ext/Util/ca/CustomMsiErrors.h
Original file line number Diff line number Diff line change
Expand Up @@ -29,4 +29,8 @@
#define msierrUSRFailedUserCreateExists 26404
#define msierrUSRFailedGrantLogonAsService 26405

//Last available is 26450
#define msierrGRPFailedGroupCreate 26421
#define msierrGRPFailedGroupGroupAdd 26422
#define msierrGRPFailedGroupCreateExists 26423

//Last available is 26450
1 change: 1 addition & 0 deletions src/ext/Util/ca/precomp.h
Original file line number Diff line number Diff line change
Expand Up @@ -51,5 +51,6 @@
#include "scasmb.h"
#include "scasmbexec.h"
#include "utilca.h"
#include "scanet.h"

#include "..\..\caDecor.h"
12 changes: 12 additions & 0 deletions src/ext/Util/ca/sca.h
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,15 @@ enum SCAU_ATTRIBUTES
SCAU_NON_VITAL = 0x00000400,
SCAU_REMOVE_COMMENT = 0x00000800,
};

// group creation attributes definitions
enum SCAG_ATTRIBUTES
{
SCAG_FAIL_IF_EXISTS = 0x00000010,
SCAG_UPDATE_IF_EXISTS = 0x00000020,

SCAG_DONT_REMOVE_ON_UNINSTALL = 0x00000100,
SCAG_DONT_CREATE_GROUP = 0x00000200,
SCAG_NON_VITAL = 0x00000400,
SCAG_REMOVE_COMMENT = 0x00000800,
};
4 changes: 4 additions & 0 deletions src/ext/Util/ca/scacost.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@ const UINT COST_SMB_CREATESMB = 10000;
const UINT COST_SMB_DROPSMB = 5000;
const UINT COST_USER_ADD = 10000;
const UINT COST_USER_DELETE = 10000;
const UINT COST_GROUP_ADD = 10000;
const UINT COST_GROUP_DELETE = 10000;
const UINT COST_GROUPMEMBERSHIP_ADD = 10000;
const UINT COST_GROUPMEMBERSHIP_DELETE = 10000;

const UINT COST_PERFMONMANIFEST_REGISTER = 1000;
const UINT COST_PERFMONMANIFEST_UNREGISTER = 1000;
Expand Down
Loading