Share
View previous topicGo downView next topic
avatar
ajarbas

New mode install em first logon.

on Tue 16 May 2017 - 0:59
Message reputation : 100% (1 vote)
A very interressant mode of install on first Logon.
First:
Create the folder $OEM $ with the following syntax:
$OEM$\$\Setup\Scripts\SetupComplete.cmd
$OEM$\$1\App.txt
$OEM$\$1\Setup\Files\My_programs.exe
Important! If you create the App.txt file with another name will not work the script.
Save the script with the name SetupComplete.cmd
See the script below:
Change the title and the order of programs in the way they prefer.
Preview install: 
Code:
@Echo Off
FOR %%i IN (c d e f g h i J k l m n o p q) DO IF EXIST %%i:\App.txt SET SystemDrive=%%i:

SET PP=%SystemDrive%\Setup\files\

REG ADD HKLM\Software\Microsoft\Windows\CurrentVersion\RunOnceEx

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

REG ADD %KEY% /v Flags /t REG_DWORD /d "20" /f

REG ADD %KEY% /V TITLE /D "My Softaware Install" /f

REG ADD %KEY%\000 /VE /D "0001" /f
REG ADD %KEY%\000 /V 1 /D "%PP%001-RuntimePack_x86_x64.exe" /f

REG ADD %KEY%\001 /VE /D "0002" /f
REG ADD %KEY%\001 /V 1 /D "%PP%7z.SFX.Builder.Setup.exe" /f

REG ADD %KEY%\002 /VE /D "0003" /f
REG ADD %KEY%\002 /V 1 /D "%PP%7z1604-x64.exe" /f

REG ADD %KEY%\003 /VE /D "0004" /f
REG ADD %KEY%\003 /V 1 /D "%PP%ACDSeeUltimate.exe" /f

REG ADD %KEY%\004 /VE /D "0005" /f
REG ADD %KEY%\004 /V 1 /D "%PP%Acrobat_Rader_dc.exe" /f

REG ADD %KEY%\005 /VE /D "0006" /f
REG ADD %KEY%\005 /V 1 /D "%PP%Adobeairinstaller.exe" /f

REG ADD %KEY%\006 /VE /D "0007" /f
REG ADD %KEY%\006 /V 1 /D "%PP%advanced-systemcare-setup.exe" /f

REG ADD %KEY%\007 /VE /D "0008" /f
REG ADD %KEY%\007 /V 1 /D "%PP%aida64extreme.exe" /f

REG ADD %KEY%\008 /VE /D "0009" /f
REG ADD %KEY%\008 /V 1 /D "%PP%aimp.exe" /f

REG ADD %KEY%\009 /VE /D "0010" /f
REG ADD %KEY%\009 /V 1 /D "%PP%AllDupSetup.exe" /f

REG ADD %KEY%\010 /VE /D "0011" /f
REG ADD %KEY%\010 /V 1 /D "%PP%APTuner_Install.exe" /f

REG ADD %KEY%\011 /VE /D "0012" /f
REG ADD %KEY%\011 /V 1 /D "%PP%audacity-win-setup.exe" /f

REG ADD %KEY%\012 /VE /D "0013" /f
REG ADD %KEY%\012 /V 1 /D "%PP%autoitsetup.exe" /f

REG ADD %KEY%\013 /VE /D "0014" /f
REG ADD %KEY%\013 /V 1 /D "%PP%bit_che.exe" /f

REG ADD %KEY%\014 /VE /D "0015" /f
REG ADD %KEY%\014 /V 1 /D "%PP%Bongiovi.Acoustics.exe" /f

REG ADD %KEY%\015 /VE /D "0016" /f
REG ADD %KEY%\015 /V 1 /D "%PP%burnaware_pro.exe" /f

REG ADD %KEY%\016 /VE /D "0017" /f
REG ADD %KEY%\016 /V 1 /D "%PP%BurningStudio.exe" /f

REG ADD %KEY%\017 /VE /D "0018" /f
REG ADD %KEY%\017 /V 1 /D "%PP%BusinessCardsMX-setup.exe" /f

REG ADD %KEY%\018 /VE /D "0020" /f
REG ADD %KEY%\018 /V 1 /D "%PP%Cacheman.exe" /f

REG ADD %KEY%\019 /VE /D "0021" /f
REG ADD %KEY%\019 /V 1 /D "%PP%CCleaner_Standard.exe" /f

REG ADD %KEY%\021 /VE /D "0022" /f
REG ADD %KEY%\021 /V 1 /D "%PP%cdbxp_setup_x64.exe" /f

REG ADD %KEY%\022 /VE /D "0023" /f
REG ADD %KEY%\022 /V 1 /D "%PP%ChromeStandaloneSetup_x64_86.exe" /f

REG ADD %KEY%\023 /VE /D "0024" /f
REG ADD %KEY%\023 /V 1 /D "%PP%ClassicShellSetup.exe" /f

REG ADD %KEY%\024 /VE /D "0025" /f
REG ADD %KEY%\024 /V 1 /D "%PP%Convertxtodvd.exe" /f

REG ADD %KEY%\025 /VE /D "0026" /f
REG ADD %KEY%\025 /V 1 /D "%PP%Convertxtovideo.exe" /f

REG ADD %KEY%\026 /VE /D "0027" /f
REG ADD %KEY%\026 /V 1 /D "%PP%CorelDraw_x8_x64_x86.exe" /f

REG ADD %KEY%\027 /VE /D "0028" /f
REG ADD %KEY%\027 /V 1 /D "%PP%Create_silent_install.exe" /f

REG ADD %KEY%\028 /VE /D "0029" /f
REG ADD %KEY%\028 /V 1 /D "%PP%CrystalDiskInfo_x64.exe" /f

REG ADD %KEY%\029 /VE /D "0030" /f
REG ADD %KEY%\029 /V 1 /D "%PP%CyberLink_PowerDVD_Ultra.exe" /f

REG ADD %KEY%\030 /VE /D "0031" /f
REG ADD %KEY%\030 /V 1 /D "%PP%Dfx12setup.exe" /f

REG ADD %KEY%\031 /VE /D "0032" /f
REG ADD %KEY%\031 /V 1 /D "%PP%Directx_jun2010_redist.exe" /f

REG ADD %KEY%\032 /VE /D "0033" /f
REG ADD %KEY%\032 /V 1 /D "%PP%dMC-Ref-Registered.exe" /f

REG ADD %KEY%\033 /VE /D "0034" /f
REG ADD %KEY%\033 /V 1 /D "%PP%Double-driver.exe" /f

REG ADD %KEY%\034 /VE /D "0035" /f
REG ADD %KEY%\034 /V 1 /D "%PP%DriverBoosterPro.exe" /f

REG ADD %KEY%\035 /VE /D "0036" /f
REG ADD %KEY%\035 /V 1 /D "%PP%Driver_Magician.exe" /f

REG ADD %KEY%\036 /VE /D "0037" /f
REG ADD %KEY%\036 /V 1 /D "%PP%DUMeter-Install.exe" /f

REG ADD %KEY%\037 /VE /D "0038" /f
REG ADD %KEY%\037 /V 1 /D "%PP%Easybcd_2.3.exe" /f

REG ADD %KEY%\038 /VE /D "0039" /f
REG ADD %KEY%\038 /V 1 /D "%PP%ez_cd_audio_converter_setup_x86.exe" /f

REG ADD %KEY%\039 /VE /D "0040" /f
REG ADD %KEY%\039 /V 1 /D "%PP%Fdm_setup_x64_x86.exe" /f

REG ADD %KEY%\040 /VE /D "0041" /f
REG ADD %KEY%\040 /V 1 /D "%PP%FileMenuTools-setup.exe" /f

REG ADD %KEY%\041 /VE /D "0042" /f
REG ADD %KEY%\041 /V 1 /D "%PP%Firebird_x64_x86.exe" /f

REG ADD %KEY%\042 /VE /D "0043" /f
REG ADD %KEY%\042 /V 1 /D "%PP%Firefox_AIO_pt-BR.exe" /f

REG ADD %KEY%\043 /VE /D "0044" /f
REG ADD %KEY%\043 /V 1 /D "%PP%Flash_AIO.exe" /f

REG ADD %KEY%\044 /VE /D "0045" /f
REG ADD %KEY%\044 /V 1 /D "%PP%flstudio.exe" /f

REG ADD %KEY%\045 /VE /D "0046" /f
REG ADD %KEY%\045 /V 1 /D "%PP%Foldersizeexplorer.exe" /f

REG ADD %KEY%\046 /VE /D "0047" /f
REG ADD %KEY%\046 /V 1 /D "%PP%FreeMeterSetup.exe" /f

REG ADD %KEY%\047 /VE /D "0048" /f
REG ADD %KEY%\047 /V 1 /D "%PP%FrpSetup.exe" /f

REG ADD %KEY%\048 /VE /D "0049" /f
REG ADD %KEY%\048 /V 1 /D "%PP%GetFoldersizeSetup.exe" /f

REG ADD %KEY%\049 /VE /D "0050" /f
REG ADD %KEY%\049 /V 1 /D "%PP%Gsync.exe" /f

REG ADD %KEY%\050 /VE /D "0051" /f
REG ADD %KEY%\050 /V 1 /D "%PP%Hddledinstall.exe" /f

REG ADD %KEY%\051 /VE /D "0052" /f
REG ADD %KEY%\051 /V 1 /D "%PP%Hdsentinel_pro_setup.exe" /f

REG ADD %KEY%\052 /VE /D "0053" /f
REG ADD %KEY%\052 /V 1 /D "%PP%hwmonitor.exe" /f

REG ADD %KEY%\053 /VE /D "0054" /f
REG ADD %KEY%\053 /V 1 /D "%PP%innosetup.exe" /f

REG ADD %KEY%\054 /VE /D "0055" /f
REG ADD %KEY%\054 /V 1 /D "%PP%Instalardigicertomaster2.3.exe" /f

REG ADD %KEY%\055 /VE /D "0056" /f
REG ADD %KEY%\055 /V 1 /D "%PP%Instalar_OSVendas3.0_AJARBAS.exe" /f

REG ADD %KEY%\056 /VE /D "0057" /f
REG ADD %KEY%\056 /V 1 /D "%PP%ipscan.exe" /f

REG ADD %KEY%\057 /VE /D "0058" /f
REG ADD %KEY%\057 /V 1 /D "%PP%Irfanview_x64_setup.exe" /f

REG ADD %KEY%\058 /VE /D "0059" /f
REG ADD %KEY%\058 /V 1 /D "%PP%Isetup-5.5.7.exe" /f

REG ADD %KEY%\059 /VE /D "0060" /f
REG ADD %KEY%\059 /V 1 /D "%PP%Java_Dual.exe" /f

REG ADD %KEY%\060 /VE /D "0061" /f
REG ADD %KEY%\060 /V 1 /D "%PP%JD_Repack.exe" /f

REG ADD %KEY%\061 /VE /D "0062" /f
REG ADD %KEY%\061 /V 1 /D "%PP%jv16pt_setup.exe" /f

REG ADD %KEY%\062 /VE /D "0063" /f
REG ADD %KEY%\062 /V 1 /D "%PP%K-Lite_Codec_Pack_Mega_x64_x86.exe" /f

REG ADD %KEY%\063 /VE /D "0064" /f
REG ADD %KEY%\063 /V 1 /D "%PP%Kit-windows-8.1.exe" /f

REG ADD %KEY%\064 /VE /D "0065" /f
REG ADD %KEY%\064 /V 1 /D "%PP%[CENSORED]" /f

REG ADD %KEY%\065 /VE /D "0066" /f
REG ADD %KEY%\065 /V 1 /D "%PP%Listary.exe" /f

REG ADD %KEY%\066 /VE /D "0067" /f
REG ADD %KEY%\066 /V 1 /D "%PP%Manycamsetup.exe" /f

REG ADD %KEY%\067 /VE /D "0068" /f
REG ADD %KEY%\067 /V 1 /D "%PP%Maxthon.exe" /f

REG ADD %KEY%\068 /VE /D "0069" /f
REG ADD %KEY%\068 /V 1 /D "%PP%msxml6-kb925673-enu-amd64.exe" /f

REG ADD %KEY%\069 /VE /D "0070" /f
REG ADD %KEY%\069 /V 1 /D "%PP%NetTraffic.exe" /f

REG ADD %KEY%\070 /VE /D "0071" /f
REG ADD %KEY%\070 /V 1 /D "%PP%Notepad.exe" /f

REG ADD %KEY%\071 /VE /D "0072" /f
REG ADD %KEY%\071 /V 1 /D "%PP%nsis-setup.exe" /f

REG ADD %KEY%\072 /VE /D "0073" /f
REG ADD %KEY%\072 /V 1 /D "%PP%Ntlite_setup_x64.exe" /f

REG ADD %KEY%\073 /VE /D "0074" /f
REG ADD %KEY%\073 /V 1 /D "%PP%Oem_information.exe" /f

REG ADD %KEY%\074 /VE /D "0075" /f
REG ADD %KEY%\074 /V 1 /D "%PP%OeoDefragPro.exe" /f

REG ADD %KEY%\075 /VE /D "0076" /f
REG ADD %KEY%\075 /V 1 /D "%PP%Office_2013_x64.exe" /f

REG ADD %KEY%\076 /VE /D "0077" /f
REG ADD %KEY%\076 /V 1 /D "%PP%Onedrivesetup.exe" /f

REG ADD %KEY%\077 /VE /D "0078" /f
REG ADD %KEY%\077 /V 1 /D "%PP%Opera_Setup__x64_x86.exe" /f

REG ADD %KEY%\078 /VE /D "0079" /f
REG ADD %KEY%\078 /V 1 /D "%PP%Partitionguru.exe" /f

REG ADD %KEY%\079 /VE /D "0080" /f
REG ADD %KEY%\079 /V 1 /D "%PP%PartitionMaster.exe" /f

REG ADD %KEY%\080 /VE /D "0081" /f
REG ADD %KEY%\080 /V 1 /D "%PP%PDFCreator.exe" /f

REG ADD %KEY%\081 /VE /D "0082" /f
REG ADD %KEY%\081 /V 1 /D "%PP%Ponyprogv205a.exe" /f

REG ADD %KEY%\082 /VE /D "0083" /f
REG ADD %KEY%\082 /V 1 /D "%PP%PotPlayer_setup_x64x86.exe" /f

REG ADD %KEY%\083 /VE /D "0084" /f
REG ADD %KEY%\083 /V 1 /D "%PP%PowerISO.exe" /f

REG ADD %KEY%\084 /VE /D "0085" /f
REG ADD %KEY%\084 /V 1 /D "%PP%ProShowProducer-8.0.3648.0.exe" /f

REG ADD %KEY%\085 /VE /D "0086" /f
REG ADD %KEY%\085 /V 1 /D "%PP%QTranslate.exe" /f

REG ADD %KEY%\086 /VE /D "0087" /f
REG ADD %KEY%\086 /V 1 /D "%PP%Red-v2.2-setup.exe" /f

REG ADD %KEY%\087 /VE /D "0088" /f
REG ADD %KEY%\087 /V 1 /D "%PP%regscanner_setup.exe" /f

REG ADD %KEY%\088 /VE /D "0089" /f
REG ADD %KEY%\088 /V 1 /D "%PP%Reshacker_setup.exe" /f

REG ADD %KEY%\089 /VE /D "0090" /f
REG ADD %KEY%\089 /V 1 /D "%PP%Setupdvddecrypter_3.5.4.0.exe" /f

REG ADD %KEY%\090 /VE /D "0091" /f
REG ADD %KEY%\090 /V 1 /D "%PP%SetupEdgeManage.exe" /f

REG ADD %KEY%\091 /VE /D "0092" /f
REG ADD %KEY%\091 /V 1 /D "%PP%Silverlight_x64_x86.exe" /f

REG ADD %KEY%\092 /VE /D "0093" /f
REG ADD %KEY%\092 /V 1 /D "%PP%Simple_port_forwarding_setup.exe" /f

REG ADD %KEY%\093 /VE /D "0094" /f
REG ADD %KEY%\093 /V 1 /D "%PP%SkypeSetup.exe" /f

REG ADD %KEY%\094 /VE /D "0095" /f
REG ADD %KEY%\094 /V 1 /D "%PP%Sonyvegaspro.exe" /f

REG ADD %KEY%\095 /VE /D "0096" /f
REG ADD %KEY%\095 /V 1 /D "%PP%SoundForgePro.exe" /f

REG ADD %KEY%\096 /VE /D "0097" /f
REG ADD %KEY%\096 /V 1 /D "%PP%sumo_lite.exe" /f

REG ADD %KEY%\097 /VE /D "0098" /f
REG ADD %KEY%\097 /V 1 /D "%PP%Sw_lic_slim_installer.exe" /f

REG ADD %KEY%\098 /VE /D "0099" /f
REG ADD %KEY%\098 /V 1 /D "%PP%tapinradio_setup_x64_x86.exe" /f

REG ADD %KEY%\099 /VE /D "0100" /f
REG ADD %KEY%\099 /V 1 /D "%PP%TeamViewer_Setup_pt.exe" /f

REG ADD %KEY%\100 /VE /D "0101" /f
REG ADD %KEY%\100 /V 1 /D "%PP%teracopy.exe" /f

REG ADD %KEY%\101 /VE /D "0102" /f
REG ADD %KEY%\101 /V 1 /D "%PP%Thunderbird_pt-BR.exe" /f

REG ADD %KEY%\102 /VE /D "0103" /f
REG ADD %KEY%\102 /V 1 /D "%PP%TorrentRoverSetup.exe" /f

REG ADD %KEY%\103 /VE /D "0104" /f
REG ADD %KEY%\103 /V 1 /D "%PP%Total-Uninstall-Setup_x32.exe" /f

REG ADD %KEY%\104 /VE /D "0105" /f
REG ADD %KEY%\104 /V 1 /D "%PP%Traktor_setup.exe" /f

REG ADD %KEY%\105 /VE /D "0106" /f
REG ADD %KEY%\105 /V 1 /D "%PP%Uap_w81_x64_86.exe" /f

REG ADD %KEY%\106 /VE /D "0107" /f
REG ADD %KEY%\106 /V 1 /D "%PP%UltraISO_9.6.6.3300.exe" /f

REG ADD %KEY%\107 /VE /D "0108" /f
REG ADD %KEY%\107 /V 1 /D "%PP%UninstallerPro.exe" /f

REG ADD %KEY%\108 /VE /D "0109" /f
REG ADD %KEY%\108 /V 1 /D "%PP%Upload.exe" /f

REG ADD %KEY%\109 /VE /D "0110" /f
REG ADD %KEY%\109 /V 1 /D "%PP%USBSafelyRemove.exe" /f

REG ADD %KEY%\110 /VE /D "0111" /f
REG ADD %KEY%\110 /V 1 /D "%PP%uTorrent.exe" /f

REG ADD %KEY%\111 /VE /D "0112" /f
REG ADD %KEY%\111 /V 1 /D "%PP%VirtualBox.exe" /f

REG ADD %KEY%\112 /VE /D "0113" /f
REG ADD %KEY%\112 /V 1 /D "%PP%Vlc-2.2.4-win64.exe" /f

REG ADD %KEY%\113 /VE /D "0114" /f
REG ADD %KEY%\113 /V 1 /D "%PP%VMware-workstation.exe" /f

REG ADD %KEY%\114 /VE /D "0115" /f
REG ADD %KEY%\114 /V 1 /D "%PP%WhatsAppSetup_x64_x86.exe" /f

REG ADD %KEY%\115 /VE /D "0116" /f
REG ADD %KEY%\115 /V 1 /D "%PP%Winaero_Tweaker_setup.exe" /f

REG ADD %KEY%\116 /VE /D "0117" /f
REG ADD %KEY%\116 /V 1 /D "%PP%Winamp5666_full_all.exe" /f

REG ADD %KEY%\117 /VE /D "0118" /f
REG ADD %KEY%\117 /V 1 /D "%PP%Windows8manager.exe" /f

REG ADD %KEY%\118 /VE /D "0119" /f
REG ADD %KEY%\118 /V 1 /D "%PP%WinRAR_AIO_5.4b-r.exe" /f

REG ADD %KEY%\119 /VE /D "0120" /f
REG ADD %KEY%\119 /V 1 /D "%PP%Youtube_downloader_hd.exe" /f

REG ADD %KEY%\120 /VE /D "0121" /f
REG ADD %KEY%\120 /V 1 /D "%PP%ZZ-EAV.ESS.v10.0.390.0.exe" /f

REG ADD %KEY%\121 /VE /D "0122" /f
REG ADD %KEY%\121 /V 1 /D "%PP%Zz-cdr.exe" /f

REG ADD %KEY%\122 /VE /D "0123" /f
REG ADD %KEY%\122 /V 1 /D "%PP%ZZZ-Create_restore_point.exe" /f

REG ADD %KEY%\123 /VE /D "0124" /f
REG ADD %KEY%\123 /V 1 /D "%PP%zzz-Del_dir_setup_files.exe" /f
EXIT
avatar
winterstorm2050
Admin
https://www.winreducer.net/

Re: New mode install em first logon.

on Thu 18 May 2017 - 14:39
Message reputation : 100% (1 vote)
Hello ajarbas Smile

Yes, indeed ... this is an interesting alternative solution to create a customized installation Smile

Thank you very much for the sharing !
avatar
ajarbas

Re: New mode install em first logon.

on Thu 18 May 2017 - 18:25
winterstorm2050 wrote:Hello ajarbas Smile

Yes, indeed ... this is an interesting alternative solution to create a customized installation Smile

Thank you very much for the sharing !
I appreciate your work and I at all on the forum. Thank you for being grateful! Very Happy
View previous topicBack to topView next topic
Permissions in this forum:
You cannot reply to topics in this forum