Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
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-winehq
Commits
fd8c175a
Commit
fd8c175a
authored
Jun 16, 2005
by
Aric Stewart
Committed by
Alexandre Julliard
Jun 16, 2005
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add UI messages to FindRelatedProducts.
Reduce unneeded includes.
parent
7f811b71
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
7 deletions
+8
-7
upgrade.c
dlls/msi/upgrade.c
+8
-7
No files found.
dlls/msi/upgrade.c
View file @
fd8c175a
...
...
@@ -27,27 +27,24 @@
*/
#include <stdarg.h>
#include <stdio.h>
#define COBJMACROS
#include "windef.h"
#include "winbase.h"
#include "winerror.h"
#include "winreg.h"
#include "wine/debug.h"
#include "msi.h"
#include "msiquery.h"
#include "msidefs.h"
#include "msipriv.h"
#include "winnls.h"
#include "winuser.h"
#include "winver.h"
#include "action.h"
#include "wine/unicode.h"
WINE_DEFAULT_DEBUG_CHANNEL
(
msi
);
extern
const
WCHAR
szFindRelatedProducts
[];
extern
const
WCHAR
szMigrateFeatureStates
[];
extern
const
WCHAR
szRemoveExistingProducts
[];
static
BOOL
check_language
(
DWORD
lang1
,
LPCWSTR
lang2
,
DWORD
attributes
)
{
DWORD
langdword
;
...
...
@@ -113,6 +110,7 @@ static UINT ITERATE_FindRelatedProducts(MSIRECORD *rec, LPVOID param)
LPCWSTR
upgrade_code
;
HKEY
hkey
=
0
;
UINT
rc
=
ERROR_SUCCESS
;
MSIRECORD
*
uirow
;
upgrade_code
=
MSI_RecordGetString
(
rec
,
1
);
...
...
@@ -120,6 +118,7 @@ static UINT ITERATE_FindRelatedProducts(MSIRECORD *rec, LPVOID param)
if
(
rc
!=
ERROR_SUCCESS
)
return
ERROR_SUCCESS
;
uirow
=
MSI_CreateRecord
(
1
);
attributes
=
MSI_RecordGetInteger
(
rec
,
5
);
while
(
rc
==
ERROR_SUCCESS
)
...
...
@@ -194,10 +193,12 @@ static UINT ITERATE_FindRelatedProducts(MSIRECORD *rec, LPVOID param)
action_property
=
MSI_RecordGetString
(
rec
,
7
);
append_productcode
(
package
,
action_property
,
productid
);
ui_actiondata
(
package
,
szFindRelatedProducts
,
uirow
);
}
index
++
;
}
RegCloseKey
(
hkey
);
msiobj_release
(
&
uirow
->
hdr
);
return
ERROR_SUCCESS
;
}
...
...
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