Ok, I've been struggling with WiX for about 3 weeks now and I'm just not 
"getting it". :(

As the level of questions I've seen answered and discussed here is at 
such a high level, I'm thinking that making this WiX script would be a 
matter of minutes for some of you folks. :)

Can I impose on someone here for 10 minutes of their time to convert 
this batch to a WiX file?  Even partially? If I can just get a feel for 
the format I think I can take it from there... Here's the batch:

-------------------- CLIP ------------------------
@ECHO OFF

REM Install or Upgrade
REM Collection and Process script
REM V1.3 01/08/2010

REM *************************************
REM * Set Values for Target Environment *
REM *************************************
    SET Source=\\ORION\share\update\
    SET TargetServer=ORION
    SET LSTAT=NOTLOCALONLY
    SET ISCAN=60
    SET DELAY=60

REM ************************************
REM * Stop the services                *
REM ************************************
    NET START "Local Collection Agent Service"
    NET START "Local Process Agent Service"

REM **********************************
REM * Copy the component files       *
REM **********************************
    XCOPY /C /V /Y %Source%\STLWA_NT.EXE "%SYSTEMROOT%\SYSTEM32\DRIVERS"
    XCOPY /C /V /Y %Source%\STLWMON.SYS  "%SYSTEMROOT%\SYSTEM32\DRIVERS"
    XCOPY /C /V /Y %Source%\STVISTA.SYS  "%SYSTEMROOT%\SYSTEM32\DRIVERS"
    XCOPY /C /V /Y %Source%\NWLWA32.EXE  "%SYSTEMROOT%\SYSTEM32\DRIVERS"
    XCOPY /C /V /Y %Source%\STBW_K32.SYS "%SYSTEMROOT%\SYSTEM32\DRIVERS"

    XCOPY /C /V /Y %Source%\_SMBIOS_.EXE "%SYSTEMROOT%\SYSTEM32\DRIVERS"
    XCOPY /C /V /Y %Source%\INVENTRY.EXE "%SYSTEMROOT%\SYSTEM32\DRIVERS"
    XCOPY /C /V /Y %Source%\QISVC0.EXE   "%SYSTEMROOT%\SYSTEM32\DRIVERS"
    XCOPY /C /V /Y %Source%\STNW32.DLL   "%SYSTEMROOT%\SYSTEM32\DRIVERS"

REM ************************************
REM * Install and config the services  *
REM ************************************
    CD /D "%SYSTEMROOT%\SYSTEM32\DRIVERS"

    QISVC0 -INSTALL
    QISVC0 -INTERVAL %ISCAN%
    QISVC0 -SERVER %TargetServer%

    STLWA_NT -INSTALL
    STLWA_NT -INSTALLBW
    STLWA_NT -SERVERUSEIP
    STLWA_NT -%LSTAT%
    STLWA_NT -LOADDELAY %DELAY%
    STLWA_NT -SERVER %TargetServer%

REM ************************************
REM * Start the services               *
REM ************************************
    NET START "Local Collection Agent Service"
    NET START "Local Process Agent Service"

--------------------/CLIP ------------------------

Any help GREATLY appreciated.. in fact, if you're here in Austin I'd 
gladly buy you a BBQ plate and a beer somewhere! :) Heck, even if you 
*aren't* in Austin, I'll MAIL some BBQ to ya! ;)

Vern

-- 
Vern Graner CNE/CNA/SSE    | "If the network is down, then you're
Senior Systems Engineer    | obviously incompetent so why are we
Texas Information Services | paying you? Of course, if the network
http://www.txis.com        | is up, then we obviously don't need
Austin Office 512 328-8947 | you, so why are we paying you?" ©VLG

------------------------------------------------------------------------------
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to