PsaltyDS Posted October 22, 2008 Share Posted October 22, 2008 Anybody got a link or a clue for me on how to script installation of the Indexing Service on Win2K3 server? All I can find is tens of thousands of web sites that describe using the Add/Remove Programs GUI, and hundreds of thousands that say the service is buggy. Well, I told them that and they still want it loaded, so I need to find a scriptable process for it. Valuater's AutoIt 1-2-3, Class... Is now in Session!For those who want somebody to write the script for them: RentACoder"Any technology distinguishable from magic is insufficiently advanced." -- Geek's corollary to Clarke's law Link to comment Share on other sites More sharing options...
twillster Posted October 22, 2008 Share Posted October 22, 2008 Check out this... this is a site that shows you how to script it via a VBS but you ought to be able to accomplish the same thing via AutoIt pretty easily.http://www.activexperts.com/activmonitor/w.../disk/indexing/ Link to comment Share on other sites More sharing options...
PsaltyDS Posted October 22, 2008 Author Share Posted October 22, 2008 (edited) Check out this... this is a site that shows you how to script it via a VBS but you ought to be able to accomplish the same thing via AutoIt pretty easily. http://www.activexperts.com/activmonitor/w.../disk/indexing/ Thanks for the link. There is good stuff there for using the indexing service, but I still don't see installing it. Once installed, for example, this stops/restarts the service just fine: $objAdminIS = ObjCreate("Microsoft.ISAdm") $objAdminIS.Stop() MsgBox(64, "Stopped", "The indexing service is stopped.") $objAdminIS.Start() MsgBox(64, "Restarted", "The indexing service is restarted.") I'm still not finding how to install it. Now, the executable is: @SystemDir & "\cisvc.exe" So I guess I need to see if it's as simple as installing that executable as a service. But I would rather find a way to get it installed exactly the same as through Add/Remove Programs, except scripted. P.S. Some time ago, I came across SYSOCMGR.EXE and tried to use it for this, but it didn't work... I need to go back and rediscover why it didn't. Edited October 22, 2008 by PsaltyDS Valuater's AutoIt 1-2-3, Class... Is now in Session!For those who want somebody to write the script for them: RentACoder"Any technology distinguishable from magic is insufficiently advanced." -- Geek's corollary to Clarke's law Link to comment Share on other sites More sharing options...
ptrex Posted October 22, 2008 Share Posted October 22, 2008 @PsaltyDSOnce you get it running this might come in handy MS indexing Search Engine, Thanks for the tip Some time ago, I came across SYSOCMGR.EXE and tried to use it for this, but it didn't workRegardsptrex Contributions :Firewall Log Analyzer for XP - Creating COM objects without a need of DLL's - UPnP support in AU3Crystal Reports Viewer - PDFCreator in AutoIT - Duplicate File FinderSQLite3 Database functionality - USB Monitoring - Reading Excel using SQLRun Au3 as a Windows Service - File Monitor - Embedded Flash PlayerDynamic Functions - Control Panel Applets - Digital Signing Code - Excel Grid In AutoIT - Constants for Special Folders in WindowsRead data from Any Windows Edit Control - SOAP and Web Services in AutoIT - Barcode Printing Using PS - AU3 on LightTD WebserverMS LogParser SQL Engine in AutoIT - ImageMagick Image Processing - Converter @ Dec - Hex - Bin -Email Address Encoder - MSI Editor - SNMP - MIB ProtocolFinancial Functions UDF - Set ACL Permissions - Syntax HighLighter for AU3ADOR.RecordSet approach - Real OCR - HTTP Disk - PDF Reader Personal Worldclock - MS Indexing Engine - Printing ControlsGuiListView - Navigation (break the 4000 Limit barrier) - Registration Free COM DLL Distribution - Update - WinRM SMART Analysis - COM Object Browser - Excel PivotTable Object - VLC Media Player - Windows LogOnOff Gui -Extract Data from Outlook to Word & Excel - Analyze Event ID 4226 - DotNet Compiler Wrapper - Powershell_COM - New Link to comment Share on other sites More sharing options...
PsaltyDS Posted October 22, 2008 Author Share Posted October 22, 2008 P.S. Some time ago, I came across SYSOCMGR.EXE and tried to use it for this, but it didn't work... I need to go back and rediscover why it didn't. Well I still don't know why it didn't work... because it did work! I just created a C:\Temp\CISVC_SYSOC.inf file: [Components] IndexSrv_System=on ...and then ran the manager: %WINDIR%\System32\SYSOCMGR.EXE /i:%WINDIR%\inf\sysoc.inf /u:C:\Temp\CISVC_SYSOC.inf It worked fine. Valuater's AutoIt 1-2-3, Class... Is now in Session!For those who want somebody to write the script for them: RentACoder"Any technology distinguishable from magic is insufficiently advanced." -- Geek's corollary to Clarke's law Link to comment Share on other sites More sharing options...
PsaltyDS Posted October 22, 2008 Author Share Posted October 22, 2008 @PsaltyDSOnce you get it running this might come in handy MS indexing Search Engine, Thanks for the tip RegardsptrexWell now, there's the rub: Condition is well that your Indexing Service is running.; ...ptrexStill good stuff, and I did get it installed from the command line, so I'll have it in AutoIt in a few minutes. Valuater's AutoIt 1-2-3, Class... Is now in Session!For those who want somebody to write the script for them: RentACoder"Any technology distinguishable from magic is insufficiently advanced." -- Geek's corollary to Clarke's law Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now