Граф коммитов

3339 Коммитов

Автор SHA1 Сообщение Дата
Bob Arnson 1aa3147b53 Fix messages related to package scope. 2024-11-10 20:52:30 -05:00
Bob Arnson f440fb317c Typos are bad; visible typos are an abomination.
At least one person makes the same typo almost-but-not-quite everywhere.
2024-11-10 20:14:39 -05:00
Bob Arnson cc9463ee3c Update to nonwhingy System.Text.Json. 2024-11-10 20:14:39 -05:00
Bob Arnson 53d84c9b96 Log bundle registration scope. 2024-11-10 20:14:39 -05:00
Bob Arnson a75f23d32c Add overloads to support create-only Wixouts.
This prevents the .NET ZipArchive (and friends) from keeping the whole
thing in memory, to support updating when we don't need to update the
Wixout when building a binary Wixlib.
2024-10-04 12:22:15 -07:00
Bob Arnson 29d555a7c1 Fix crash when adding file in patch when filtering 2024-10-04 11:18:07 -07:00
Bevan Weiss cc21d03c58 Additional (automated) translations for Lithuanian, Russian and Chinese
(Simplified).

Signed-off-by: Bevan Weiss <bevan.weiss@gmail.com>
2024-09-28 18:37:29 -04:00
Bevan Weiss 788931360a Error message for 'logon as service' is not currently localised.
Added translations in line with existing translations.  I'm sure they'll
suffice for now, Google translate makes sense of them anyway.


Signed-off-by: Bevan Weiss <bevan.weiss@gmail.com>
2024-09-28 18:37:29 -04:00
Chaojie 65d171f2f8 Update thumbprints and download links to target latest .NET packages 2024-09-28 18:33:18 -04:00
Bob Arnson dd2fe20d9f Fix crash with use of File/@PatchGroup. 2024-09-03 16:13:27 -04:00
Martin Broholm Andersen fb769130df Moved CalculateCabbingThreadCount() to BindDatabaseCommand because we need the capped value in both CreateCabinetsCommand and UpdateFileFacadesCommand.
Fixed bug in capping the thread count between 1 and processor count times 2. The "-ct 1000000" value was wrongly passed thru in the test CabinetFilesSequencedCorrectly

Added ThreadCount to UpdateFileFacadesCommand
2024-09-02 23:59:47 -04:00
Martin Broholm Andersen 4357d18fdc Replace UpdateFileFacade loop with Parallel.ForEach 2024-09-02 23:59:47 -04:00
Bevan Weiss 638532e58a Fix up small inaccuracy in logged error message.
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>
2024-09-02 23:45:08 -04:00
Bevan Weiss 97e2fb0141 A basic install / uninstall test for RemoveFoldersEx
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>
2024-09-02 23:45:08 -04:00
Bob Arnson 1011c5609b Fix bad URL.
Fixes https://github.com/wixtoolset/issues/issues/8704
2024-08-19 09:11:35 -04:00
Bob Arnson 1ade630c42 Add verbose messages around harvesting. 2024-08-19 09:11:35 -04:00
Bevan Weiss ce73352b1f Add basic test for Msmq install/uninstall.
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>
2024-07-18 09:59:43 -07:00
Rob Mensching 8fb5d579e8 Initialize WOW64 in TouchFile custom action
Fixes 8638
2024-07-17 12:15:00 -07:00
Bob Arnson bb975d370a Fix egregiously bad comments that were frustrating 2024-07-15 18:31:51 -04:00
Rob Mensching 6bd80b51b4 Fix faulty memory access in Util's User custom actions
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
2024-07-15 12:09:35 -07:00
Rob Mensching 733886e73a Scheduling standard actions must override virtual definitions from stdlib
Fixes 8115
2024-07-13 08:37:57 -07:00
Rob Mensching 590c667a1e Reset current directory so SFXCA directory can be cleaned up
Fixes 8630
2024-07-13 08:37:35 -07:00
Rob Mensching 40df304afe Introducing wix-cli.msi
Fixes 8623
2024-07-12 14:37:05 -07:00
Rob Mensching 24d9e661a9 Fix "wix extension list" to correctly display machine-wide extensions
Fixes 8625
2024-07-12 11:00:00 -07:00
Rob Mensching 55bfbccc35 Move DTF back to .NET 2.0 as it is still supported
Fixes 8134
2024-07-12 10:52:19 -07:00
Rob Mensching 41cf53b5ce Re-enable insignificant zeros in PackageVersion
Closes 8589
2024-07-12 10:51:38 -07:00
Rob Mensching 8678b0a698 Update dependencies
Fixes 8569
2024-07-12 10:50:32 -07:00
Rob Mensching 2b0dff9c52 Fix missing WixToolset.Firewall.wixext version
Fixes 8624
2024-07-12 10:50:13 -07:00
Bob Arnson 69328a4ef1 Prevent unnecessary refreshes that move focus.
Spillover from having more interactive controls. In WiX v3, showing a
page moved the focus as a typical person might expect. When WiX v4
added interactivity, the same code was used to update controls (e.g.,
when checking a checkbox set a property used in a `VisibleCondition` or
`EnableCondition` for another control on the same page). This change
prevents the focus-setting behavior if the same page is being shown.

Fixes https://github.com/wixtoolset/issues/issues/8144
2024-07-12 13:37:04 -04:00
Bevan Weiss 54df047166 Add extra logging setup to registry.
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>
2024-07-04 19:25:49 -04:00
Bevan Weiss 04ad8ff7bc Change lower case c:\ => C:\ in 'where' search to align with expected
firewall rules.

Signed-off-by: Bevan Weiss <bevan.weiss@gmail.com>
2024-07-04 19:25:49 -04:00
Bevan Weiss 596b4c4ae9 No longer support downloading within the Sandbox. Just error instead.
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>
2024-07-04 19:25:49 -04:00
Bevan Weiss 83d92ef882 Added host menu options for EXE / ZIP installation
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>
2024-07-04 19:25:49 -04:00
Bevan Weiss 89dc7b4780 Make faster... don't do both runtime and SDK, SDK is all we need
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>
2024-07-04 19:25:49 -04:00
Bevan Weiss 1580bf87f7 Found a way to get the hostname.
Not sure if it's ideal, but it works..

Signed-off-by: Bevan Weiss <bevan.weiss@gmail.com>
2024-07-04 19:25:49 -04:00
Bevan Weiss 18bb064b71 Wrap variable sets in double quotes so special characters don't break them.
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>
2024-07-04 19:25:49 -04:00
Bevan Weiss 491ffc337a Added some comments for the menu.
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.
2024-07-04 19:25:49 -04:00
Bevan Weiss d2582c7bdb Added some more modifications to the Sandbox.
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>
2024-07-04 19:25:49 -04:00
Bevan Weiss a4f09c89c7 Add Sandbox configuration to more easily perform Integration tests.
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>
2024-07-04 19:25:49 -04:00
Rami c5c226be1d Added missing localization files from wix3 2024-07-04 19:12:03 -04:00
Rami dfeddbbeec Added missing localization files from wix3 2024-07-04 19:12:03 -04:00
Bob Arnson 96b546f04b Add trx logging for individual runtests.cmd. 2024-06-19 23:56:36 -04:00
Kuba314 64fc1bc294 Fix build -includepath help message
The includepath argument was displayed as `-include` in help message
while only `-includepath` is accepted.
2024-06-10 23:11:23 -04:00
Bob Arnson 1a38763b97 Add a IUIBA edge-case test and clean up a bit. 2024-06-10 20:44:12 -04:00
Bob Arnson eed1b5bbfb Build native code with VC v143 toolset only.
v143 output is compatible back to VS2017 (at least).

Fixes https://github.com/wixtoolset/issues/issues/8211.
2024-06-10 19:59:35 -04:00
Peter Hull 4946477e98 Add test for formatting file in place (issue-8181) 2024-05-06 17:03:23 -04:00
Peter Hull 4f4862bc65 Pass sourceFile through to formatter 2024-05-06 17:03:23 -04:00
Bob Arnson f9569df031 Add UTF-8, no-prefix, and Unicode characters. 2024-04-28 00:22:39 -04:00
Rob Mensching ca8a55ed44 Update to wixext folder to v6 2024-04-25 13:31:39 -07:00
Rob Mensching a500693e3c Update tests to use TestVersion property instead of generic Version property
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.
2024-04-25 13:31:39 -07:00