Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-cw
Commits
ec688fb4
Commit
ec688fb4
authored
Jul 04, 2004
by
Aric Stewart
Committed by
Alexandre Julliard
Jul 04, 2004
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Beginnings of costing and organizing into components and features.
parent
e2d4ea81
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
13 additions
and
2 deletions
+13
-2
Makefile.in
dlls/msi/Makefile.in
+1
-1
action.c
dlls/msi/action.c
+0
-0
cond.y
dlls/msi/cond.y
+2
-1
msipriv.h
dlls/msi/msipriv.h
+3
-0
package.c
dlls/msi/package.c
+7
-0
No files found.
dlls/msi/Makefile.in
View file @
ec688fb4
...
...
@@ -3,7 +3,7 @@ TOPOBJDIR = ../..
SRCDIR
=
@srcdir@
VPATH
=
@srcdir@
MODULE
=
msi.dll
IMPORTS
=
shell32 cabinet ole
32
user32 advapi32 kernel32
IMPORTS
=
shell32 cabinet ole
aut32 ole32 version
user32 advapi32 kernel32
EXTRALIBS
=
-luuid
$(LIBUNICODE)
C_SRCS
=
\
...
...
dlls/msi/action.c
View file @
ec688fb4
This diff is collapsed.
Click to expand it.
dlls/msi/cond.y
View file @
ec688fb4
...
...
@@ -573,7 +573,8 @@ static INT comp_ge_m2(INT a, LPWSTR b)
static int COND_IsAlpha( WCHAR x )
{
return( ( ( x >= 'A' ) && ( x <= 'Z' ) ) ||
( ( x >= 'a' ) && ( x <= 'z' ) ) );
( ( x >= 'a' ) && ( x <= 'z' ) ) ||
( ( x == '_' ) ) );
}
static int COND_IsNumber( WCHAR x )
...
...
dlls/msi/msipriv.h
View file @
ec688fb4
...
...
@@ -149,6 +149,8 @@ typedef struct tagMSIPACKAGE
UINT
loaded_folders
;
struct
tagMSICOMPONENT
*
components
;
UINT
loaded_components
;
struct
tagMSIFILE
*
files
;
UINT
loaded_files
;
}
MSIPACKAGE
;
#define MSIHANDLETYPE_ANY 0
...
...
@@ -220,6 +222,7 @@ UINT read_raw_stream_data( MSIHANDLE hdb, LPCWSTR stname,
USHORT
**
pdata
,
UINT
*
psz
);
UINT
ACTION_DoTopLevelINSTALL
(
MSIHANDLE
hPackage
,
LPCWSTR
szPackagePath
,
LPCWSTR
szCommandLine
);
void
ACTION_remove_tracked_tempfiles
(
MSIPACKAGE
*
hPackage
);
/* record internals */
extern
UINT
WINAPI
MSI_RecordSetIStream
(
MSIHANDLE
handle
,
...
...
dlls/msi/package.c
View file @
ec688fb4
...
...
@@ -56,6 +56,8 @@ void MSI_FreePackage( VOID *arg)
MsiCloseHandle
(
package
->
db
);
ACTION_remove_tracked_tempfiles
(
package
);
if
(
package
->
features
&&
package
->
loaded_features
>
0
)
HeapFree
(
GetProcessHeap
(),
0
,
package
->
features
);
...
...
@@ -64,6 +66,9 @@ void MSI_FreePackage( VOID *arg)
if
(
package
->
components
&&
package
->
loaded_components
>
0
)
HeapFree
(
GetProcessHeap
(),
0
,
package
->
components
);
if
(
package
->
files
&&
package
->
loaded_files
>
0
)
HeapFree
(
GetProcessHeap
(),
0
,
package
->
files
);
}
UINT
WINAPI
MsiOpenPackageA
(
LPCSTR
szPackage
,
MSIHANDLE
*
phPackage
)
...
...
@@ -299,9 +304,11 @@ UINT WINAPI MsiOpenPackageW(LPCWSTR szPackage, MSIHANDLE *phPackage)
package
->
features
=
NULL
;
package
->
folders
=
NULL
;
package
->
components
=
NULL
;
package
->
files
=
NULL
;
package
->
loaded_features
=
0
;
package
->
loaded_folders
=
0
;
package
->
loaded_components
=
0
;
package
->
loaded_files
=
0
;
/* ok here is where we do a slew of things to the database to
* prep for all that is to come as a package */
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment