Jump to content

Patches7o9

Member
  • Posts

    7
  • Joined

  • Last visited

  • Donations

    0.00 USD 
  • Country

    Canada

About Patches7o9

  • Birthday 10/02/1985

Contact Methods

  • Website URL
    http://

Patches7o9's Achievements

0

Reputation

  1. I used the original code you gave (I'll modify the ALLUSERPROFILES thing next) and it works perfectly. Thanks a bunch everybody.
  2. I find the problem really odd though, since I can run the batch script fine in any other situation, but just when the installation runs it doesn't work. I'll try the code above and see if it works. Thanks.
  3. It still says that it cannot find the files with the error "Windows cannot find x. Make sure you typed the name correctly, and then try again. To search for a file, click the Start button, and then click Search." Maybe I should just have it run at a different stage of the installation?
  4. I'll try out those suggestions above and let you know if it helps. Thanks again.
  5. ;Windows XP [Version] Signature="$Windows NT$" MajorVersion=5 MinorVersion=1 BuildNumber=2600 [SetupData] CatalogSubDir="\i386\SVCPACK" [ProductCatalogsToInstall] [SetupHotfixesToRun] KB931261.exe /q /n /z KB931784.exe /q /n /z KB931836.exe /q /n /z KB932168.exe /q /n /z qchain.exe apps.bat That's my SVCPACK.inf file (though I removed most of the hotfixes to save space). @echo off title Batch File Applications Installer echo. echo Begin Installation: echo. echo Mozilla Firefox 2 echo Please wait... start "Firefox" /wait "Firefox Setup 2.0.0.1.exe" /S echo. echo Adobe Reader 8 echo Please wait... start "Adobe Reader" /wait "AdbeRdr80_en_US.exe" /sAll echo Deleting Desktop Shortcut DEL "&ALLUSERSPROFILE&\Desktop\Adobe Reader 8.Ink" echo. echo WinSCP echo Please wait... start "WinSCP" /wait "winscp382setup.exe" /sp- /silent /norestart echo. echo Putty echo Please wait... copy putty.exe "&ALLUSERSPROFILE&\Desktop\" echo. echo Installation Finished echo. echo Restarting in 60 seconds shutdown.exe /r /f /t:60 /c "Restarting to finish application installation" exit And that's my apps batch file.
  6. Sorry about the lack of information. I'm following the instructions on the MSFN site to make an unattended XP SP2 installer, and the Windows installer (with all the current hotfixes) works fine. I've been testing it under the latest version of Virtual PC. The error occurs right after the hotfixes finish installing and it brings a dialog box saying "Windows cannot find x. make sure you typed the name correctly, and then try again. To search for a file, click the Start button, and then click Search.", where x is the application installer. The applications are named correctly and they are in the svcpack folder. The batch file works correctly when I run it outside of the windows installer. To svcpack.inf I added, after the hotfixes and qchain, I added my apps batch file. Yes, I have the svcpack folder source name in dosnet.inf. If there is anymore information that would be helpful for you guys helping me out then let me know. Thanks.
  7. So, I have a Unattended Windows XP Install, which works fine, with a batch file that runs in SVCPACK.inf. I tested the batch file with the apps outside the installer whcih works fine. Then I tested on the install image and got an "Windows cannot find the file" error, which is odd since the files are present in the SVCPACK folder. After the install finished I ran the batch file again, off of the CD image, and it ran without any errors. Any idea why an error would occur only during the install?
×
×
  • Create New...