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
2cf222f9
Commit
2cf222f9
authored
Jul 06, 2004
by
Aric Stewart
Committed by
Alexandre Julliard
Jul 06, 2004
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Implemented CreateShortcut and PublishProduct.
parent
24e9a344
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
20 additions
and
22 deletions
+20
-22
action.c
dlls/msi/action.c
+0
-0
package.c
dlls/msi/package.c
+20
-22
No files found.
dlls/msi/action.c
View file @
2cf222f9
This diff is collapsed.
Click to expand it.
dlls/msi/package.c
View file @
2cf222f9
...
...
@@ -173,27 +173,6 @@ static VOID set_installer_properties(MSIHANDLE hPackage)
static
const
WCHAR
TF
[]
=
{
'T'
,
'e'
,
'm'
,
'p'
,
'F'
,
'o'
,
'l'
,
'd'
,
'e'
,
'r'
,
0
};
/* Not yet set ... but needed by iTunes
*
DesktopFolder
FavoritesFolder
FontsFolder
PrimaryVolumePath
ProgramFiles64Folder
ProgramMenuFolder
SendToFolder
StartMenuFolder
StartupFolder
System16Folder
System64Folder
TemplateFolder
*/
/* asked for by iTunes ... but are they installer set?
*
* GlobalAssemblyCache
*/
/*
* Other things i notice set
*
...
...
@@ -266,6 +245,7 @@ Privilaged
GetTempPathW
(
MAX_PATH
,
pth
);
MsiSetPropertyW
(
hPackage
,
TF
,
pth
);
/* in a wine enviroment the user is always admin and privlaged */
MsiSetPropertyA
(
hPackage
,
"AdminUser"
,
"1"
);
MsiSetPropertyA
(
hPackage
,
"Privileged"
,
"1"
);
...
...
@@ -288,8 +268,26 @@ Privilaged
MsiSetPropertyA
(
hPackage
,
"WindowsBuild"
,
verstr
);
/* just fudge this */
MsiSetPropertyA
(
hPackage
,
"ServicePackLevel"
,
"6"
);
}
/* FIXME: these need to be set properly */
MsiSetPropertyA
(
hPackage
,
"ProgramMenuFolder"
,
"C:
\\
Windows
\\
Start Menu
\\
Programs
\\
"
);
MsiSetPropertyA
(
hPackage
,
"FavoritesFolder"
,
"C:
\\
Windows
\\
Favorites
\\
"
);
MsiSetPropertyA
(
hPackage
,
"FontsFolder"
,
"C:
\\
Windows
\\
Fonts
\\
"
);
MsiSetPropertyA
(
hPackage
,
"SendToFolder"
,
"C:
\\
Windows
\\
SendTo
\\
"
);
MsiSetPropertyA
(
hPackage
,
"StartMenuFolder"
,
"C:
\\
Windows
\\
Start Menu
\\
"
);
MsiSetPropertyA
(
hPackage
,
"StartupFolder"
,
"C:
\\
Windows
\\
Start Menu
\\
Programs
\\
Startup
\\
"
);
MsiSetPropertyA
(
hPackage
,
"TemplateFolder"
,
"C:
\\
Windows
\\
ShellNew
\\
"
);
MsiSetPropertyA
(
hPackage
,
"DesktopFolder"
,
"C:
\\
Windows
\\
Desktop
\\
"
);
}
UINT
WINAPI
MsiOpenPackageW
(
LPCWSTR
szPackage
,
MSIHANDLE
*
phPackage
)
{
...
...
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