Mobes Posted May 7, 2011 Share Posted May 7, 2011 (edited) Hello,I just recently followed wimb's tutorial for installing XP from a USB and everything worked fine! Thanks wimb! The only issue I ran into was the Office 2003 did not install as expected. Also, I have successfully used this nLited file from a DVD. One thing I did try was changing the batch.cmd to point to the Win_nt.~LS folder and then the $OEM$ folder. I'm sure there are some changes that need to be made in order to install from USB. Can someone help me with this part?Upon the final boot to Windows I also get this error, "No Disk", Exception Processing Message. I pressed Continue and Windows installs fine. No Office install.One other observation; I noticed as I attempted this install probably 3 times that when I checked my C drive, the disk usage was over 3gb, even though the disk is formatted each time?? Thanks,Mobes Edited May 18, 2011 by Mobes Link to comment Share on other sites More sharing options...
ilko_t Posted May 9, 2011 Share Posted May 9, 2011 How do you install Office 2003 exactly?How is batch.cmd executed? What are the relevant winnt.sif or whatever entries? Link to comment Share on other sites More sharing options...
Mobes Posted May 9, 2011 Author Share Posted May 9, 2011 Hi Ilko. Just so you know I'm still new at this. I of course used nLite to build/create the ISO. I tested in VB and then burned to DVD. I have successfully used the DVD to install Win XP and Office 2003. I'm using the RunOnce command from nLite to call the Batch.cmd. Below is what I recently used for my Batch.cmd for the USB. Ponch suggested I was missing a "\" between %Source% and $WIN_NT$.~LS. I intentionally left it out as I followed the format I used before for the ISO I've been using, %Source%$OEM$. No backslash.I'm not sure what you mean by "what are relevant winnt.sif entries?? 1. I changed the batch command to this: start /wait %Source%$WIN_NT$.~LS\$OEM$\office2003\SETUPPRO.exe TRANSFORMS=unattended.mst /qn2. I then moved my Batch.cmd to the $WIN_NT$.~LS folder. I did this since my prior successful install of WinXP and Office had the Batch.cmd next to I386 and $OEM$.I ran with this and no success. Hope this helps. Let me know what other info you need.Thanks Link to comment Share on other sites More sharing options...
cdob Posted May 9, 2011 Share Posted May 9, 2011 I recently used for my Batch.cmd What's the whole contents of Batch.cmd?How is this Batch.cmd launched?Which RunOnce command do you use?What's the contents of %Source% at run time? Add a echo to Batch.cmd. Link to comment Share on other sites More sharing options...
Mobes Posted May 10, 2011 Author Share Posted May 10, 2011 (edited) What's the whole contents of Batch.cmd?REM Office 2003start /wait %Source%$WIN_NT$.~LS\$OEM$\office2003\SETUPPRO.exe TRANSFORMS=unattended.mst /qnshutdown -r -t 70 -c "Restarting in..." -fHow is this Batch.cmd launched?The Batch.cmd is launched using cmd /r %source%batch.cmd. This is the RunOnce command I use.What's the contents of %Source% at run time? Add a echo to Batch.cmd.Unfortunately, I'm not sure how to answer this question. Can you tell me where I need to add the Echo? Edited May 10, 2011 by Mobes Link to comment Share on other sites More sharing options...
cdob Posted May 11, 2011 Share Posted May 11, 2011 This is the RunOnce command I use.Which RunOnce registry setting do you use?Can you tell me where I need to add the Echo?Add to your batch.cmd.echo Source %Source%echo Source %Source% > %temp%\source.logecho Source %Source% > %SystemDrive%\source.logecho Source %Source% > %SystemRoot%\source.log Link to comment Share on other sites More sharing options...
Mobes Posted May 11, 2011 Author Share Posted May 11, 2011 (edited) Thanks cdob. I will give a try. Does it matter where the "echo Source" lines appear in the batch.cmd??Which RunOnce registry setting do you use?Can you tell me how/where to find the registry setting?mobes Edited May 12, 2011 by Mobes Link to comment Share on other sites More sharing options...
Mobes Posted May 13, 2011 Author Share Posted May 13, 2011 Ok. This is what I've done so far.1. Used nLited file previously tested and successful installing Winxp and Office both in VB and desktop PC.2. Needed to have ability to install from USB. Able to install same nLited file from USB to a PC. However, Office did not install. Also, got a "no disk" error message upon last reboot.3. I did modify the batch.cmd from %Source%$OEM$.batch.cmd. Changed to: start /wait %Source%$WIN_NT$.~LS\$OEM$\office2003\SETUPPRO.exe TRANSFORMS=unattended.mst /qn 4. Per cdob I used:echo Source %Source%echo Source %Source% > %temp%\source.logecho Source %Source% > %SystemDrive%\source.logecho Source %Source% > %SystemRoot%\source.logThis was the batch.cmd last used.REM Office 2003echo Source %Source% echo Source %Source% > %temp%\source.log echo Source %Source% > %SystemDrive%\source.log echo Source %Source% > %SystemRoot%\source.logstart /wait %Source%$WIN_NT$.~LS\$OEM$\office2003\SETUPPRO.exe TRANSFORMS=unattended.mst /qnshutdown -r -t 70 -c "Restarting in..." -fThis did not install Office. However, I did not get the "no disk" error message.What else am I missing??Thanks Link to comment Share on other sites More sharing options...
ilko_t Posted May 13, 2011 Share Posted May 13, 2011 What are contents of source.log? Has it been created at all?That was the purpose of adding echo commands, wasn't it? Link to comment Share on other sites More sharing options...
Mobes Posted May 13, 2011 Author Share Posted May 13, 2011 I don't believe it generated any logs. Would I have found them at those locations after installation?? Link to comment Share on other sites More sharing options...
cdob Posted May 13, 2011 Share Posted May 13, 2011 I don't believe it generated any logs.Does exist a file source.log at hard disk?How do you build the runonce registry entry? Link to comment Share on other sites More sharing options...
jaclaz Posted May 13, 2011 Share Posted May 13, 2011 @MobesThe batch should have generated THREE logs:%temp%\source.log%SystemDrive%\source.log%SystemRoot%\source.logJust use this batch:echo Source %Source%set tempset SystemPAUSEecho Source %Source% > %temp%\source.logecho Source %Source% > %SystemDrive%\source.logecho Source %Source% > %SystemRoot%\source.logAnd read it's output before hitting "any" key.jaclaz Link to comment Share on other sites More sharing options...
Mobes Posted May 13, 2011 Author Share Posted May 13, 2011 (edited) Don't know if this make any difference or not. But, when I copy the files to the USB via Multi Boot USB, again I'm using my nLited files and then I have to copy and paste the Batch.cmd?? Is this correct? The Multi boot tool does not copy the batch.cmd to my USB. I copy/paste the batch.cmd to the %WIN_NT%.~LS folder so that it is next to the $OEM$ and the i386 folders. Hope this is accurate.How do you build the runonce registry entry? I'm not sure what you mean by "build runonce registry"?? The only RunOnce I use is on the nLite tab that has all of the other general info. I add the cmd /r %source%batch.cmd on this tab. This is what worked for me in building the ISO to use from DVD. It launched the batch.cmd and installed Office. jaclazz- I will use the batch you describe below and hopefully get output. Thanks for the help Edited May 13, 2011 by Mobes Link to comment Share on other sites More sharing options...
Mobes Posted May 13, 2011 Author Share Posted May 13, 2011 Another thought about cdob's question about my runonce. Does the batch.cmd actually kick off from the runonce command I added in nLite? - cmd /r %source%batch.cmd? Or, does there have to be another command that calls the batch.cmd??Sorry guys, I'm still learning! Link to comment Share on other sites More sharing options...
cdob Posted May 13, 2011 Share Posted May 13, 2011 Most likely batch.cmd dosn't run at all.The only RunOnce I use is on the nLite tabNo idea, I don't use this feature. 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