aboutsummaryrefslogtreecommitdiff
path: root/src/ext/Util/ca (follow)
Commit message (Collapse)AuthorAgeFilesLines
* util: correct usage of NetLocalGroupGetInfo in GroupExecuteBevan Weiss2025-02-281-8/+8
| | | | | | | | | Microsoft documentation doesn't list Level 0 as being a valid group info level to request for NetLocalGroupGetInfo. So we should only be requesting Level 1 instead. Signed-off-by: Bevan Weiss <bevan.weiss@gmail.com>
* Fix ups for Domain Group creation / removal.Bevan Weiss2025-02-115-8/+39
| | | | Signed-off-by: Bevan Weiss <bevan.weiss@gmail.com>
* Re-align enumeration values to those for User account modifications.Bevan Weiss2025-02-111-6/+6
| | | | | | Since there's no reason to not have them identical where practical. Signed-off-by: Bevan Weiss <bevan.weiss@gmail.com>
* Group creation and update PR nits and feedback fixesRob Mensching2025-02-112-18/+17
|
* Add/Remove Group Membership rollback handled.Bevan Weiss2025-02-113-78/+211
| | | | | | Fixups to a few test cases. Signed-off-by: Bevan Weiss <bevan.weiss@gmail.com>
* Split into domain vs local CAsBevan Weiss2025-02-111-6/+49
|
* Group Add/Remove working.Bevan Weiss2025-02-117-246/+647
| | | | | | | | | | Local group membership Add/Remove working, however with BUILTIN local system groups .NET doesn't appear to locate them as either groups nor basic security Principals. Still needs work to fix the test for nested groups. Ideally with some way to test for domain groups. Signed-off-by: Bevan Weiss <bevan.weiss@gmail.com>
* CreateGroups additionsBevan Weiss2025-02-1113-104/+1306
| | | | Signed-off-by: Bevan Weiss <bevan.weiss@gmail.com>
* Fix up small inaccuracy in logged error message.Bevan Weiss2024-09-021-1/+13
| | | | | | | | | | | | When ::GetFileAttributesW returns 0xFFFFFFFF it means 'Invalid File/Folder' So we should return a matching error message. To avoid confusing invalid paths with junctions (in error message) Unfortunately the constant for this is not defined. So just define it here as though it would be. Signed-off-by: Bevan Weiss <bevan.weiss@gmail.com>
* A basic install / uninstall test for RemoveFoldersExBevan Weiss2024-09-021-1/+1
| | | | | | | | Contains no files etc to verify that Remove action can still occur without other elements bringing in the RemoveFiles Standard Action Signed-off-by: Bevan Weiss <bevan.weiss@gmail.com>
* Initialize WOW64 in TouchFile custom actionRob Mensching2024-07-171-0/+38
| | | | Fixes 8638
* Fix faulty memory access in Util's User custom actionsRob Mensching2024-07-155-120/+95
| | | | | | | | Generally, clean up the handling of getting the domain from a server name by centralizing and simplifying it behind an improved GetDomainFromServerName() based on the buggy GetServerName(). Fixes 8576
* Don't follow junctions when recursing directories.Rob Mensching2024-03-221-2/+10
| | | | | | | | | | | | | | When deleting directories recursively, an elevated custom action following junctions in a user-writable location could recurse into any directory, including some that you might not want to be deleted. Therefore, avoid recursing into directories that are actually junctions (aka "reparse points"). This applies to: - The RemoveFoldersEx custom action (which doesn't actually do deletions but would instruct elevated MSI to delete on your behalf). - DTF's custom action runner.
* Move the BootstrapperApplication out of procRob Mensching2024-03-061-1/+1
|
* Clean up TouchFile.Bob Arnson2024-01-191-1/+1
|
* Random typo fix.Bob Arnson2023-10-131-6/+6
|
* Remove legacy permissions support.Bob Arnson2023-08-072-49/+4
| | | | | | | | | | In the long ago, a share could have one user/permissions pair. That's really limited, of course, so support for _n_ user/permissions pairs was added. In the move to WiX v4, support for that single, legacy user was removed from the extension side but not the custom action side. Remove that support. Fixes https://github.com/wixtoolset/issues/issues/7632.
* Add more _NODOMAIN properties to WixQueryOsWellKnownSIDMichael Stoll2023-06-161-0/+6
|
* Fix XmlConfig lookup logic.Bob Arnson2023-04-271-9/+4
| | | | | Fixes https://github.com/wixtoolset/issues/issues/7377. Requires fix for https://github.com/wixtoolset/issues/issues/7444.
* Fix RemoveFoldersEx query.Bob Arnson2023-02-211-2/+2
| | | | Fixes https://github.com/wixtoolset/issues/issues/7236.
* Minor cleanup of the obsoleted.Bob Arnson2023-02-091-6/+0
|
* Fix CustomActionData names.Bob Arnson2023-02-014-15/+2
| | | | | | | | | Fixes https://github.com/wixtoolset/issues/issues/7189. Also: - Clean up duplicate caDecor.h. - Clean up use of CUSTOM_ACTION_DECORATION.
* As promised, remove CAQuietExec*.Bob Arnson2023-01-312-51/+0
|
* Minimize calls into GitInfo by caching results during build_initRob Mensching2022-11-131-1/+0
|
* Fix a couple minor bug in when adding/removing user commentsRob Mensching2022-10-212-63/+62
| | | | Plus some code clean up so error reporting is consistent.
* Support add, modify and remove comments on user accountsRon Martin2022-10-214-130/+317
| | | | Fixes 5371
* Update build dependencies and normalize more projectsRob Mensching2022-10-191-2/+2
|
* Set each native library dependency version to the build version.Sean Hall2022-04-191-1/+0
|
* Build with VS2022, which is now required.Bob Arnson2021-12-251-1/+0
| | | | - Use VS2022/v143 libraries exclusively. C++ compatibility works.
* Consistent-ify primary key column names.Bob Arnson2021-12-1911-20/+21
|
* Bring Sean's fixes to `wix4`.Bob Arnson2021-09-181-2/+2
|
* Don't set NativeMachine variables when IsWow64Process2 is unavailableEric StJohn2021-09-131-1/+4
|
* Add NativeMachine to Burn and WIX_NATIVE_MACHINE to UtilExtensionEric StJohn2021-08-302-0/+29
|
* Skip Wow64 redirection on 64-bit CA builds.Bob Arnson2021-08-231-0/+10
|
* Fixes an error reported by Resharper.Ron Martin2021-07-051-2/+2
|
* Implement integrated build processRob Mensching2021-05-112-5/+5
|
* Move Util.wixext into extRob Mensching2021-05-0339-0/+11827