Jump to content

Unable to install apps unattended


hyunateui

Recommended Posts

I was basically following the instructions on running an unattended Windows XP SP2 install with 3 different apps to be set to install unattended as well through batch script based on the instructions I read from http://unattended.msfn.org/unattended.xp/ in the intermediate section that explains to you how to run applications such as Windows Media Player 10, Office 2003 Professional unattended from the Windows XP unattended install.

I have burned all the directories, i386, $oem$, and whatever files are needed as per the instructions. I have placed a batch file into the SVCPACK folder which is in i386 folder and put it in the svcpack.inf file under hotfixes to run sections as per the instructions.

I followed the instructions on creating a mst file with ork tool and I edited my batch file called batch_file.cmd with these particulars commands to launch my apps which appear to begin at T-13 minutes of the XP unattended install. This is what the contents of my batch file look like:

ECHO.

ECHO Installing Adobe Reader 6

ECHO Please wait...

start /wait %systemdrive%\install\Applications\AdobeReader6\AdbeRdr60_enu_full.exe -p"-s /v\"/qn\""

ECHO.

ECHO Installing Office 2003 Professional

ECHO Please wait...

start /wait %systemdrive%\install\Applications\Office2003\setuppro.exe TRANSFORMS=Unattended.MST /qb-

ECHO.

ECHO Installing Windows Media Player 10

ECHO Please wait...

start /wait %systemdrive%\install\Applications\WMP10\MP10Setup.exe /q:A /c:"setup_wm.exe /Q /R:N /DisallowSystemRestore"

As each of these batch commands run it tells me that it is unable to find the specified path and cannot install the specified program. This is info that I got from the website above for these silent installs to occur during the install XP. WHere am I going wrong? Yes, I enabled the preOEMistall=yes on the unattended section of the winnt.sif file which I coped to the i386 folder. My CD\DVD works fine with slipstreaming SP2 and all the hotfixes, it just bombs out on autoinstalling the apps. Are the switches wrong? This the info I get from the http://unattended.msfn.org/unattended.xp website for installing the apps unattended. Why can it not find this path of this is what is instructed to be put in the batch file? I am sorry for the long letter, it is just so frustrating to get this to work. Is there any way to resolve this? Why won't the batch file work or understand where the directories specified is not working.

Anybodies help which be much appreciated...I am open to suggestions. Thanks.

Link to comment
Share on other sites


are your programs inside the $OEM$\install\Applications\ folder? this is the way it sould be done the way you are trying.

also, you can try using runOnceEx.cmd way wich is explained in the unattended guide. just follow hte instructions and you can even run the installers from cd/dvd.

Link to comment
Share on other sites

are your programs inside the $OEM$\install\Applications\ folder? this is the way it sould be done the way you are trying.

also, you can try using runOnceEx.cmd way wich is explained in the unattended guide. just follow hte instructions and you can even run the installers from cd/dvd.

Yes. I copied all three apps or files, downloads, etc. into the specified folder. The batch file is a little more convenient and less work. Any reason why it is not responding to the batch file properly. If all fails I will try the runOnceEx.cmd method.

Link to comment
Share on other sites

are your programs inside the $OEM$\install\Applications\ folder? this is the way it sould be done the way you are trying.

also, you can try using runOnceEx.cmd way wich is explained in the unattended guide. just follow hte instructions and you can even run the installers from cd/dvd.

Yes. I copied all three apps or files, downloads, etc. into the specified folder. The batch file is a little more convenient and less work. Any reason why it is not responding to the batch file properly. If all fails I will try the runOnceEx.cmd method.

OK. I straightened out adobereader6.0 with the batch script in SVCPACK and svcpack.inf method.

Office2003 runs, but then it reverses itself and appears to cancel the installation. When Windows comes up after the install is done, it does not show that Office2003 is installed.

As for WindowsMediaPlayer 10, the script shows that it installs, but it still does not install once you can log into Windows. Does anyone have any idea why this happens with both these apps?

I use the given switches recommended by the www.msfn.org/unattendedCD website. Please give me some suggestions using the SVCPACK method. Thanks.

Link to comment
Share on other sites

  • 3 weeks later...

One possible reason your apps aren't working from .bat files is they may be decompressing to temp space and not getting referenced correctly. And I have also had the problem with Office rolling back during T13. The RunOnceEx command worked perfect for me. I bet it would also work for WMP10. My WMP10 works fine when Windows is up and running. I haven't tried it at T13, though.

Link to comment
Share on other sites

One possible reason your apps aren't working from .bat files is they may be decompressing to temp space and not getting referenced correctly. And I have also had the problem with Office rolling back during T13. The RunOnceEx command worked perfect for me. I bet it would also work for WMP10. My WMP10 works fine when Windows is up and running. I haven't tried it at T13, though.

Thanks. I will give it a try.

I actually got Office 2003 to work along with Adobe by using the sleep # command in the batch file under the guiunattended part. But WMP10 still does not install. I may have re engineer everything and use the RUNONCEEx method for all these apps.

Link to comment
Share on other sites

Hi,

I'm having same problems.

I have created my first unattended installation with office 2003 and other applications and all them I got next error: "As each of these batch commands run it tells me that it is unable to find the specified path and cannot install the specified program"

My command is start /wait %systemdrive%\install\Applications\Office2003\setup.exe TRANSFORMS=Unattended.MST /qb-

and always fails.

Could you say me how you fix this problem?

Thank you very much

Link to comment
Share on other sites

  • 2 weeks later...
One possible reason your apps aren't working from .bat files is they may be decompressing to temp space and not getting referenced correctly. And I have also had the problem with Office rolling back during T13. The RunOnceEx command worked perfect for me. I bet it would also work for WMP10. My WMP10 works fine when Windows is up and running. I haven't tried it at T13, though.

I had the Office Rollback problem at the exact same place, and determined it was due to (in my case) to checking "Migrate User Settings" in page 9 of the Custom Installation Wizard. That option exports the HKU_S-1-15-xxxxx registry branches, and when it tries to import them, the UID for the corresponding users on the new box are numbered differently, so the keys can't be written, which makes Office freak out and back out of the whole freakin' install.

I just unchecked that setting, and changed all the settings I wanted changed in page 10 of the CIW, and it worked perfectly from that point on.

As for the bad batch file, I had to use the full path in the TRANSFORMS= to get it to work without quotes. I'm sure there's a few ways to do with with or without quotes, but this is what worked for me. Note, I also moved everything up one directory level, since the 'Applications' directory only has Office2K3.

My Office 2003 Install command: "%systemdrive%\install\Office2k3\setup.exe" TRANSFORMS=%systemdrive%\Install\Office2K3\Unattended.MST /qb-

Hope that helps one or both of you. :)

KZ

Edited by kelaniz
Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...