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
5c4116bc
Commit
5c4116bc
authored
Dec 16, 2004
by
Vitaly Lipatov
Committed by
Alexandre Julliard
Dec 16, 2004
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add description for MsiGetMode, MSIRUNMODE constants.
parent
1d90e431
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
62 additions
and
3 deletions
+62
-3
action.c
dlls/msi/action.c
+37
-3
msiquery.h
include/msiquery.h
+25
-0
No files found.
dlls/msi/action.c
View file @
5c4116bc
...
...
@@ -4676,10 +4676,44 @@ UINT WINAPI MsiSetTargetPathW(MSIHANDLE hInstall, LPCWSTR szFolder,
return
ret
;
}
BOOL
WINAPI
MsiGetMode
(
MSIHANDLE
hInstall
,
DWORD
iRunMode
)
/***********************************************************************
* MsiGetMode (MSI.@)
*
* Returns an internal installer state (if it is running in a mode iRunMode)
*
* PARAMS
* hInstall [I] Handle to the installation
* hRunMode [I] Checking run mode
* MSIRUNMODE_ADMIN Administrative mode
* MSIRUNMODE_ADVERTISE Advertisement mode
* MSIRUNMODE_MAINTENANCE Maintenance mode
* MSIRUNMODE_ROLLBACKENABLED Rollback is enabled
* MSIRUNMODE_LOGENABLED Log file is writing
* MSIRUNMODE_OPERATIONS Operations in progress??
* MSIRUNMODE_REBOOTATEND We need to reboot after installation completed
* MSIRUNMODE_REBOOTNOW We need to reboot to continue the installation
* MSIRUNMODE_CABINET Files from cabinet are installed
* MSIRUNMODE_SOURCESHORTNAMES Long names in source files is supressed
* MSIRUNMODE_TARGETSHORTNAMES Long names in destination files is supressed
* MSIRUNMODE_RESERVED11 Reserved
* MSIRUNMODE_WINDOWS9X Running under Windows95/98
* MSIRUNMODE_ZAWENABLED Demand installation is supported
* MSIRUNMODE_RESERVED14 Reserved
* MSIRUNMODE_RESERVED15 Reserved
* MSIRUNMODE_SCHEDULED called from install script
* MSIRUNMODE_ROLLBACK called from rollback script
* MSIRUNMODE_COMMIT called from commit script
*
* RETURNS
* In the state: TRUE
* Not in the state: FALSE
*
*/
BOOL
WINAPI
MsiGetMode
(
MSIHANDLE
hInstall
,
MSIRUNMODE
iRunMode
)
{
FIXME
(
"STUB (
%l
i)
\n
"
,
iRunMode
);
return
FALS
E
;
FIXME
(
"STUB (
iRunMode=%
i)
\n
"
,
iRunMode
);
return
TRU
E
;
}
/*
...
...
include/msiquery.h
View file @
5c4116bc
...
...
@@ -59,7 +59,30 @@ typedef enum tagMSIMODIFY
#define MSIDBOPEN_TRANSACT (LPCTSTR)1
#define MSIDBOPEN_DIRECT (LPCTSTR)2
#define MSIDBOPEN_CREATE (LPCTSTR)3
#define MSIDBOPEN_CREATEDIRECT (LPCTSTR)4
typedef
enum
tagMSIRUNMODE
{
MSIRUNMODE_ADMIN
=
0
,
MSIRUNMODE_ADVERTISE
=
1
,
MSIRUNMODE_MAINTENANCE
=
2
,
MSIRUNMODE_ROLLBACKENABLED
=
3
,
MSIRUNMODE_LOGENABLED
=
4
,
MSIRUNMODE_OPERATIONS
=
5
,
MSIRUNMODE_REBOOTATEND
=
6
,
MSIRUNMODE_REBOOTNOW
=
7
,
MSIRUNMODE_CABINET
=
8
,
MSIRUNMODE_SOURCESHORTNAMES
=
9
,
MSIRUNMODE_TARGETSHORTNAMES
=
10
,
MSIRUNMODE_RESERVED11
=
11
,
MSIRUNMODE_WINDOWS9X
=
12
,
MSIRUNMODE_ZAWENABLED
=
13
,
MSIRUNMODE_RESERVED14
=
14
,
MSIRUNMODE_RESERVED15
=
15
,
MSIRUNMODE_SCHEDULED
=
16
,
MSIRUNMODE_ROLLBACK
=
17
,
MSIRUNMODE_COMMIT
=
18
}
MSIRUNMODE
;
/* view manipulation */
UINT
WINAPI
MsiViewFetch
(
MSIHANDLE
,
MSIHANDLE
*
);
...
...
@@ -155,4 +178,6 @@ UINT WINAPI MsiSetFeatureStateA( MSIHANDLE, LPCSTR, INSTALLSTATE);
UINT
WINAPI
MsiSetFeatureStateW
(
MSIHANDLE
,
LPCWSTR
,
INSTALLSTATE
);
#define MsiSetFeatureState WINELIB_NAME_AW(MsiSetFeatureState)
BOOL
WINAPI
MsiGetMode
(
MSIHANDLE
,
MSIRUNMODE
);
#endif
/* __WINE_MSIQUERY_H */
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