• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

OT: Scripters & Programmers.. Finally! the TeAm Anandtech FlexInstall v0.8BETA to be released

Shuxclams

Diamond Member
OK, after working on this network install and other install as a service scripts I was wondering if there was enough intrest to put together a TeAm installer with these features:

1) Graphical install
2) Option to install on network or single PC
3) Abilty to schedule runtimes
4) Option to choose TeAm or personal proxies
5) For the program to install as a service on Win9x/ME - WinNT/2K/XP
6) Option to install logging program (SETIdriver - SETILog)
7) If its a network install, a program installed to control the clients.


Now I know NARZY was working on something with the SuperPIMP from Nullsoft, There are a bunch of scripts floating around here and I am sure we would be the envy of all SETI teams, if not DC teams.

What do you think?













SHUX
 
I think this would be a very helpful recruiting tool. I know *nothing* of programming but if anyone could come up with a simple GUI install for the SETI service it would surely help.
 
I think it would be an awesome recruiting tool as well simplify the process for the new(er) members who want to run it as a service and have so many choices to choose from.
Again, if there are some serious programmers around lets here it.












SHUX
 
I think DSLR has something like this that I saw on their site sometime. I'll poke around and see if I can find it again.

I've been doing a lot of snooping over there recently.😉
 
Anyone have or know a command to find "Windows_XP"
___________________________________________
if not "%OS%"=="Windows_NT" goto "FINDXP"

:FINDXP
if not "%OS%"=="Windows_XP" goto "SHRUBBER"

goto END

:SHRUBBER
UHHUH?LOL

goto END
___________________________________________
If I can get the 3 installs done then I would probably want to do a if "%OS%==Windows_XX" goto "INSTALLWNT"/"INSTALLXP"/"INSTALL9X", Help, I am losing my mind now , do I want a "if" or "if not"? and I am totally unsure how we can get a *.BAT into a graphical install.
Looking to set install variables according to OS, if I can get the XP one then I can give a "goto" for a Win9x/ME install, providing I figure out how to hack shrubbers into the one I am working on.











SHUX
 
It sounds great to me, but like robor I know nothing about programing. If you give me a few months I could possibly be of help, as now I am taking some rograming classes.

😀

maybe I should start with some speeling classes.
 
I think it's an excellent idea, and would certainly be a useful recruiting tool, but unfortunately I have no programming skills or knowledge, so I can't help you out.
 
I probably have the programming skill, but I don't know anything about installing seti. Plus I couldn't promise too quick a turn around, as school is rather pressing at the moment. If noone else comes through, I would be willing to try and help.

Bot
 
Start:

Check LocalMachineOS
If NT/2K > option 1 ? LocalInstallNT option 2 ? LANInstallNT

If XP > CheckXP > if XP home > LocalInstallXP / if XP pro > option 1 ? LocalInstallXP option 2 ? LANInstallXP

If 9X > LocalInstall9X

Installers:

LocalInstallNT (recreate with existing script)
Creates directory C:\program files\stcli > attrib +h C:\program files\stcli > copies files to C:\program files\stcli > regedit /s sets option for parameters like proxy and runtimes.

LANInstallNT (exists)
Loads program for installing on remote machines, need to modify so that it can decifer remote OS for installation and be able to install NT/2K/XP/9X Should also include install parameters per PCNAME for multiple CPU support

CheckXP
Checks XP version and ?goto? that versions Install or option

LocalInstallXP (recreate with exsisting script)
Creates directory C:\Windows\System32\stcli > attrib +h C:\Windows\System32\stcli > copies files to C:\Windows\System32\stcli > regedit /s sets option for parameters like proxy and runtimes. Should also include install parameters per PCNAME for multiple CPU support

LANInstallXP (recreate with exsisting LANInstallNT script)
Loads program for installing on remote machines need to modify so that it can decifer remote OS for installation and be able to install NT/2K/XP/9X

LocalInstall9X (hacked shrubber)
Creates directory C:\Windows\stcli > attrib +h C:\Windows\stcli > copies files to C:\Windows\stcli > regedit sets option for parameters like proxy and runtimes


Options

RunTimes
This should be able to be modified during install and afterwards so the client can run in off hours if so desired

Proxy
This should be able to be modified during install so the Proxy can be designated ie "orangekid.teamanandtech.com:5001"

MultipleCPUSupport
This should be able to be modified during install so the machine can run more than one client


This is the most simple way of putting it.








SHUX

 
When installed as a service will it take advantage of more than one CPU or will there need to be 2 instances?
 
UH, I guess that would be another option to add huh? Oh boy that will be fun.... not. It would have to have an option like the Proxy settings and runtimes for multiple CPU support. There fore the script will have to create multiple client names, "stcli0, stcli1, stcli2, stcli3", but I think that they could run in the same directory as long as the names of the .exe's and supporting files are listed as different numbers.










SHUX
 
Sounds great, hope you programmers can find a way to make a clean looking TeAm package to take out a lot of the guesswork for newbies.

Just a Question -- Are there any licensing issues here? When you mention installer I think of a self-extracting package.. but I suppose you could have it download each remote client and install on the fly as well in order to avoid "distributing" any of them.

Well, I'll go back to dreaming of a perfect installer so I can
have some useful input here 🙂
 
well checking for which OS is very simple in command line:

C:\>ver

Microsoft Windows 2000 [version 5.00.2195]

I'm am sure that there are better solutions though like Windows Shell Script.

There are some free installers out there that are very simple to use. The best solution though, would be to use the Windows Installer, which is free to use (as long as you know how to make 'em) which looks very professional IMO.
All of those installers can be configured to run external programs.
 


<< Anyone have or know a command to find "Windows_XP"
___________________________________________

SHUX
>>



If you're referring to the difference in install locations for Xp/9x vs NT/2K you can use the %WINDIR% variable. There's a similar variable when using C/C++/VB.

Type 'echo %windir%' at a cmd prompt.

If you're referring to the differences in installing NT services vs 9x startup items, I have to think about that one more. Too early in the morning.
 


<<
1) Graphical install
2) Option to install on network or single PC
3) Abilty to schedule runtimes
4) Option to choose TeAm or personal proxies
5) For the program to install as a service on Win9x/ME - WinNT/2K/XP
6) Option to install logging program (SETIdriver - SETILog)
7) If its a network install, a program installed to control the clients.

SHUX
>>



8) Launches a seperate browser window to take you directly to the page when you sign up for TA. 🙂
 


<< Type 'echo %windir%' at a cmd prompt. >>



Actually I need people to confirm that

echo %OS%

returns "Windows_XP" since I dont have an XP machine. If that is the case then that part will pass it to a program that should check to see if its XP Home or XP Pro.
If it returns a "WIindows_XPhome" or something different then the way its handled will be different. Also if it weeds out Window 95 that would be useful as well considering what it takes to run as a service in Windows 95.











SHUX
 
<< Type 'echo %windir%' at a cmd prompt. >>



Actually I need people to confirm that

echo %OS%

returns "Windows_XP" since I dont have an XP machine. If that is the case then that part will pass it to a program that should check to see if its XP Home or XP Pro.
If it returns a "WIindows_XPhome" or something different then the way its handled will be different. Also if it weeds out Window 95 that would be useful as well considering what it takes to run as a service in Windows 95.


On my WinXP box it returns Windows_NT 🙁



Alex
 
I don't run XP yet, but my guess is that XP Pro is returning Windows_NT

I don't think that XP Home will.. someone with XP Home should check

XP Pro is based on NT, XP Home is based on the 95, 98, Me lineage if I understand it right.
 
OK, anyone using XP home? There has to be a way to differenciate NT, 2K and XP, what about 9x/ME users?








SHUX
 
I am not using home, but both Pro and home use the same kernel the difference between the two is in networking capabilities.
 


<< OK, anyone using XP home? There has to be a way to differenciate NT, 2K and XP, what about 9x/ME users?


SHUX
>>



IF %OS% == "Windows_NT" && %WINDIR% == "c:\windows" then %USERSOS% == "XP"

or something like that, granted if you were running 4.0 or 2K and installed in the windows dir it will detect you as XP. But since the service installs should be very similar between all NT bases OS's, this may not be that bad. As long as you're able to tell the difference between anything based off 9x and NT and you can throw in the %windir% variable you should be good. I can't think of a need to differentiate between XP and 2K when using that variable.

 
I've been working with OhioDude, and we already have a simple version of this done. 🙂 Using InstallShield, it just installs SETI Driver and puts a shortcut to it in the StartUp folder. Works on any Windows OS AFAIK. It's just about done. All I need to do is get a self extracting .zip made up.
 
Back
Top