Hans Leidekker
489f82e9b4
msi: Rewrite command line parsing to handle quoted values correctly.
2010-12-23 17:44:47 +01:00
André Hentschel
0e5c2f346d
msi/tests: Remove superfluous check.
2010-12-20 12:47:41 +01:00
André Hentschel
6e9b841216
msi: Fix test failure on some 2k3 machines.
2010-12-13 16:24:10 +01:00
Hans Leidekker
1214dca412
msi/tests: Fix some test failures on Wow64.
2010-12-10 17:09:37 +01:00
Hans Leidekker
973821c775
msi/tests: Avoid a test failure on 64-bit.
2010-12-09 12:17:22 +01:00
Hans Leidekker
23169289e6
msi: Map neutral parts of package language ids to the system default language id.
2010-12-06 19:05:53 +01:00
Alexandre Julliard
24d2f694cb
msi/tests: Fix a test failure on win2k.
2010-12-03 16:15:13 +01:00
Hans Leidekker
ad6b7cd46a
msi: Clear last error on success in MsiQueryFeatureState and MsiQueryProductState.
2010-12-02 12:47:42 +01:00
Hans Leidekker
c47ecd1ccc
msi: Always ignore disabled components.
2010-11-30 16:21:01 +01:00
Hans Leidekker
e609bb0453
msi/tests: Fix the scope of todo_wine in the tests for MsiApplyMultiplePatches.
...
These tests succeed on Wine if you run them from a volume for which GetDriveType
returns something other than DRIVE_FIXED, e.g. a ramdisk.
2010-11-26 14:59:35 +01:00
Hans Leidekker
1f96b882e9
msi: Fix the Create/RemoveFolders actions to actually create and remove empty folders.
2010-11-26 14:59:02 +01:00
Hans Leidekker
c3adb72820
msi: Add support for importing and exporting the special _ForceCodepage table.
2010-11-17 14:01:13 +01:00
Paul Vriens
e21115187e
msi/tests: Cleanup properly on Win9x.
2010-11-15 13:20:06 +01:00
Hans Leidekker
5871ad6d00
msi: Revert 3cd55cc916
.
...
It breaks the Office 2003 installer.
2010-11-03 16:06:43 +01:00
Hans Leidekker
031c70c965
msi: Register service arguments in the InstallServices action.
2010-10-22 12:07:00 +02:00
Hans Leidekker
5a0a53820a
msi/tests: Add tests for msidbFeatureAttributesUIDisallowAbsent.
2010-10-22 12:06:39 +02:00
Hans Leidekker
eaa57c5b7b
msi: Compare strings without depending on thread locale.
2010-10-19 13:49:54 +02:00
Hans Leidekker
8db3c0e358
msi/tests: Move test coverage for standard actions to a separate module.
2010-10-14 17:54:52 +02:00
Hans Leidekker
9cc4b0caae
msi/tests: Don't create a nested restore point on recent versions of MSI.
...
We now set the MSIFASTINSTALL property which disables restore points.
2010-10-13 15:52:58 +02:00
Hans Leidekker
0df4712658
msi/tests: Reduce the UI level for a couple of tests.
...
This makes the tests run faster because native only creates restore points
for installers with a basic UI level and higher.
2010-10-11 17:11:27 +02:00
Hans Leidekker
eafebe0f7d
msi/tests: Set the MSIFASTINSTALL property.
...
On recent versions of msi this prevents the creation of a system restore
point, which can take a very long time.
2010-10-11 17:11:27 +02:00
Hans Leidekker
5709fab04c
msi/tests: Fix some test failures on 64-bit.
2010-10-11 17:11:26 +02:00
Hans Leidekker
cf6e820106
msi: Allocate 3 bytes instead of 2 for in-memory string references.
...
Fixes an installer that stores string references as 2 byte integers and
grows the number of strings beyond the limit of 64k during installation.
2010-10-11 17:11:26 +02:00
Hans Leidekker
b719338433
msi/tests: Use a different product code in the automation tests.
2010-10-11 17:11:26 +02:00
Hans Leidekker
3d33fb93cc
msi/tests: Determine Wow64 mode just once.
2010-10-11 17:11:26 +02:00
Hans Leidekker
9e166a9690
msi/tests: Fix some test failures on 64-bit.
2010-10-06 20:46:37 +02:00
Hans Leidekker
3cd55cc916
msi Set the feature action to INSTALLSTATE_UNKNOWN if msidbFeatureAttributesUIDisallowAbsent is set.
2010-10-06 20:46:34 +02:00
Hans Leidekker
a9c3195eb8
msi: Add package validation tests.
2010-10-06 20:46:30 +02:00
Hans Leidekker
52aab76eb2
msi: Put the uninstall key for 32-bit packages under Wow6432Node on 64-bit.
2010-10-05 17:50:16 +02:00
Andrew Eikum
f62439c0d4
msi/tests: Fix copy-paste errors in tests.
2010-10-01 17:48:11 +02:00
Hans Leidekker
dfc9351ba4
msi: Set more 64-bit properties.
2010-10-01 17:48:10 +02:00
Alexandre Julliard
d1d1d0205d
msi/tests: Make some variables static.
2010-10-01 13:36:43 +02:00
Alexandre Julliard
b4109a079f
msi/tests: Fix a test failure on 64-bit.
2010-09-30 17:51:17 +02:00
Alexandre Julliard
9fe16f8ae9
msi/tests: Avoid corrupting the pending file renames key on failure.
2010-09-30 17:51:17 +02:00
Hans Leidekker
259b5fdfa6
msi: Treat empty string as NULL in MsiGetSummaryInformationW.
2010-09-29 10:09:31 +02:00
Hans Leidekker
d59c99067a
msi/test: Add tests for MsiGetFeatureState.
2010-09-24 18:20:36 +02:00
Paul Vriens
3d6a57a494
msi/tests: Prevent a popup on Windows NT.
2010-09-20 13:57:45 +02:00
Alexandre Julliard
81b8ee863e
makefiles: Add a standard header for all makefiles to replace the common variable initializations.
2010-09-19 12:36:48 +02:00
Hans Leidekker
a0ebe951b6
msi: Read supported platform and language ids from the summary information stream.
2010-09-18 13:06:28 +02:00
Hans Leidekker
4a5b2abcf4
msi/tests: Fix some test failures on 64-bit.
2010-09-08 19:51:00 +02:00
Francois Gouget
b66eb177af
msi/tests: Fix compilation on systems that don't support nameless unions or structs.
2010-09-07 16:01:39 +02:00
Hans Leidekker
2fb648c04f
msi/tests: Add tests for 64-bit properties.
2010-09-02 18:05:22 +02:00
Hans Leidekker
18ebf2c576
msi: Return an error from MsiDatabaseGetPrimaryKeys if the table does not exist.
2010-09-02 18:05:22 +02:00
Hans Leidekker
d411c49dd1
msi/tests: Fix a WoW64 test failure.
2010-08-27 12:08:22 +02:00
Hans Leidekker
137dfbe80a
msi/tests: Use a different product code in the package tests to avoid cascading test failures.
2010-08-27 12:08:08 +02:00
Hans Leidekker
5d85497a15
msi: Handle signature filenames in short|long notation.
2010-08-18 15:31:18 +02:00
Hans Leidekker
0c044c10d0
msi/tests: Skip SourceDir tests on win9x.
2010-08-18 15:30:49 +02:00
Hans Leidekker
7c89d4f28f
msi/tests: Use HKEY_CURRENT_USER instead of HKEY_LOCAL_MACHINE for registry tests.
...
Works around test failures on 64-bit Windows where MsiInstallProduct
returns success even though the registry keys specified in the
Registry table are not created.
2010-08-18 15:30:43 +02:00
Hans Leidekker
4102156e0f
msi/tests: Fix some WoW64 test failures.
2010-08-18 15:30:28 +02:00
Hans Leidekker
33b6ad7f73
msi/tests: Skip tests if UAC is enabled and the process is not running elevated.
2010-07-26 18:38:31 +02:00
Hans Leidekker
9686c95749
msi/tests: Skip a test if the current user has insufficient rights.
2010-07-26 18:38:31 +02:00
Hans Leidekker
2b0c45674f
msi: Add some tests for MsiGetSourcePath.
2010-07-23 11:46:06 +02:00
Hans Leidekker
bd634c0491
msi: Set/unset the SourceDir property at the right stage in the execution sequence.
2010-07-23 11:46:01 +02:00
Hans Leidekker
ac924566fb
msi/tests: Properly contruct the icon path for win9x.
2010-07-23 11:45:44 +02:00
Hans Leidekker
148887082c
msi/tests: Initialize a string buffer and fix some leaks.
2010-07-23 11:45:39 +02:00
Hans Leidekker
c4bf9fb710
msi/tests: Fix some more wow64 test failures.
2010-07-22 16:10:42 +02:00
Hans Leidekker
c4511481db
msi/tests: Avoid a long timeout in the test for DeleteServices.
2010-07-22 16:10:29 +02:00
Hans Leidekker
10a32a0b7a
msi/tests: Skip tests when the current user has insufficient rights.
2010-07-22 16:10:19 +02:00
Hans Leidekker
dad50e3aa0
msi/tests: Return an error code from helper_createpackage and package_from_db.
2010-07-22 16:09:56 +02:00
Hans Leidekker
21d09ffb43
msi/tests: Fix test failures on wow64.
2010-07-22 16:09:43 +02:00
Hans Leidekker
06afeec2a5
msi: Make sure properties are updated after applying a patch.
2010-07-22 16:09:09 +02:00
Alexandre Julliard
b86d515ed6
dlls: Remove explicit imports of kernel32 and ntdll.
2010-07-21 17:38:36 +02:00
Hans Leidekker
409e2d7105
msi/tests: Double null-terminate a REG_MULTI_SZ string.
2010-07-21 13:24:01 +02:00
Hans Leidekker
424e3a9fb8
msi: Move the component enabled check into the standard actions.
2010-07-21 13:24:00 +02:00
Hans Leidekker
03cddf9d05
msi: Add a test for MsiSetFeatureState.
2010-07-20 16:29:45 +02:00
Andrew Nguyen
93f92d51a4
msi/tests: Skip some source tests if a required product key cannot be created.
2010-07-09 11:41:11 +02:00
Andrew Nguyen
9c850c9f8a
msi/tests: Fix a source test comment.
2010-07-09 11:41:00 +02:00
Andrew Nguyen
abe900a23c
msi/tests: Remove a redundant source test.
2010-07-09 11:40:56 +02:00
Andrew Nguyen
ba180b8600
msi/tests: Free the user SID string buffer with the correct deallocator in the source tests.
2010-07-09 11:40:36 +02:00
Andrew Nguyen
3b79a7b4ac
msi/tests: Skip patch tests if product installation failed.
2010-07-09 11:40:28 +02:00
Andrew Nguyen
f01b9aab09
msi/test: Uninstall the test product when skipping patch tests.
...
This seems to be a reasonable cleanup action.
2010-07-09 11:39:14 +02:00
Andrew Nguyen
577554260e
msi/tests: Delete the test patch file for proper patch test cleanup.
2010-07-09 11:39:10 +02:00
Andrew Nguyen
ff188900f3
msi/tests: Run the automation tests in silent mode to avoid a dialog.
2010-07-09 11:39:07 +02:00
Alexandre Julliard
044669e709
msi/tests: Check the x86 program directory first for installed files.
2010-07-02 14:14:44 +02:00
Alexandre Julliard
bcb869a342
msi/tests: Reset the enumeration index for MsiEnumProducts before testing it.
2010-07-01 13:21:34 +02:00
Hans Leidekker
ff0f2b35e1
msi: Add tests for MsiLocateComponent and make them pass.
2010-06-14 14:41:45 +02:00
Hans Leidekker
6b1a1579f6
msi: Update an existing record even if the low bit in the transform mask is set.
2010-06-11 15:54:47 +02:00
Hans Leidekker
73774b3ef8
msi: Disable an optimization in the execution of WHERE clauses.
...
There's no guarantee that the condition strings are in the string table.
2010-06-11 15:54:35 +02:00
Hans Leidekker
dcb501decd
msi: Create directories right before installing files.
2010-06-09 16:12:44 +02:00
Matijn Woudt
1a159dfddc
msi/tests: Testcases for CREATE TABLE.
2010-06-07 15:15:49 +02:00
Andrew Eikum
c99c5a41e9
msi/tests: Fix install tests for Win9x.
2010-06-07 13:44:20 +02:00
Andrew Eikum
beb0b2bc05
msi: Publish icons into the correct directory.
2010-05-31 12:14:27 +02:00
Hans Leidekker
c35856dd09
msi: End the search for a directory signature if the parent cannot be found.
2010-05-25 13:29:56 +02:00
Hans Leidekker
c2ce561469
msi: Add a test for properties updated by a patch.
2010-05-25 13:29:35 +02:00
Hans Leidekker
5395c999d2
msi: Add more tests for feature overrides.
2010-05-20 16:25:44 +02:00
Hans Leidekker
e16f187791
msi: Test the reference count on the installer object retrieved from a session object.
2010-05-20 16:25:44 +02:00
Hans Leidekker
2e24d34b22
msi: Fix some leaks in the tests.
2010-05-20 16:25:44 +02:00
Hans Leidekker
dd305c3700
msi: Set the SourceDir property to the registered source if the product is installed.
2010-05-11 16:28:18 +02:00
Hans Leidekker
4d2fb55e4e
msi: Add a test to show that the InstallSource property is unchanged after an upgrade.
2010-05-11 16:28:02 +02:00
Hans Leidekker
715a506fac
msi: Add more patch registration tests.
2010-05-11 16:27:56 +02:00
Hans Leidekker
06a8cc2a06
msi: Add a test to show that patches are not committed to the local package database.
2010-05-11 16:27:49 +02:00
Hans Leidekker
82d7b04c2c
msi: Apply registered patches in MsiOpenPackage.
2010-05-05 15:27:12 +02:00
Hans Leidekker
920fc345ba
msi: Register more patch details.
2010-05-04 13:15:00 +02:00
Hans Leidekker
25460075cc
msi: Add some tests for patch registration.
2010-05-04 13:15:00 +02:00
Hans Leidekker
73f1294431
msi: Test the contents of some of the system tables before and after patching.
2010-04-29 10:19:40 -05:00
Hans Leidekker
7d9d6707c1
msi: Fix some test failures on Windows.
2010-04-29 10:19:39 -05:00
Hans Leidekker
43f7bc8687
msi/tests: Use a unique product code when testing MsiConfigureFeature parameter validation.
...
This is to avoid ERROR_INSTALL_ALREADY_RUNNING errors on Windows.
2010-04-28 15:04:39 -05:00
Hans Leidekker
f23bf7a460
msi/tests: Return INVALID_FILE_SIZE from get_pf_file_size if the file can't be opened.
...
So we can distinguish a zero-sized file from a file that doesn't exist.
2010-04-28 15:04:39 -05:00
Hans Leidekker
031d2c63e8
msi: Add a test to show that MsiOpenPackage must apply any existing patches.
2010-04-21 11:57:33 +02:00
Hans Leidekker
d8504e0550
msi: Handle MSIDBOPEN_PATCHFILE properly in MsiOpenDatabase.
2010-04-19 14:57:49 +02:00
Hans Leidekker
9a9faeffd8
msi: Don't assume unversioned files are present.
2010-04-19 14:57:43 +02:00
Hans Leidekker
f08c355e09
msi: Add beginnings of a test module that concentrates on patches.
2010-04-19 14:57:35 +02:00
Hans Leidekker
a0ba56b3bd
msi/tests: Run the RemoveODBC action to unregister the fake drivers.
2010-04-13 11:48:20 +02:00
Paul Vriens
55fbf84d26
msi/tests: Remove temporary files.
2010-04-09 11:53:58 +02:00
Hans Leidekker
7aad77ae58
msi: Add tests for registering and unregistering MIME info.
2010-04-02 15:22:49 +02:00
Hans Leidekker
a7ef96f97f
msi: Add tests for registering and unregistering extension info.
2010-04-02 15:22:49 +02:00
Hans Leidekker
90158af2dc
msi: Add tests for registering and unregistering class info.
2010-04-02 15:22:48 +02:00
Mikhail Maroukhine
f930c87fd6
objbase.h: CLSIDFromString: Add constness to the parameters declaration in accordance with MSDN.
2010-03-29 12:11:02 +02:00
Hans Leidekker
1407f1ee36
msi: Return the right error when a cabinet cannot be extracted.
2010-03-26 15:35:20 +01:00
Paul Vriens
d495fa1e68
msi/tests: Fix test failures on W2K with Windows Installer 3.0.
2010-03-25 13:01:29 +01:00
Paul Vriens
114aa43a54
msi/tests: Fix test failures on W2K with Windows Installer 2.x.
2010-03-25 13:01:24 +01:00
Paul Vriens
05d0787d08
msi/tests: Fix test failures on W2K with Windows Installer 2.x.
2010-03-24 21:53:05 +01:00
Hans Leidekker
367c2048a1
msi: Don't crash on null last parameter in MsiDecomposeDescriptor.
2010-03-23 13:24:27 +01:00
Paul Vriens
ba51763f4a
msi/tests: Remove temporary files.
2010-03-22 10:42:48 +01:00
Alexandre Julliard
bef5645eb1
makefiles: Remove the no longer needed explicit separators for dependencies.
2010-03-16 13:28:19 +01:00
Paul Vriens
e5c182f0df
msi/tests: Remove a key after running tests.
2010-03-15 13:17:38 +01:00
Hans Leidekker
aaf5ffb2b5
msi: Add tests for removing environment strings.
2010-03-03 15:23:28 +01:00
Hans Leidekker
75ec82bbaf
msi: Add tests for removing values from .ini files.
2010-03-02 16:12:23 +01:00
Hans Leidekker
1fe30e0015
msi: Skip the FindRelatedProducts action when product is already installed.
2010-03-02 16:12:08 +01:00
Hans Leidekker
fd5887e5a9
msi: Remove empty directories as part of the RemoveFiles action.
2010-02-26 14:20:48 +01:00
Hans Leidekker
b2c8f35107
msi: Add tests for removing registry values.
2010-02-25 16:00:58 +01:00
Hans Leidekker
5c59617121
msi: Add tests for creating and removing duplicate files.
2010-02-23 13:31:04 +01:00
Hans Leidekker
a620a84f4c
msi/tests: Free exception information.
...
Found by Valgrind.
2010-02-22 13:15:16 +01:00
Alexandre Julliard
6164ce2d82
makefiles: Use the standard C_SRCS variable as the list of test files.
...
This enables it to be auto-updated by make_makefiles.
2010-02-22 10:47:11 +01:00
Hans Leidekker
1ff9923148
msi: Add summary information stream to the streams table.
2010-02-19 13:06:53 +01:00
Hans Leidekker
f80f1cc2db
msi: Accept '\5' and '-' in SQL identifiers.
2010-02-19 13:06:32 +01:00
Hans Leidekker
65c68efc8d
msi: Implement MSIRUNMODE_MAINTENANCE and MSIRUNMODE_REBOOTATEND for MsiGetMode.
2010-02-18 14:39:11 +01:00
Hans Leidekker
a11882fc0f
msi: Implement MsiSetMode.
2010-02-18 14:39:06 +01:00
Hans Leidekker
7b660bb3d8
msi: Add tests for publishing and unpublishing components.
2010-02-17 10:57:45 +01:00
Hans Leidekker
9cbb80d984
msi: Only run the CreateFolder and RemoveFolder actions when the component is set to be installed or removed, respectively.
2010-02-16 12:29:08 +01:00
Hans Leidekker
438ad93b22
msi: Implement and test MsiGetPatchInfoA/W.
2010-02-15 16:36:39 +01:00
Hans Leidekker
b4bdfe6746
msi: Add tests for creating and removing shortcuts.
2010-02-15 12:20:02 +01:00
Paul Vriens
983cff23fa
msi/tests: Fix a test failure on Win9x/WinMe.
2010-02-12 16:39:39 +01:00
Hans Leidekker
82d50fa675
msi: Return the right error from ITERATE_RegisterTypeLibraries.
2010-02-12 14:49:38 +01:00
Hans Leidekker
98761037ab
msi: Implement the UnregisterTypeLibraries standard action.
2010-02-12 14:49:38 +01:00
Hans Leidekker
bbfaf6af75
msi: Add tests for installing and removing ODBC drivers.
2010-02-11 14:38:45 +01:00
Paul Vriens
312e4f6b23
msi/tests: Run the 'in_use' tests again.
2010-02-10 17:31:28 +01:00
Hans Leidekker
068cb1291b
msi: Add a partial implementation of the ValidateProductID standard action.
2010-02-10 14:31:49 +01:00
Hans Leidekker
7331b3ca98
msi: Implement the UnregisterFonts standard action.
2010-02-10 14:31:15 +01:00
Hans Leidekker
f5af1ca399
msi: Implement the SelfUnregModules standard action.
2010-02-05 15:33:11 +01:00
Hans Leidekker
3864ddf9f2
msi: Implement the RemoveFolders standard action.
2010-02-05 15:33:05 +01:00
Marcus Meissner
5c4a3bd61b
msi: Handle some error returns (Coverity).
2010-02-04 17:27:34 +01:00
Hans Leidekker
b9da31f112
msi: Implement the DeleteServices standard action.
2010-02-04 13:39:29 +01:00
Hans Leidekker
3d38c07706
msi: Add tests for the _Streams table implementation.
2010-02-04 13:39:29 +01:00
Hans Leidekker
743ead45c8
msi: Test duplicating files from a nonexistent component.
2010-02-02 11:47:19 +01:00
Paul Vriens
086711818b
msi/tests: Fix some test failures on Win9x up to W2K.
2010-02-02 11:47:19 +01:00
Hans Leidekker
246f9305e9
msi: Don't fail if the service to start is already running.
2010-02-01 12:11:18 +01:00
Hans Leidekker
1d0db2b19b
msi: Don't create all directories in the CreateFolders action.
...
The CreatFolders action should create only the directories listed in the
CreateFolder table, the rest will be created during the InstallFiles action.
Fixes the EndNote 8 installer.
2010-01-28 15:30:26 +01:00
Hans Leidekker
4d14ea47f7
msi: Add a test for MsiSetTargetPath.
2010-01-28 15:30:25 +01:00
Hans Leidekker
0d770c96fe
msi: Don't evaluate the condition table when there are overrides.
2010-01-27 18:46:08 +01:00