-
Notifications
You must be signed in to change notification settings - Fork 46
Add vcrun6sp6 #942
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Add vcrun6sp6 #942
Changes from all commits
Commits
Show all changes
14 commits
Select commit
Hold shift + click to select a range
254649c
Merge pull request #1 from PhoenicisOrg/master
Zemogiter 63f898c
Merge pull request #3 from PhoenicisOrg/master
Zemogiter 71cd3d8
Merge pull request #4 from PhoenicisOrg/master
Zemogiter 60c3cb5
Merge pull request #5 from PhoenicisOrg/master
Zemogiter 69e7bf2
Merge pull request #6 from PhoenicisOrg/master
Zemogiter 5bf56fe
Merge pull request #7 from PhoenicisOrg/master
Zemogiter 1c4fe31
Merge pull request #8 from PhoenicisOrg/master
Zemogiter 66bd276
Merge pull request #9 from PhoenicisOrg/master
Zemogiter 1791c28
Add files via upload
Zemogiter 82998ba
Add files via upload
Zemogiter 070b81f
Delete script.js
Zemogiter 2451c67
Delete script.json
Zemogiter 7880da7
Update script.js
Zemogiter e35aedf
Update script.js
ImperatorS79 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
include("engines.wine.engine.object"); | ||
include("utils.functions.net.resource"); | ||
include("engines.wine.verbs.luna"); | ||
|
||
/** | ||
* Verb to install vcrun6sp6 | ||
* @returns {Wine} Wine object | ||
*/ | ||
Wine.prototype.vcrun6sp6 = function () { | ||
var toBeCabExtracted = new Resource() | ||
.wizard(this.wizard()) | ||
.url("https://download.microsoft.com/download/1/9/f/19fe4660-5792-4683-99e0-8d48c22eed74/Vs6sp6.exe") | ||
.checksum("2292437a8967349261c810ae8b456592eeb76620") | ||
.name("Vs6sp6.exe") | ||
.get(); | ||
|
||
var setupFile = new CabExtract() | ||
.archive(toBeCabExtracted) | ||
.to(this.prefixDirectory() + "/drive_c/vcrun6sp6/") | ||
.extract(["-L", "-F", "vcredist.exe"]); | ||
|
||
remove(this.system32directory() + "comcat.dll"); | ||
remove(this.system32directory() + "msvcrt.dll"); | ||
remove(this.system32directory() + "oleaut32.dll"); | ||
remove(this.system32directory() + "olepro32.dll"); | ||
remove(this.system32directory() + "stdole2.dll"); | ||
|
||
this.wizard().wait(tr("Please wait while {0} is installed...", "vcrun6sp6")); | ||
this.run(setupFile, "/q", null, false, true); | ||
|
||
return this; | ||
}; | ||
|
||
/** | ||
* Verb to install vcrun6sp6 | ||
*/ | ||
var verbImplementation = { | ||
install: function (container) { | ||
var wine = new Wine(); | ||
wine.prefix(container); | ||
var wizard = SetupWizard(InstallationType.VERBS, "vcrun6sp6", java.util.Optional.empty()); | ||
wine.wizard(wizard); | ||
wine.vcrun6sp6(); | ||
wizard.close(); | ||
} | ||
}; | ||
|
||
/* exported Verb */ | ||
var Verb = Java.extend(org.phoenicis.engines.Verb, verbImplementation); | ||
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
{ | ||
"scriptName" : "vcrun6sp6", | ||
"id" : "engines.wine.verbs.vcrun6sp6", | ||
"compatibleOperatingSystems" : [ | ||
"MACOSX", | ||
"LINUX" | ||
], | ||
"testingOperatingSystems" : [], | ||
"free" : true, | ||
"requiresPatch" : false | ||
} |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.