Mike McCormack
451ef3a9c3
Stub implementation for MsiAdvertiseScriptA/W.
2005-11-02 19:54:31 +00:00
Mike McCormack
50684c15d5
Create the +msidb debug channel for msi database code.
2005-11-02 14:24:21 +00:00
Aric Stewart
d5655f90cf
Force files to install if the REINSTALL property is set.
2005-11-02 14:21:17 +00:00
Mike McCormack
76137e55b7
Fix parameter handling in MsiSetTargetPath, and add a test for it.
2005-11-02 11:43:05 +00:00
Mike McCormack
fd4a2003db
Implement the RemoveFiles action.
2005-11-02 11:42:56 +00:00
Mike McCormack
15e578dfbc
Stub implementation for MsiGetFileHashA/W.
2005-11-02 10:56:54 +00:00
Mike McCormack
dded8fb7a8
Use an enumeration for file states.
2005-11-02 10:56:42 +00:00
Mike McCormack
4413adf9a9
Define NONAMELESSUNION and NONAMELESSSTRUCT for older compilers.
2005-11-02 10:56:22 +00:00
Mike McCormack
7cd5467377
Make sure to unregister all the classes that were registered when msi
...
is unloaded, so we can register again cleanly.
2005-10-31 15:43:39 +00:00
Mike McCormack
3e6f31bf0b
Fix and test MsiGetProperty and MsiSetProperty.
2005-10-31 14:07:37 +00:00
Mike McCormack
94caa05d07
Improve MsiUseFeatureEx and MsiGetFeatureState a little, add some
...
simple test cases.
2005-10-31 14:07:20 +00:00
Mike McCormack
559427023f
Add a stub for the AllocateRegistrySpace action.
2005-10-30 19:23:28 +00:00
Mike McCormack
ec5edeebf4
Define MSIDBOPEN_ constants using LPCWSTR when compiling Wine.
2005-10-30 19:21:51 +00:00
Mike McCormack
fa292e4bb2
Add a read-only implementation of the SelectionTree control.
2005-10-30 19:21:24 +00:00
Mike McCormack
7f26cffd6b
Simplify register_progid() and remove a fixed length buffer.
2005-10-30 19:17:06 +00:00
Mike McCormack
cad9677756
Handle MaskEdit masks containing dashes and other constant
...
characters.
2005-10-30 19:16:55 +00:00
Mike McCormack
9293f869cc
Use msi_get_property_int() in a few more places.
2005-10-30 19:16:45 +00:00
Mike McCormack
06c477fec8
Add a stub implementation of msi.MsiSetMode.
2005-10-30 19:05:13 +00:00
Mike McCormack
f8853e4a9f
Remove unused package parameter of register_progid_base().
2005-10-30 19:04:57 +00:00
Mike McCormack
9ba8ba30bb
Use "static const" rather than "const static" as gcc -W complains
...
about the former.
2005-10-30 19:04:26 +00:00
Mike McCormack
991bae1409
Don't change the UI level during ExecuteAction.
2005-10-29 11:40:03 +00:00
Mike McCormack
13fee293ba
Implement MsiGetFeatureUsageA and MsiUseFeature(Ex)A using their W
...
versions.
2005-10-29 11:36:57 +00:00
Mike McCormack
d693f461ba
Remove the unused 1st parameter of ACTION_VerifyComponentForAction.
2005-10-29 11:36:48 +00:00
Mike McCormack
96e24c1d82
Explicitly check for MSICONDITION_TRUE being returned from
...
MsiEvaluateCondition.
2005-10-29 11:29:31 +00:00
Mike McCormack
9c8458514c
Some installers don't call the CreateFolders action before the
...
InstallFiles action as MSDN specifies, but it still seems to work, so
make sure that we create component directories in the InstallFiles
action anyway.
2005-10-29 11:29:17 +00:00
Mike McCormack
9d43994ec2
Add a bunch of tests for MsiEvaluateCondition and make them pass.
2005-10-29 11:08:05 +00:00
Mike McCormack
4007d748dc
Make enter and escape trigger the default and cancel buttons in
...
dialogs.
2005-10-29 11:07:46 +00:00
Mike McCormack
29c93e431d
Deleted two buggy functions that incorrectly and inefficiently check
...
whether a row already exists in a table, and replaced them with a call
to an existing working function that does the same thing correctly.
2005-10-29 11:07:29 +00:00
Mike McCormack
ab787f9d89
Remove an incorrect comment and check for 0 being an invalid file
...
handle.
2005-10-29 11:07:11 +00:00
Mike McCormack
d730baf3b1
Extract file directly to their target location, bypassing the need to
...
use temporary files and move files.
2005-10-29 10:31:06 +00:00
Thomas Weidenmueller
561f2f0399
Passing NULL as the last two parameters to ReadFile is illegal and
...
actually causes a crash on windows. The attached patch fixes this.
2005-10-29 10:29:08 +00:00
Mike McCormack
481bccc8b7
Add an implementation for MsiGetShortcutTargetA/W.
2005-10-29 10:28:30 +00:00
Mike McCormack
7d99f36d03
Fix a memory leak.
2005-10-28 16:41:02 +00:00
Mike McCormack
7bdcc78bcd
Put the UI update code for cabinet file into a separate function.
2005-10-28 10:43:50 +00:00
Mike McCormack
8caef535e0
Return an error in MsiGetComponentPathW if passed a null component.
2005-10-28 10:41:20 +00:00
Mike McCormack
029c83d88e
Fix error handling in MsiEvaluateCondition.
2005-10-28 10:41:05 +00:00
Mike McCormack
2fa0dbd595
Translate INVALID_HANDLE_VALUE to zero for cabinet handles.
2005-10-28 10:40:54 +00:00
Mike McCormack
923a9e47e7
Fix a memory leak in the cabinet extracting code.
2005-10-28 10:09:59 +00:00
Mike McCormack
0bf9978da2
Fix MsiGetPropertyA/W spec declarations.
2005-10-28 09:39:35 +00:00
Mike McCormack
03b4dbbdc4
Create component folders in the CreateFolders action.
2005-10-28 09:39:29 +00:00
Mike McCormack
558abec8d5
If an action fails, print out its name as well as the error code. Use
...
%d for error codes so it's easy to match them up to something in
winerror.h.
2005-10-27 12:39:28 +00:00
Mike McCormack
51c6618d8d
Rename load_dynamic_stringW to msi_dup_record_field to better describe
...
what it does, and replace a few instances with MSI_RecordGetString to
avoid allocating memory.
2005-10-27 12:36:12 +00:00
Mike McCormack
1cd26d25fc
Implement transforms. This still includes some debugging code which
...
can be enabled by setting debug_transform to 1 in the relevant
places.
2005-10-27 12:25:04 +00:00
Mike McCormack
ba293eef48
Tidy up the RegisterProduct action a little.
2005-10-27 12:08:16 +00:00
Mike McCormack
f8fef6ea94
Create a stub function to apply a single table transform and call it
...
where we need to apply transforms.
2005-10-26 13:56:33 +00:00
Mike McCormack
965a72add0
Enumerate the substorage transforms for any patches that are passed on
...
the command line with PATCH=. Need to implement
table_apply_transform() before this will do anything interesting.
2005-10-26 12:06:21 +00:00
Mike McCormack
6d9c80e8a0
Create an internal handle-free api for reading MSI database summary
...
information.
2005-10-26 10:10:50 +00:00
Mike McCormack
2cb2316557
Switch back to using IPicture to load images. LoadImage did the
...
resizing for us, but doesn't handle jpeg files and requires us writing
a temp file, whereas IPicture handles jpeg files and can load directly
from a stream.
2005-10-26 10:10:34 +00:00
Mike McCormack
61f24a4ca7
Rename ACTION_DoTopLevelINSTALL to MSI_InstallPackage, remove its
...
duplicate 4th parameter.
Split the code to copy a package into a separate function.
2005-09-30 10:32:41 +00:00
Mike McCormack
0560ea618e
Avoid UpdateWindow, it causes trouble with WS_EX_TRANSPARENT.
2005-09-29 10:48:08 +00:00