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
9c9e0981
Commit
9c9e0981
authored
May 20, 2011
by
Hans Leidekker
Committed by
Alexandre Julliard
May 20, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msi: Implement the DisableRollback standard action.
parent
b817fb1a
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
2 deletions
+11
-2
action.c
dlls/msi/action.c
+10
-2
msipriv.h
dlls/msi/msipriv.h
+1
-0
No files found.
dlls/msi/action.c
View file @
9c9e0981
...
...
@@ -7719,7 +7719,9 @@ static UINT ACTION_AllocateRegistrySpace( MSIPACKAGE *package )
static
UINT
ACTION_DisableRollback
(
MSIPACKAGE
*
package
)
{
FIXME
(
"%p
\n
"
,
package
);
TRACE
(
"%p
\n
"
,
package
);
msi_set_property
(
package
->
db
,
szRollbackDisabled
,
szOne
);
return
ERROR_SUCCESS
;
}
...
...
@@ -8146,7 +8148,7 @@ UINT MSI_InstallPackage( MSIPACKAGE *package, LPCWSTR szPackagePath,
{
UINT
rc
;
BOOL
ui_exists
;
static
const
WCHAR
szDisableRollback
[]
=
{
'D'
,
'I'
,
'S'
,
'A'
,
'B'
,
'L'
,
'E'
,
'R'
,
'O'
,
'L'
,
'L'
,
'B'
,
'A'
,
'C'
,
'K'
,
0
};
static
const
WCHAR
szAction
[]
=
{
'A'
,
'C'
,
'T'
,
'I'
,
'O'
,
'N'
,
0
};
static
const
WCHAR
szInstall
[]
=
{
'I'
,
'N'
,
'S'
,
'T'
,
'A'
,
'L'
,
'L'
,
0
};
...
...
@@ -8210,6 +8212,12 @@ UINT MSI_InstallPackage( MSIPACKAGE *package, LPCWSTR szPackagePath,
msi_adjust_privilege_properties
(
package
);
msi_set_context
(
package
);
if
(
msi_get_property_int
(
package
->
db
,
szDisableRollback
,
0
))
{
TRACE
(
"disabling rollback
\n
"
);
msi_set_property
(
package
->
db
,
szRollbackDisabled
,
szOne
);
}
if
(
needs_ui_sequence
(
package
))
{
package
->
script
->
InWhatSequence
|=
SEQUENCE_UI
;
...
...
dlls/msi/msipriv.h
View file @
9c9e0981
...
...
@@ -1143,6 +1143,7 @@ static const WCHAR szStringPool[] = {'_','S','t','r','i','n','g','P','o','o','l'
static
const
WCHAR
szInstallLevel
[]
=
{
'I'
,
'N'
,
'S'
,
'T'
,
'A'
,
'L'
,
'L'
,
'L'
,
'E'
,
'V'
,
'E'
,
'L'
,
0
};
static
const
WCHAR
szCostInitialize
[]
=
{
'C'
,
'o'
,
's'
,
't'
,
'I'
,
'n'
,
'i'
,
't'
,
'i'
,
'a'
,
'l'
,
'i'
,
'z'
,
'e'
,
0
};
static
const
WCHAR
szAppDataFolder
[]
=
{
'A'
,
'p'
,
'p'
,
'D'
,
'a'
,
't'
,
'a'
,
'F'
,
'o'
,
'l'
,
'd'
,
'e'
,
'r'
,
0
};
static
const
WCHAR
szRollbackDisabled
[]
=
{
'R'
,
'o'
,
'l'
,
'l'
,
'b'
,
'a'
,
'c'
,
'k'
,
'D'
,
'i'
,
's'
,
'a'
,
'b'
,
'l'
,
'e'
,
'd'
,
0
};
/* memory allocation macro functions */
static
void
*
msi_alloc
(
size_t
len
)
__WINE_ALLOC_SIZE
(
1
);
...
...
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