DosProbie Posted May 14, 2013 Share Posted May 14, 2013 (edited) Glad u got it working now!!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 appsset cd=%~dp0:: Silent Installsecho. Set restore point..wscript /nologo %cd%apps\RestorePt.vbs echo. Installation Completed!clsecho. Installing registry tweaks..regedit /s %cd%apps\RegTwksW7.regecho. Installation Completed!clsecho. Installing office 2010..%cd%apps\office\setup.exe /config %cd%apps\office\proplus.ww\config.xmlecho. Installation Completed!clsecho. Installing adobe reader xl..%cd%apps\AdbeRdr11003_en_US.exe /sAll /msi /norestart ALLUSERS=1 EULA_ACCEPT=YESecho. Installation Completed!clsecho. Installing cdburner xp..%cd%apps\cdbxp_setup_4.5.1.4003.exe /verysilent /suppressmsgboxes /norestart /sp- echo. Installation Completed!clsecho. Installing flashplayer..%cd%apps\FlashPlayer11.plugin.msi /qnecho. Installation Completed!clsecho. Installing toolbar cleaner..rundll32.exe advpack.dll,LaunchINFSectionEx %cd%\apps\tbc\ToolbarCleaner.inf,,,4echo. Installation Completed!clsecho. Installing winrar..%cd%apps\winrar.exe /secho. Installation Completed!clspause Edited May 14, 2013 by DosProbie Link to comment Share on other sites More sharing options...
DMD61 Posted April 18, 2021 Share Posted April 18, 2021 (edited) Good morning. For a few months, I have been testing on a virtual machine to integrate some tools into the ISO of Windows (W10 V20H2) using the former runonce procedure used for years, but I can't make it run, I checked the scripts and they are all ok. Then to not waste time to install the ISO every time to see if it is executed directly the "setupcomplete.cmd" script directly and the log key is created with the launch programs in the path "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEX". But when the system restarts the programs are not executed. Some idea? Cordially thank you Edited April 18, 2021 by DMD61 Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now