Jump to content

[Solved] 1.4.37.x - Silent Installer / RunOnce does not work


Cartman586

Recommended Posts

Hi Lego,

from V 1.4.34.12 - 1.4.37.3 i can integrate Programms to Silent Installer, but when Windows Start at the setup,

It does not lead to the RunceInstaller.

See the Screen, i can integrate but the installation is fault :-(

the last V it is works is 1.4.35.5!!!

P.S. all programms do you see on screenshot works corectly with silent installer / Runce installer

at V.1.3.35.5

but not from V 1.4.34.12 - 1.4.37.3 :-(

the runceinstaller not appear!

---------------------------------------

Hi Lego, sorry, with 1.4.37.4 Does it not also!

---------------------------------

Hi Lego,

from V 1.4.34.12 - 1.4.37.4 i can integrate Programms to Silent Installer, but when Windows Start at the setup,

It does not lead to the RunceInstaller.

See the Screen, i can integrate but the installation is fault :-(

the last V it is works is 1.4.35.5!!!

P.S. all programms do you see on screenshot works corectly with silent installer / Runce installer

at V.1.3.35.5

but not from V 1.4.34.12 - 1.4.37.4 :-(

I have:

Microsoft .Net Framework 4.5.1 /q

Microsoft .Net Framework 4.5.1 LP/q

Microsoft .Net Framework 4.5.1 Update 1/q

Microsoft .Net Framework 4.5.1 Update 2/q

Microsoft Defender 1.169.515.0/q

Microsoft Removal Tool 5.10/q

Microsoft Silverlight 5.1.30214.0/q

Microsoft Visual C 2008 SP1/q

Windows6.1-KB2533552-x64

www.comic-site.de/silent.rar (you can try, at the windows installer runce installer dosn't come!

link available in any minutes

Link to comment
Share on other sites

  • Replies 57
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted Images

I've merged all your topics together into this one.  :)



The next step for me is to try it with your exe files and switches.

P.S. Thanks for uploading them, much appreciated.




Worked fine for me. Are you installing it from USB or DVD?

post-10183-0-81546300-1395569353_thumb.p

 

EDIT: Hmm, i think it only the first one installed. The rest displayed an error and made RunOnce close itself.

 

EDIT: I believe the first one try to make the entire thing restart. You need to add /norestart after the .NET 4 ones i think.

Link to comment
Share on other sites

Right The Command is Changed from /q to /q /norestart

But Problems With The 3kb vor ie

Please make a new Build to try

See The Microsoft Visual c++ 2008 sp1 it you gtx.

He installet this, but found it on windows Update Too???

Edited by bphlpt
Merged posts
Link to comment
Share on other sites

The silent installer doesn't work for me since 1.4.34.2. i don't even see it's popping up for a second. i copy the DRIVERS folder onto  %SYSTEMDRIVE% with $$OEM$$\$1, but nothing happens. its only LAN, Mass and USB3 Drivers. but nothing happen at logon. in old 1.4.34.2 it worked. nothing changed until now

Link to comment
Share on other sites

i mean with DRIVER folder in $$OEM$$\$1 on windows dvd sources folder. after installation DRIVERS folder is on %SYSTEMDRIVE%. this way it worked without problems in version 1.4.34.2. nothing else i had to be done. silent installer installed the drivers on logon and everything was fine. now it doesn't work anymore

 

 

 

Edit:

Did you made any changes and previous RUNONCE installations via SETUPCOMPLETE.cmd made silent-installer real silent ?  :D 

 

 

 

Edit:

If i go to system32 folder and start silent installer manually it works

Edited by Snow
Link to comment
Share on other sites

oh no. my problem is extracted drivers with inf files doesn't install from silent installer. in wintoolkit v1.4.34.2 it worked without problems. in newer versions it didn't

Link to comment
Share on other sites

ok, here's my SETUPCOMPLETE.cmd

 

 

 

EDIT:

 

hmmm. Where is it gone ??

 

 

where's the spoiler function ??

 

ok, here it is:

 

@ECHO OFF
SET INST=%windir%\setup\scripts\INST
SET TEST=%windir%\setup\scripts\INST\TEST
SET ROE=%windir%\setup\scripts\ROE
SET ROEE=%systemdrive%\ROEE
SET SWOW=%SystemRoot%\SysWOW64\cmd.exe
IF EXIST %SWOW% SET ROEx=%ROE%\ROExAdd-x64.exe && SET ROEEx=%ROEE%\ROExAdd-x64.exe && GOTO INSTROE
SET ROEx=%ROE%\ROExAdd-x32.exe && SET ROEEx=%ROEE%\ROExAdd-x32.exe && GOTO INSTROE
 
:INSTROE
if exist %ROE%\Abschluss-x86.exe start /wait %ROEx% "Abschluss der Windows-Installation" "Abschluss-x86.exe" "" "Installiere"
if exist %ROE%\Abschluss-x64.exe start /wait %ROEx% "Abschluss der Windows-Installation" "Abschluss-x64.exe" "" "Installiere"
 
if exist %ROEE%\Flash-AIR-Java.exe start /wait %ROEEx% "Flash-AIR-Java" "Flash-AIR-Java.exe" "" "Installiere"
if exist %ROEE%\Java-x64.exe start /wait %ROEEx% "Java-RE-64bit" "Java-x64.exe" "" "Installiere"
if exist %ROEE%\burnaware-free.exe start /wait %ROEEx% "burnaware-free" "burnaware-free.exe" "" "Installiere"
if exist %ROEE%\Defraggler.exe start /wait %ROEEx% "Defraggler" "Defraggler.exe" "" "Installiere"
if exist %ROE%\Recuva.exe start /wait %ROEx% "Recuva" "Recuva.exe" "" "Installiere"
if exist %ROEE%\Speccy.exe start /wait %ROEEx% "Speccy" "Speccy.exe" "" "Installiere"
if exist %ROE%\SumatraPDF-2.4-install.exe start /wait %ROEx% "SumatraPDF" "SumatraPDF-2.4-install.exe" "_/s_/register_/opt_plugin,_pdffilter,_pdfpreviewer" "Installiere"
if exist %ROE%\Universal-Extractor.exe start /wait %ROEx% "Universal-Extractor" "Universal-Extractor.exe" "_/S_/NCRC" "Installiere"
if exist %ROEE%\Virtual-Clone-Drive-5.4.7.0.exe start /wait %ROEEx% "Virtual-Clone-Drive" "Virtual-Clone-Drive-5.4.7.0.exe" "" "Installiere"
 
start /wait %ROEx% "MS-Security-Essentials" "MS-Security-Essentials.exe" "" "Installiere"
start /wait %ROEx% "HideWSUS" "HideWSUS.exe" "" "Installiere"
 
:INST
if exist %INST%\MS\Windows6.1-KB2533552-x86.msu start /wait %INST%\MS\Windows6.1-KB2533552-x86.msu /quiet /norestart >nul
if exist %INST%\MS\Windows6.1-KB2533552-x64.msu start /wait %INST%\MS\Windows6.1-KB2533552-x64.msu /quiet /norestart >nul
if exist %INST%\MS\Windows6.1-KB2603229-x64.msu start /wait %INST%\MS\Windows6.1-KB2603229-x64.msu /quiet /norestart >nul
if exist %INST%\MS\msxml4-KB2758694-deu.exe start /wait %INST%\MS\msxml4-KB2758694-deu.exe >nul
 
if exist %INST%\MS\NET-4.5.1.exe start /wait %INST%\MS\NET-4.5.1.exe >nul
 
if exist %INST%\MS\MSVC-directX-x86.exe start /wait %INST%\MS\MSVC-directX-x86.exe >nul
if exist %INST%\MS\MSVC-directX-x64.exe start /wait %INST%\MS\MSVC-directX-x64.exe >nul
 
ECHO wscript.sleep 3000 >%temp%\sleep.vbs
wscript.exe %temp%\sleep.vbs
DEL "%temp%\sleep.vbs" /f /q >nul
 
start /wait %INST%\MS\Silverlight.exe /q >nul
 
if exist %INST%\MS\Windows6.1-KB2685811-x86.msu start /wait %INST%\MS\Windows6.1-KB2685811-x86.msu /quiet /norestart >nul
if exist %INST%\MS\Windows6.1-KB2685811-x64.msu start /wait %INST%\MS\Windows6.1-KB2685811-x64.msu /quiet /norestart >nul
if exist %INST%\MS\Windows6.1-KB2685813-x86.msu start /wait %INST%\MS\Windows6.1-KB2685813-x86.msu /quiet /norestart >nul
if exist %INST%\MS\Windows6.1-KB2685813-x64.msu start /wait %INST%\MS\Windows6.1-KB2685813-x64.msu /quiet /norestart >nul
 
if exist %INST%\MS\Windows6.1-KB2862330-v2-x86.msu start /wait %INST%\MS\Windows6.1-KB2862330-v2-x86.msu /quiet /norestart >nul
if exist %INST%\MS\Windows6.1-KB2862330-v2-x64.msu start /wait %INST%\MS\Windows6.1-KB2862330-v2-x64.msu /quiet /norestart >nul
if exist %INST%\MS\Windows6.1-KB2895729-v2-x86.msu start /wait %INST%\MS\Windows6.1-KB2895729-v2-x86.msu /quiet /norestart >nul
if exist %INST%\MS\Windows6.1-KB2895729-v2-x64.msu start /wait %INST%\MS\Windows6.1-KB2895729-v2-x64.msu /quiet /norestart >nul
 
if exist %INST%\MS\Windows6.1-KB971033-x86.msu start /wait %INST%\MS\Windows6.1-KB971033-x86.msu /quiet /norestart >nul
if exist %INST%\MS\Windows6.1-KB971033-x64.msu start /wait %INST%\MS\Windows6.1-KB971033-x64.msu /quiet /norestart >nul
 
GOTO END
 
:END
cd %~dp0
 
REM Energieeinstellungen
powercfg.exe -change -monitor-timeout-ac 45
powercfg.exe -change -standby-timeout-ac 720
powercfg.exe -change -disk-timeout-ac 600
 
ECHO wscript.sleep 1000 >%temp%\sleep.vbs
wscript.exe %temp%\sleep.vbs
DEL "%temp%\sleep.vbs" /f /q >nul
 
REM Windows Update
sc.exe stop wuauserv
REG ADD "HKLM\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU" /v NoAutoRebootWithLoggedOnUsers /t REG_DWORD /d "00000001" /f >nul
REG ADD "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate\Auto Update" /v AUOptions /t REG_DWORD /d "00000002" /f >nul
REG ADD "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate\Auto Update" /v ElevateNonAdmins /t REG_DWORD /d "00000000" /f >nul
REG ADD "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate\Auto Update" /v EnableFeaturedSoftware /t REG_DWORD /d "00000001" /f >nul
REG ADD "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate\Auto Update" /v IncludeRecommendedUpdates /t REG_DWORD /d "00000000" /f >nul
 
REM Systemwiederherstellung
REG ADD "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\SystemRestore" /v RPGlobalInterval /t REG_DWORD /d "00172800" /f >nul
REG ADD "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\SystemRestore" /v RPLifeInterval /t REG_DWORD /d "00345600" /f >nul
REG ADD "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\SystemRestore" /v ThawInterval /t REG_DWORD /d "00000900" /f >nul
REG ADD "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\SystemRestore" /v FirstRun /t REG_DWORD /d "00000000" /f >nul
 
ECHO wscript.sleep 1000 >%temp%\sleep.vbs
wscript.exe %temp%\sleep.vbs
DEL "%temp%\sleep.vbs" /f /q >nul
 
REM Letzter Zugriffsstempel AUS
FSUTIL behavior set disablelastaccess 1
 
ECHO wscript.sleep 1000 >%temp%\sleep.vbs
wscript.exe %temp%\sleep.vbs
DEL "%temp%\sleep.vbs" /f /q >nul
 
if exist %INST% rd /s /q %INST% >nul
 
ECHO wscript.sleep 3000 >%temp%\sleep.vbs
wscript.exe %temp%\sleep.vbs
DEL "%temp%\sleep.vbs" /f /q >nul
 
DEL /f /s /q "%windir%\setup\scripts\SetupComplete.cmd" >nul
 
exit

Edited by bphlpt
Merged posts
Link to comment
Share on other sites

no the inf's are in the subfolder of DRIVERS with its drivers. like this : DRIVERS\USB3\ASMEDIA\xxx.inf

 

 

Edit: DRIVERS\USB3\ASMEDIA\xxx.inf   <- this i copy into sources\$OEM$\$1 on Win7 DVD. looks like that : sources\$OEM$\$1\DRIVERS\USB3\ASMEDIA\xxx.inf

 

After SETUPCOMPLETE does his job and RunOnce SCOMPLETE did, your silent-installer installed the drivers. now on last versions of wintoolkit it didnt. when i look into root of %SYSTEMDRIVE% folder DRIVER and hit content is there

Edited by Snow
Link to comment
Share on other sites

oh it seems like a misunderstanding. all within $OEM$\$1 will be copied to %SYSTEMDRIVE% -> C:\

 

after installation and first login looks like this  C:\DRIVERS\USB3\ASMEDIA\xxx.inf

Edited by Snow
Link to comment
Share on other sites

now i did another test. packed DRIVERS\USB3\ASMEDIA\xxx.inf into 7zip-SFX which is executed by SETUPCOMPLETE.cmd and extracts DRIVERS\USB3\ASMEDIA\xxx.inf on %SYSTEMDRIVE%. same result: it didn't work. looks similar to $OEM$\$1 method. C:\DRIVERS\USB3\ASMEDIA\xxx.inf. now when i go to Windows\System32 folder and double click on your WinToolkitRunOnce.exe drivers will be installed. i haven't got any idea what's going wrong.

Link to comment
Share on other sites

thanks for your notice. now it's only for testing with a few drivers to see if your RunOnce.exe will be doing what I (!!! :gleam:  :D ) want. later when driver collection is completed root of another drive on harddisk or usb-stick is better solution

DRIVERS folder on Win7-DVD root doesn't work like all other methods. i think anything in SETUPCOMPLETE breaks the execution of your WinToolkitRunOnce.exe. in build 1.4.34.2 of wintoolkit it works. it executed immediately after the RunOnceEx SETUPCOMPLETE does.

Edited by bphlpt
merged posts
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.




×
×
  • Create New...