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
eafebe0f
Commit
eafebe0f
authored
Oct 11, 2010
by
Hans Leidekker
Committed by
Alexandre Julliard
Oct 11, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msi/tests: Set the MSIFASTINSTALL property.
On recent versions of msi this prevents the creation of a system restore point, which can take a very long time.
parent
5709fab0
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
26 additions
and
13 deletions
+26
-13
automation.c
dlls/msi/tests/automation.c
+5
-4
install.c
dlls/msi/tests/install.c
+16
-8
package.c
dlls/msi/tests/package.c
+3
-0
patch.c
dlls/msi/tests/patch.c
+2
-1
No files found.
dlls/msi/tests/automation.c
View file @
eafebe0f
...
...
@@ -79,7 +79,7 @@ static const CHAR directory_dat[] = "Directory\tDirectory_Parent\tDefaultDir\n"
"MSITESTDIR
\t
ProgramFilesFolder
\t
msitest
\n
"
"NEWDIR
\t
CABOUTDIR
\t
new
\n
"
"ProgramFilesFolder
\t
TARGETDIR
\t
.
\n
"
"TARGETDIR
\t\t
SourceDir"
;
"TARGETDIR
\t\t
SourceDir
\n
"
;
static
const
CHAR
feature_dat
[]
=
"Feature
\t
Feature_Parent
\t
Title
\t
Description
\t
Display
\t
Level
\t
Directory_
\t
Attributes
\n
"
"s38
\t
S38
\t
L64
\t
L255
\t
I2
\t
i2
\t
S72
\t
i2
\n
"
...
...
@@ -125,7 +125,7 @@ static const CHAR install_exec_seq_dat[] = "Action\tCondition\tSequence\n"
"InstallInitialize
\t\t
1500
\n
"
"InstallValidate
\t\t
1400
\n
"
"LaunchConditions
\t\t
100
\n
"
"WriteRegistryValues
\t
SourceDir And SOURCEDIR
\t
5000"
;
"WriteRegistryValues
\t
SourceDir And SOURCEDIR
\t
5000
\n
"
;
static
const
CHAR
media_dat
[]
=
"DiskId
\t
LastSequence
\t
DiskPrompt
\t
Cabinet
\t
VolumeLabel
\t
Source
\n
"
"i2
\t
i4
\t
L64
\t
S255
\t
S32
\t
S72
\n
"
...
...
@@ -148,7 +148,8 @@ static const CHAR property_dat[] = "Property\tValue\n"
"ProductVersion
\t
1.1.1
\n
"
"PROMPTROLLBACKCOST
\t
P
\n
"
"Setup
\t
Setup
\n
"
"UpgradeCode
\t
{CE067E8D-2E1A-4367-B734-4EB2BDAD6565}"
;
"UpgradeCode
\t
{CE067E8D-2E1A-4367-B734-4EB2BDAD6565}
\n
"
"MSIFASTINSTALL
\t
1
\n
"
;
static
const
CHAR
registry_dat
[]
=
"Registry
\t
Root
\t
Key
\t
Name
\t
Value
\t
Component_
\n
"
"s72
\t
i2
\t
l255
\t
L255
\t
L0
\t
s72
\n
"
...
...
@@ -156,7 +157,7 @@ static const CHAR registry_dat[] = "Registry\tRoot\tKey\tName\tValue\tComponent_
"Apples
\t
1
\t
SOFTWARE
\\
Wine
\\
msitest
\t
Name
\t
imaname
\t
One
\n
"
"Oranges
\t
1
\t
SOFTWARE
\\
Wine
\\
msitest
\t
number
\t
#314
\t
Two
\n
"
"regdata
\t
1
\t
SOFTWARE
\\
Wine
\\
msitest
\t
blah
\t
bad
\t
dangler
\n
"
"OrderTest
\t
1
\t
SOFTWARE
\\
Wine
\\
msitest
\t
OrderTestName
\t
OrderTestValue
\t
component"
;
"OrderTest
\t
1
\t
SOFTWARE
\\
Wine
\\
msitest
\t
OrderTestName
\t
OrderTestValue
\t
component
\n
"
;
typedef
struct
_msi_table
{
...
...
dlls/msi/tests/install.c
View file @
eafebe0f
...
...
@@ -171,7 +171,8 @@ static const CHAR property_dat[] = "Property\tValue\n"
"AdminProperties
\t
POSTADMIN
\n
"
"ROOTDRIVE
\t
C:
\\\n
"
"SERVNAME
\t
TestService
\n
"
"SERVDISP
\t
TestServiceDisp
\n
"
;
"SERVDISP
\t
TestServiceDisp
\n
"
"MSIFASTINSTALL
\t
1
\n
"
;
static
const
CHAR
aup_property_dat
[]
=
"Property
\t
Value
\n
"
"s72
\t
l0
\n
"
...
...
@@ -194,7 +195,8 @@ static const CHAR aup_property_dat[] = "Property\tValue\n"
"AdminProperties
\t
POSTADMIN
\n
"
"ROOTDRIVE
\t
C:
\\\n
"
"SERVNAME
\t
TestService
\n
"
"SERVDISP
\t
TestServiceDisp
\n
"
;
"SERVDISP
\t
TestServiceDisp
\n
"
"MSIFASTINSTALL
\t
1
\n
"
;
static
const
CHAR
aup2_property_dat
[]
=
"Property
\t
Value
\n
"
"s72
\t
l0
\n
"
...
...
@@ -217,7 +219,8 @@ static const CHAR aup2_property_dat[] = "Property\tValue\n"
"AdminProperties
\t
POSTADMIN
\n
"
"ROOTDRIVE
\t
C:
\\\n
"
"SERVNAME
\t
TestService
\n
"
"SERVDISP
\t
TestServiceDisp
\n
"
;
"SERVDISP
\t
TestServiceDisp
\n
"
"MSIFASTINSTALL
\t
1
\n
"
;
static
const
CHAR
icon_property_dat
[]
=
"Property
\t
Value
\n
"
"s72
\t
l0
\n
"
...
...
@@ -239,7 +242,8 @@ static const CHAR icon_property_dat[] = "Property\tValue\n"
"AdminProperties
\t
POSTADMIN
\n
"
"ROOTDRIVE
\t
C:
\\\n
"
"SERVNAME
\t
TestService
\n
"
"SERVDISP
\t
TestServiceDisp
\n
"
;
"SERVDISP
\t
TestServiceDisp
\n
"
"MSIFASTINSTALL
\t
1
\n
"
;
static
const
CHAR
shortcut_dat
[]
=
"Shortcut
\t
Directory_
\t
Name
\t
Component_
\t
Target
\t
Arguments
\t
Description
\t
Hotkey
\t
Icon_
\t
IconIndex
\t
ShowCmd
\t
WkDir
\n
"
"s72
\t
s72
\t
l128
\t
s72
\t
s72
\t
S255
\t
L255
\t
I2
\t
S72
\t
I2
\t
I2
\t
S72
\n
"
...
...
@@ -315,7 +319,8 @@ static const CHAR up_property_dat[] = "Property\tValue\n"
"ROOTDRIVE
\t
C:
\\\n
"
"SERVNAME
\t
TestService
\n
"
"SERVDISP
\t
TestServiceDisp
\n
"
"RemovePreviousVersions
\t
1
\n
"
;
"RemovePreviousVersions
\t
1
\n
"
"MSIFASTINSTALL
\t
1
\n
"
;
static
const
CHAR
up2_property_dat
[]
=
"Property
\t
Value
\n
"
"s72
\t
l0
\n
"
...
...
@@ -337,7 +342,8 @@ static const CHAR up2_property_dat[] = "Property\tValue\n"
"AdminProperties
\t
POSTADMIN
\n
"
"ROOTDRIVE
\t
C:
\\\n
"
"SERVNAME
\t
TestService
\n
"
"SERVDISP
\t
TestServiceDisp
\n
"
;
"SERVDISP
\t
TestServiceDisp
\n
"
"MSIFASTINSTALL
\t
1
\n
"
;
static
const
CHAR
up3_property_dat
[]
=
"Property
\t
Value
\n
"
"s72
\t
l0
\n
"
...
...
@@ -360,7 +366,8 @@ static const CHAR up3_property_dat[] = "Property\tValue\n"
"ROOTDRIVE
\t
C:
\\\n
"
"SERVNAME
\t
TestService
\n
"
"SERVDISP
\t
TestServiceDisp
\n
"
"RemovePreviousVersions
\t
1
\n
"
;
"RemovePreviousVersions
\t
1
\n
"
"MSIFASTINSTALL
\t
1
\n
"
;
static
const
CHAR
registry_dat
[]
=
"Registry
\t
Root
\t
Key
\t
Name
\t
Value
\t
Component_
\n
"
"s72
\t
i2
\t
l255
\t
L255
\t
L0
\t
s72
\n
"
...
...
@@ -1294,7 +1301,8 @@ static const CHAR vp_property_dat[] = "Property\tValue\n"
"ProductLanguage
\t
1033
\n
"
"ProductName
\t
MSITEST
\n
"
"ProductVersion
\t
1.1.1
\n
"
"UpgradeCode
\t
{4C0EAA15-0264-4E5A-8758-609EF142B92D}
\n
"
;
"UpgradeCode
\t
{4C0EAA15-0264-4E5A-8758-609EF142B92D}
\n
"
"MSIFASTINSTALL
\t
1
\n
"
;
static
const
CHAR
vp_custom_action_dat
[]
=
"Action
\t
Type
\t
Source
\t
Target
\t
ISComments
\n
"
"s72
\t
i2
\t
S64
\t
S0
\t
S255
\n
"
...
...
dlls/msi/tests/package.c
View file @
eafebe0f
...
...
@@ -2510,6 +2510,9 @@ static void test_states(void)
r
=
add_property_entry
(
hdb
,
"'ProductVersion', '1.1.1'"
);
ok
(
r
==
ERROR_SUCCESS
,
"cannot add property entry: %d
\n
"
,
r
);
r
=
add_property_entry
(
hdb
,
"'MSIFASTINSTALL', '1'"
);
ok
(
r
==
ERROR_SUCCESS
,
"cannot add property entry: %d
\n
"
,
r
);
r
=
create_install_execute_sequence_table
(
hdb
);
ok
(
r
==
ERROR_SUCCESS
,
"cannot create InstallExecuteSequence table: %d
\n
"
,
r
);
...
...
dlls/msi/tests/patch.c
View file @
eafebe0f
...
...
@@ -57,7 +57,8 @@ static const char property_dat[] =
"ProductLanguage
\t
1033
\n
"
"ProductName
\t
msitest
\n
"
"ProductVersion
\t
1.1.1
\n
"
"PATCHNEWSUMMARYSUBJECT
\t
Installer Database
\n
"
;
"PATCHNEWSUMMARYSUBJECT
\t
Installer Database
\n
"
"MSIFASTINSTALL
\t
1
\n
"
;
static
const
char
media_dat
[]
=
"DiskId
\t
LastSequence
\t
DiskPrompt
\t
Cabinet
\t
VolumeLabel
\t
Source
\n
"
...
...
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