aboutsummaryrefslogtreecommitdiff
path: root/src/test (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Target in-service .NET Framework versions.Bob Arnson2025-02-131-1/+1
|
* Skip `CanChangeCommentOfExistingNonDomainGroup` test due to CI failuresRob Mensching2025-02-121-1/+1
|
* Ensure user and group integration tests always clean up after themselves.Rob Mensching2025-02-122-277/+383
| | | | Fixes 8940
* Fix ups for Domain Group creation / removal.Bevan Weiss2025-02-112-4/+6
| | | | Signed-off-by: Bevan Weiss <bevan.weiss@gmail.com>
* Group creation and update PR nits and feedback fixesRob Mensching2025-02-112-5/+6
|
* Add/Remove Group Membership rollback handled.Bevan Weiss2025-02-1114-56/+135
| | | | | | Fixups to a few test cases. Signed-off-by: Bevan Weiss <bevan.weiss@gmail.com>
* Split into domain vs local CAsBevan Weiss2025-02-111-3/+2
|
* Group Add/Remove working.Bevan Weiss2025-02-115-13/+29
| | | | | | | | | | 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-1124-0/+861
| | | | Signed-off-by: Bevan Weiss <bevan.weiss@gmail.com>
* Rewrite Prereq tests after hardening and bypassing .NET GUI errorsRob Mensching2025-02-1111-233/+71
|
* Failures were seen in MSI Unit Tests around Firewall rules withinBevan Weiss2025-02-111-0/+8
| | | | | | | | | | | | | Windows Sandbox. This is potentially a Windows OS bug (it was from a Windows Insider build), however shows that it's possible in the Firewall API to have multiple rules which differ only in their Grouping. So the testbench should consider different Grouping as making for a unique firewall rule. Signed-off-by: Bevan Weiss <bevan.weiss@gmail.com>
* Migrate COM+ E2E tests from raw binaries to source code.Bevan Weiss2025-02-1136-7/+1283
| | | | Signed-off-by: Bevan Weiss <bevan.weiss@gmail.com>
* Emit deprecation warning for Heat.Bob Arnson2025-01-231-1/+1
| | | | Fixes https://github.com/wixtoolset/issues/issues/8913
* Rename "bundle id" concept to "bundle code"Rob Mensching2024-12-3014-42/+42
| | | | | | | The "bundle id" always had more in common with the PackageCode from the Windows Installer. With the introduction of an actual Id attribute on the Bundle element, there is potential for confusion, so there is finally real motivation to rename "bundle id" to "bundle code".
* Audit all transitive dependencies and fix latest vulnerabilitiesRob Mensching2024-12-276-6/+6
| | | | | Also, standardize .NET Core TFMs listed before .NET Framework TFMs for no reason but to be consistent
* Fix up COM+ to be back in working order under Wix4+Bevan Weiss2024-12-2615-0/+242
| | | | | | | | | | | | | | | | | | | | | Table names updated for Wix4 prefix. Custom action names similarly updated. Table names Wix4ComPlusUserInApplicationRole, Wix4ComPlusGroupInApplicationRole and Wix4ComPlusApplicationRoleProperty had to be shortened to fit within MSI 31 character table name limit. Migrated from fixed GUID for RegistrationHelper to use CLSIDFromProgID in an attempt to fix behaviour under .NET 4+ DLLs. Added setting of Partition enable if a Partition is configured in authoring, new Windows config has Partitions disabled by default, and they don't work at all under Windows workstation (non-server) versions. Added a new Runtime condition for `RequireWindowsServer` which will skip execution of Runtime test on workstation/desktop OSes, since COM+ Partitions only work correctly under Windows Server. Quite a lot of basic typos fixed also. Signed-off-by: Bevan Weiss <bevan.weiss@gmail.com>
* Add a few more checks on rollback of Util User.Bevan Weiss2024-12-262-4/+9
| | | | Signed-off-by: Bevan Weiss <bevan.weiss@gmail.com>
* Typos are bad; visible typos are an abomination.Bob Arnson2024-11-102-2/+2
| | | | At least one person makes the same typo almost-but-not-quite everywhere.
* A basic install / uninstall test for RemoveFoldersExBevan Weiss2024-09-023-0/+110
| | | | | | | | 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>
* Add basic test for Msmq install/uninstall.Bevan Weiss2024-07-185-0/+114
| | | | | | | | | Fix up lack of WIX CUSTOM_ACTION_DECORATION wrappers Add new RuntimeTest skipper for Server Features / Optional Features. Signed-off-by: Bevan Weiss <bevan.weiss@gmail.com>
* Initialize WOW64 in TouchFile custom actionRob Mensching2024-07-173-0/+62
| | | | Fixes 8638
* Add extra logging setup to registry.Bevan Weiss2024-07-042-0/+22
| | | | | | | Neither "reg import" nor "reg add" appeared to work inside the sandbox So went with "regedit /s {path}" which did work. Signed-off-by: Bevan Weiss <bevan.weiss@gmail.com>
* Change lower case c:\ => C:\ in 'where' search to align with expectedBevan Weiss2024-07-041-1/+1
| | | | | | firewall rules. Signed-off-by: Bevan Weiss <bevan.weiss@gmail.com>
* No longer support downloading within the Sandbox. Just error instead.Bevan Weiss2024-07-043-41/+51
| | | | | | | | | | Install both the x64 AND the x86 versions of Windows Desktop Runtime. Needed for the Burn Integration tests. And having dotnet files in the sandbox directory was annoying, so put them all into an assets directory Signed-off-by: Bevan Weiss <bevan.weiss@gmail.com>
* Added host menu options for EXE / ZIP installationBevan Weiss2024-07-043-40/+88
| | | | | | | | | | | Removed ARM64/AMD64 folders for dotnet, the Sandbox MUST match the host here, so no point downloading the installer for the non-host platform. Debugger could probably be reduced in the same manner, but have not in this iteration. Have also added a simple README, just to explain (very basic) operation. Signed-off-by: Bevan Weiss <bevan.weiss@gmail.com>
* Make faster... don't do both runtime and SDK, SDK is all we needBevan Weiss2024-07-042-19/+22
| | | | | | | Fix a couple of copy-paste errors in the "don't have files from host in Sandbox" path also. Signed-off-by: Bevan Weiss <bevan.weiss@gmail.com>
* Found a way to get the hostname.Bevan Weiss2024-07-041-1/+4
| | | | | | Not sure if it's ideal, but it works.. Signed-off-by: Bevan Weiss <bevan.weiss@gmail.com>
* Wrap variable sets in double quotes so special characters don't break them.Bevan Weiss2024-07-041-5/+5
| | | | | | | | | By default enable /noauth and /anyuser on the debugger, and don't show the security warning (/nosecuritywarn). It'll still show the firewall warning prompt. Default settings should be fine for firewall (Private networks). Signed-off-by: Bevan Weiss <bevan.weiss@gmail.com>
* Added some comments for the menu.Bevan Weiss2024-07-042-10/+36
| | | | | | And a fix up for the tests not launching the first try (due to delayed expansion). Also fixed up the copying of the debugger files.
* Added some more modifications to the Sandbox.Bevan Weiss2024-07-043-6/+77
| | | | | | | | | | | | | | | | | | | It will now prompt for configuring the Remote Debugger if it can find it on the host when doing the setup. And will prompt within the Sandbox to run the Debugger at startup if found It will also show the host-local IP address to connect to the debugger. In addition, it will display a small menu to allow for simple selection of a particular runtests.cmd version to execute. I still haven't found a good way to get a debugger attached into the msiexec environment without already having a coded breakpoint in, however. Also added this sandbox folder to .gitignore, so that artifacts from here aren't committed into the repo Signed-off-by: Bevan Weiss <bevan.weiss@gmail.com>
* Add Sandbox configuration to more easily perform Integration tests.Bevan Weiss2024-07-043-0/+81
| | | | | | | | | | | | | | | | | | | | Will automatically 'install' dotnet/dotnet sdk into sandbox at startup based on versions in 'src/test/sandbox/{AMD64,ARM64}' (dotnet-runtime.zip & dotnet-sdk.zip). Running ./src/test/sandbox/setup_sandbox.bat will download the required files (when run on the host). If the files aren't available, and the guest has network, it will attempt to download the files itself at startup. Still to be done: * menu at startup to allow easy one button selection of which particular test set to run * investigation into whether vstest.console.exe can be used to capture test execution, and possibly have the sandbox available as a test runner, so MSI tests could be run in the sandbox directly from the dev environment. Signed-off-by: Bevan Weiss <bevan.weiss@gmail.com>
* Add trx logging for individual runtests.cmd.Bob Arnson2024-06-192-2/+2
|
* Update tests to use TestVersion property instead of generic Version propertyRob Mensching2024-04-25107-209/+209
| | | | | | | The MSBuild Version property is well-known and can be set by standard processes. That can cause problem in the tests where the version is explicitly set to validate WiX behaviors. So, we've switched to using the TestVersion property that will be specific for our testing purposes.
* Ensure elevated SFXCA uses Windows Installer cache and unelevated uses Temp ↵Rob Mensching2024-04-052-1/+43
| | | | | | folder Fixes 8078
* Add a managed custom action E2E testRob Mensching2024-04-056-0/+122
|
* Report E_MOREDATA from Bal functions when string buffer too smallRob Mensching2024-04-043-0/+53
| | | | | | | | WiX v4 (and probably v3) standardized on the error code E_MOREDATA when string buffers were too small instead of E_INSUFFICIIENT_BUFFER. This fixes v5 to match in a few missing cases. Fixes 8094
* Use the correct case for firewall attribute valuesRob Mensching2024-03-241-3/+3
|
* Simplify BootstrapperApplication header filesRob Mensching2024-03-214-8/+5
| | | | | Take this breaking change opportunity to simplify the header files used by BA devs.
* Use WixBA in an upgrade.Bob Arnson2024-03-185-2/+79
|
* Fix localization collation.Bob Arnson2024-03-124-0/+59
| | | | Fixes https://github.com/wixtoolset/issues/issues/8036.
* Move wixstdba functions to Bal.wixext buildRob Mensching2024-03-077-8/+12
|
* Better .nupkg namesRob Mensching2024-03-07155-294/+272
|
* Move the BootstrapperApplication out of procRob Mensching2024-03-0642-255/+270
|
* Use camelCase attribute values.Bob Arnson2024-02-272-5/+5
|
* Allow MsiProperty/@Value to be an empty string.Bob Arnson2024-02-172-1/+2
| | | | Fixes https://github.com/wixtoolset/issues/issues/7798.
* ArpEntry reads QuietUninstallString or UninstallString, and uses ↵Nir Bar2023-12-243-0/+59
| | | | UninstallArguments for the uninstall command line
* Make the minimum supported .NET Framework v4.6.2Rob Mensching2023-12-1918-25/+25
|
* Pretty up build outputRob Mensching2023-12-162-4/+4
|
* add firewall extension decompiler, make msi modifications work, add all ↵chris_bednarski2023-11-1918-20/+925
| | | | attributes
* change firewall extension table name to Wix5FirewallExceptionchris_bednarski2023-11-195-0/+299
|