Jump to content

Recommended Posts

Posted

hi greenmachine nice new updated work since i last checked it out, well this i wanted to test it out on how your latest work was going and ive came inti a few snags that maybe you can answer for me.

well ive set every thing up like your guide calls for now but for some reason my custom boot screen my custom logon screen/ custom theme, are not working. plus im not sure if i even need to have a reboot of my own added to my cleanup.cmd

im calling everything out through a runonceEx and here it is

cmdow @ /HID

@echo off

SET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx

REG ADD %KEY% /V TITLE /D "Installing Applications" /f

REG ADD %KEY%\001 /VE /D "Preparing Installation..." /f

REG ADD %KEY%\001 /V 1 /D "%systemdrive%\install\prepare.cmd" /f

REG ADD %KEY%\005 /VE /D "Custom Bootlogo" /f

REG ADD %KEY%\005 /V 1 /D "%systemdrive%\install\bootlogo.cmd" /f

REG ADD %KEY%\010 /VE /D "Custom Theme" /f

REG ADD %KEY%\010 /V 1 /D "%systemdrive%\install\custom.cmd" /f

REG ADD %KEY%\015 /VE /D "Lavasoft Ad-Aware 6 Build 181" /f

REG ADD %KEY%\015 /V 1 /D "%systemdrive%\install\Applications\AdAware\aaw6181.exe /s" /f

REG ADD %KEY%\020 /VE /D "ZoneAlarm Free 5.0.590" /f

REG ADD %KEY%\020 /V 1 /D "%systemdrive%\install\Applications\ZoneAlarm\zlsSetup_50_590_043.exe /s /noreboot" /f

REG ADD %KEY%\025 /VE /D "TweakUI 2.10 Powertoy" /f

REG ADD %KEY%\025 /V 1 /D "%systemdrive%\install\Applications\PowerToys\TweakUI.msi /qb" /f

REG ADD %KEY%\030 /VE /D "Kazaa Lite Resurrection 0.0.7.5" /f

REG ADD %KEY%\030 /V 1 /D "%systemdrive%\install\Applications\KazaaLite\autoKLiteRessetup.exe" /f

REG ADD %KEY%\035 /VE /D "Adobe Reader 6" /f

REG ADD %KEY%\035 /V 1 /D "%systemdrive%\install\Applications\AdobeReader6\AdbeRdr60_enu.exe -p\"-s /v\"/qn\"\"" /f

REG ADD %KEY%\040 /VE /D "Sun Java VM 1.4.2" /f

REG ADD %KEY%\040 /V 1 /D "%systemdrive%\install\Applications\SunJava\j2re-1_4_2_04-windows-i586-p.exe /s /v/qn" /f

REG ADD %KEY%\045 /VE /D "Google Search Bar 2.0" /f

REG ADD %KEY%\045 /V 1 /D "%systemdrive%\install\Applications\Google\GoogleToolbarInstaller.exe /qn" /f

REG ADD %KEY%\050 /VE /D "Real Alternative 1.10" /f

REG ADD %KEY%\050 /V 1 /D "%systemdrive%\install\Applications\RealAlternative\realalt110.exe /VERYSILENT /SP-" /f

REG ADD %KEY%\055 /VE /D "QuickTime Alternative 1.22" /f

REG ADD %KEY%\055 /V 1 /D "%systemdrive%\install\Applications\QuickTimeAlternative\quicktimealt122.pegasoft.cz.exe /VERYSILENT /SP-" /f

REG ADD %KEY%\060 /VE /D "Peer Guardian 199pr14" /f

REG ADD %KEY%\060 /V 1 /D "%systemdrive%\install\Applications\PeerGuardian\PeerGuardian_v1.99_pr14.exe /VERYSILENT /SP-" /f

REG ADD %KEY%\065 /VE /D "XP AntiSpy" /f

REG ADD %KEY%\065 /V 1 /D "%systemdrive%\install\Applications\XPAntiSpy\xp-AntiSpy-setup_en.exe /S" /f

REG ADD %KEY%\070 /VE /D "Skype 0.98" /f

REG ADD %KEY%\070 /V 1 /D "%systemdrive%\install\Applications\Skype\SkypeSetup-Beta.exe /VERYSILENT /SP-" /f

REG ADD %KEY%\070 /V 2 /D "REGEDIT /S %systemdrive%\install\Applications\Skype\register.reg" /f

REG ADD %KEY%\075 /VE /D "Reg Scrub" /f

REG ADD %KEY%\075 /V 1 /D "%systemdrive%\install\Applications\RegScrub\regscrubxpsetup_3.2.exe /VERYSILENT /SP-" /f

REG ADD %KEY%\080 /VE /D "Real Converter Pro" /f

REG ADD %KEY%\080 /V 1 /D "%systemdrive%\install\Applications\RealConverterPro\ReaConverterPro.exe /VERYSILENT /SP-" /f

REG ADD %KEY%\085 /VE /D "Spybot SD v1.3" /f

REG ADD %KEY%\085 /V 1 /D "%systemdrive%\install\Applications\spybot\spybotsd13.exe /VERYSILENT /NOCANCEL /TASKBARHIDE /AUTOCLOSE" /f

REG ADD %KEY%\090 /VE /D "Spyware Blaster 3.1" /f

REG ADD %KEY%\090 /V 1 /D "%systemdrive%\install\Applications\Spyware_Balster\spywareblastersetup.exe /VERYSILENT /NOCANCEL /SP- /NORESTART" /f

REG ADD %KEY%\090 /V 2 /D "%systemdrive%\install\pskill spywareblaster.exe" /f

REG ADD %KEY%\095 /VE /D "MSN Messenger 6.2" /f

REG ADD %KEY%\095 /V 1 /D "%systemdrive%\install\Applications\Messenger\MsnMsgs.msi /qn" /f

REG ADD %KEY%\095 /V 2 /D "REGEDIT /S %systemdrive%\install\Applications\Messenger\register.reg" /f

REG ADD %KEY%\100 /VE /D "Messenger Plus 3" /f

REG ADD %KEY%\100 /V 1 /D "%systemdrive%\install\Applications\Messenger Plus\MsgPlus-301.exe /SilentInstallNoSponsor" /f

REG ADD %KEY%\105 /VE /D "Cleaning Up and Rebooting" /f

REG ADD %KEY%\105 /V 1 /D "%systemdrive%\install\Cleanup.cmd" /f

EXIT

and also theres a few other issues with my unattended like why messenger plus 3 wont instal and why my cleanupfile dosnt seem to work except for the rebooting part, i know the msg plus 3 isnt your problem thats mine but if you wouldnt mind looking at this cleanup file and my other few questions and then giving me some feed back on what i should do to remidy this id really appreciate it.

heres my cleanup.cmd

cmdow @ /HID

shutdown.exe -r -f -t 60 -c "Windows XP will now restart in 1 minute..."

net user aspnet /delete

RD /S /Q %systemdrive%\drivers\

RD /S /Q %systemdrive%\install\

DEL "%USERSPROFILE%\Desktop\RegScrubXP.lnk"

DEL "%USERSPROFILE%\Desktop\SpywareBlaster.lnk"

DEL "%AllUsersProfile%\Desktop\Configuration Wizard.lnk"

DEL "%AllUsersProfile%\Desktop\Java Web Start.lnk"

EXIT

for some reason my clean up just dosnt delete desktop icons

i hope you can give me some help ful advice

thanks


Posted

oh yes and to add more insight, in the last version of xpcreate when it was all green and stuff

the ways that i used to instal my custom, theme, boot screen and custom logon, is the very same as i used in the previous xpcrates running them through the runonceEx.

well thats about it now i guess ill sit back and hope you have a response for me

thanks again

Posted

i think i may have spotted the problem it seems my $$ folder didnt carry over for some thing, so im gonna test it once again with that folder in place and see what happens ill post back my results :)

Posted

well it seems i fixed my own problem, but to not have this thread in vein i still need my other question answered do i still need to uise my reboot command in my cleanup file or is there a built in reset that youve added, just curious

thanks and btw youve really improved xpcreate alot keep up the great work :)

Posted

Hmm. I came into the thread ready to answer a question, and it's already done. That was easy :)

As for rebooting the machine, those types of issues are mostly covered in the unattended forum, and not really handled by xpcreate.

Posted

well they are answered through the forum but this is greenmachines baby and he always give insight to what his program can and can not do, so its a simple and easy direct question, but right now im leaveing the reboot in my script unless, greenmachine suggest that i dont need it, but thanks for the reply

Posted

Hello again, Lost Soul!

So ... it looks like the applications not installing were due to a $OEM$\ file copy, and that's OK now. Your clean-up command looks fine, except that USERSPROFILE should read USERPROFILE (you have an extra 'S').

XPCREATE used to handle RunOnceEx and reboots, but I've stopped that for two reasons: 1) It sometimes conflicted with the Users own RunOnceEx files, 2) Reduced maintainence/debugging time.

So, in answer to your question, as Virindi said, it is really not an XPCREATE issue. My opinion ... given the list of things you are installing during RunOnceEx, I would recommend a reboot and clean up as you currently have!

As I have less and less free time, (and more and more summer vacation!), I'm relying more on users helping eachother, as Virindi has been doing. Thanks!

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