ZYklon

Batch script start up from RunOnce registry fails !

16 posts in this topic

Glad u got it working now!!:D

Just a suggestion but when installing your 14 apps why don't you just consolate them all together in the "apps" folder, then further streamline your code with a set variable and oneliner like so..

@echo off
:: Set current directory for apps
set cd=%~dp0

:: Silent Installs
echo. Set restore point..
wscript /nologo %cd%apps\RestorePt.vbs
echo. Installation Completed!
cls
echo. Installing registry tweaks..
regedit /s %cd%apps\RegTwksW7.reg
echo. Installation Completed!
cls
echo. Installing office 2010..
%cd%apps\office\setup.exe /config %cd%apps\office\proplus.ww\config.xml
echo. Installation Completed!
cls
echo. Installing adobe reader xl..
%cd%apps\AdbeRdr11003_en_US.exe /sAll /msi /norestart ALLUSERS=1 EULA_ACCEPT=YES
echo. Installation Completed!
cls
echo. Installing cdburner xp..
%cd%apps\cdbxp_setup_4.5.1.4003.exe /verysilent /suppressmsgboxes /norestart /sp-
echo. Installation Completed!
cls
echo. Installing flashplayer..
%cd%apps\FlashPlayer11.plugin.msi /qn
echo. Installation Completed!
cls
echo. Installing toolbar cleaner..
rundll32.exe advpack.dll,LaunchINFSectionEx %cd%\apps\tbc\ToolbarCleaner.inf,,,4
echo. Installation Completed!
cls
echo. Installing winrar..
%cd%apps\winrar.exe /s
echo. Installation Completed!
cls
pause

Edited by DosProbie
0

Share this post


Link to post
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.