Several comments, some more nitpicky than others. In the "Stop the services" section, shouldn't that be "NET STOP "*?
You are using "self registration" for your EXEs. That is greatly discouraged for quite a few reasons. I suspect you are coming from a mindset of installation being a "procedural" exercise (after all, almost every other computer language is fundamentally procedural in nature at its most fundamental levels). Windows Installer uses a "declarative" model where you describe the final state of the system (what file goes where, what registry value goes where, etc.) and the installation engine ensures that you will get there and back in an all-or-nothing transaction no matter what the previous state of the system was. Crack open QISVC0.EXE and STLWA_NT.EXE (I would recommend looking at their sources rather than the binaries themselves <wink/>) and see what they put where when called with the command-lines you supply in your batch file, and express that in terms of a table of COM registrations, registry values, and config file entries (xml-based and/or ini-file based), along with anything else those operations perform on the system. Armed with that information, your WiX-based MSI should just about write itself <smile/>. -----Original Message----- From: Vern Graner [mailto:v...@txis.com] Sent: Friday, February 05, 2010 3:54 PM To: WiX-users@lists.sourceforge.net Subject: [WiX-users] Request for help building a Simple MSI.. 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?" CVLG ---------------------------------------------------------------------------- -- 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 ------------------------------------------------------------------------------ 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