Beispiel #1
0
        private ComponentTask JavaX86Installation()
        {
            Func <bool> isChocoInstalled =
                () => ChocoUtil.IsChocoInstalled();

            /* Update to use non-default argument list to specifically get x86 version */
            Action installJavaX86 =
                () => ComponentTaskPresets.InstallWithChoco(Architectures.X86, "Java 8 (32-bit)", "jre8", "Java 8 Update *$", false);

            Func <bool> isX86Java8Installed =
                () => JavaInstallUtil.IsJavaInstalled(Architectures.X86, 8);

            return(new ComponentTask(
                       new SetupTask(
                           isChocoInstalled,
                           installJavaX86,
                           isX86Java8Installed,
                           false),
                       null));
        }
Beispiel #2
0
 private ComponentTask FirefoxInstallation()
 {
     return(ComponentTaskPresets.InstallWithChoco(Architectures.X64, "Mozilla Firefox", "firefox", "Mozilla Firefox * (x64 *)", false));
 }
Beispiel #3
0
 private ComponentTask WinRARInstallation()
 {
     return(ComponentTaskPresets.InstallWithChoco(Architectures.X64, "WinRAR", "winrar", "WinRAR *.** (64-bit)", false));
 }
Beispiel #4
0
 private ComponentTask VMWareToolsInstallation()
 {
     return(ComponentTaskPresets.InstallWithChoco(Architectures.X64, "VMWare Tools", "vmware-tools", "VMWare Tools", false));
 }
Beispiel #5
0
 private ComponentTask JavaX64Installation()
 {
     /* Update to use non-default argument list to specifically get x64 version */
     return(ComponentTaskPresets.InstallWithChoco(Architectures.X64, "Java 8 (64-bit)", "jre8", "Java 8 Update * (64-bit)", false));
 }
Beispiel #6
0
 private ComponentTask TeamViewerInstallation()
 {
     return(ComponentTaskPresets.InstallWithChoco(Architectures.X86, "TeamViewer", "teamviewer", "TeamViewer **$", false));
 }