Jump to content

Further cmdlines problem


Recommended Posts

I just moved the unattended slipstream to cd while keeping all my software on HDD a usual but one more problem had arisen:Adobe Reader 6 won't install too -- as well as Autopatcher.

:) The weird thing is that everything runned fined until i moved slipstreamed xp+sp1 to CD (i used cd-image pack from msfn.org and the cd is bootable and works well[tested it two times]) :rolleyes: except for the cmdlines part that should work as a charm :D

These are my two major problems since now i can't figure it out so here's my batch:

@ECHO OFF

:: ---------------------Accounts section-----------------------------------------------------------

COPY "E:\PostInst\netuser.exe" "%SystemRoot%\system32"
ECHO Fixing Guest
net user Guest imadummy /active:no /passwordchg:no
net localgroup guests Guest /delete
netuser Guest /pwnexp:y

ECHO Fixing Administrator
net user Administrator imadummy /active:no /passwordchg:no
netuser Administrator /pwnexp:y

ECHO Setting local account
net user Wolf 10101980 /add /active:yes /passwordchg:yes
net localgroup Administrators Wolf /add
netuser Wolf /pwnexp:y

ECHO Deleting useless accounts
ECHO.
ECHO     Deleting HelpAssistant
NET USER HelpAssistant /DELETE
ECHO     Deleting SUPPORT_388945a0
NET USER SUPPORT_388945a0 /DELETE
ECHO.

:: ---------------------Critical section------------------------------------------------------------

TITLE Autopatcher/Video section

ECHO Installing Autopatcher March'04
START /WAIT E:\PostInst\Autopa~1\AutoPa~1\AutoPatcher.exe /unattend /noeula /screenlog /nolog /nobackup /noreboot /ignorelogs /noregchecks /nonags /english
ECHO.

ECHO Installing ATI driver 8.01-040421a-015419C-ATI
START /WAIT E:\PostInst\video\setup -s
ECHO.

:: ---------------------Software section-----------------------------------------------------------

TITLE Software section

ECHO Installing WinRAR3.3
START /WAIT E:\PostInst\WinRAR330\winrar330.exe /s
COPY "E:\PostInst\WinRAR330\settings.reg" "%ProgramFiles%\WinRAR"
START /WAIT regedit /s "%ProgramFiles%\WinRAR\settings.reg"
ECHO.

ECHO Installing ATI Control Panel 6.14.10.5103
START /WAIT E:\PostInst\cpanel\setup -s
ECHO.

ECHO Installing Adobe Reader 6.0.1 006.000.001
START /WAIT E:\PostInst\AR6\AR6_enu_full.exe -p"-s /v\"/qn\""
ECHO.

ECHO Installing Yahoo Messenger 6.0.0.1643
START /WAIT E:\PostInst\ymsgrie\ymsgrie.exe /s
COPY "E:\PostInst\pskill.exe" "%SystemRoot%\system32"
pskill YPager.exe
START /WAIT regedit /s "E:\PostInst\ymsgrie\settings.reg"
ECHO.

ECHO Installing Alcohol 1.9.2.1705 retail
START /WAIT E:\PostInst\Alcohol\setup.exe /qn Reboot=Suppress
START /WAIT regedit /s "E:\PostInst\Alcohol\settings.reg"
ECHO.

:: ---------------------Registry section-----------------------------------------------------------

START /WAIT regedit /s "E:\PostInst\settings.reg"
START /WAIT regedit /s "E:\PostInst\services.reg"

:: ---------------------Cleanup section------------------------------------------------------------

TITLE Cleaning up

ECHO Removing wallpapers and screensavers
DEL "%SystemRoot%\Web\Wallpaper\*.jpg"
DEL "%SystemRoot%\Web\Wallpaper\*.bmp"
DEL "%SystemRoot%\system32\dllcache\*.scr"
DEL "%SystemRoot%\system32\*.scr"
ECHO.

ECHO Removing useless shortcuts
DEL "%AllUsersProfile%\Start Menu\Windows Update.lnk"
DEL "%AllUsersProfile%\Start Menu\Set Program Access and Defaults.lnk"
DEL "%AllUsersProfile%\Start Menu\Windows Catalog.lnk"
DEL "%AllUsersProfile%\Desktop\Adobe Reader 6.0.lnk"
DEL "%AllUsersProfile%\Desktop\ATI CATALYST.lnk"
DEL "%AllUsersProfile%\Desktop\Yahoo! Messenger.lnk"
DEL "%AllUsersProfile%\Desktop\Alcohol 120%%.lnk"

ECHO Removing useless directories
RD "%systemdrive%\Program Files\ComPlus Applications" /S /Q
RD "%systemdrive%\drivers" /S /Q

It won't install Adobe Reader 6 and Autopatcher why??? :D

Link to comment
Share on other sites


here's is my very short cmdlines.txt:

[COMMANDS]
"E:\PostInst\cmdlines.cmd"

Yes its in $OEM$ wich is paralel to i386

The thing is the other stuff in it works except Adobe Reader 6 and Autopatcher.

:) The very odd thing is that it when i run the setup from HDD it runs well/installs all :rolleyes: the difference is that i put the slipstreamed xp+sp1 on cd using cd-image from this link(msfn.org) to make the iso:

http://www.unattended.msfn.org/files/CDImage_Pro.zip

Maybe this pack is only for XP Pro and not XP Pro +SP1 slipstreamed???

What would that have to do with these particular problems if yes.

If some1 thinks that i should definetly make an iso using other method please reply.

Link to comment
Share on other sites

no...that pack is just the DAT file which is the boot sector and CDIMAGE which is universal for all.

The only difference between the packs is I believe the label that is used for the CD. :)

and the DAT file is the same as for 2003 and 2000.

I don't believe it's the ISO. Especially since you're running the programs from a non-CD source (right? i think you said that before)

have you tried the Acrobat command outside of the batch file? Or extracted it and gotten the inner MSI so there aren't nested switches?

Link to comment
Share on other sites

:) LOL i haven't another solution but to leave it be cuz i keep repeating myself from amazement(this software has a personal thing against me having a unattended CD and thats it).

Oh and i changed the label to my cd from WINPPFP or whatever to WINXPSP1 hope that isn't the problem either -- i've been getting all kinds of weird ideeas since these two progs stopped running with no aparent reason :rolleyes:

Thi message is kinda of a last round up i'm gonna put those troublemakers in GUIRunOnce so i wont scratch my head so much w/o an answer.

Edited by wolfshade
Link to comment
Share on other sites

After more testing i received an answer from Autopatcher that he can't find some Program Files cuz they are missing or corrupt although i dunnow weather there are his files or the Program Files. He explained in the error window that these files may be missing ,corrupt or tampered with -- but it installs just fine after my first logon and it use to do that while i installed windows from HDD so my guess is that as windows instaled from HDD the files that Autopatcher needed were allready in Program Files. Now i'm installing as usual from CD and obvioulsy the files aren't there since i format at install time.

But the problem is that Adobe Reader 6 won't install either at that time and it seems it does that for the same reasons... can some1 who installed Adobe Reader 6 in cmdlines check in here plz so i'ld know it should work at least.

Both these soft install properly after first logon but don't at all at cmdlines w/ or w/o me tampering with users btw.

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...