create sillent installers for windows 10 pro

Discussion in 'Windows 10' started by son13wo33, Feb 27, 2016.

  1. son13wo33

    son13wo33 MDL Junior Member

    Nov 24, 2011
    82
    17
    0
    how can i create silent installers for windows10 pro
    bypass uac which tools i need guide me to tutorials i like learning and finally could that be valid for integration in windows 10 source image and done on installation or when first login
    any help would be appricated
     
  2. kuroda

    kuroda MDL Senior Member

    Aug 25, 2012
    369
    26
    10
  3. son13wo33

    son13wo33 MDL Junior Member

    Nov 24, 2011
    82
    17
    0
    that link relating os itself i mean swichless installers programs to install silently on windows installation....could we be able to use xml file for that purpose i hope
     
  4. son13wo33

    son13wo33 MDL Junior Member

    Nov 24, 2011
    82
    17
    0
    ntlite needs programs allready made silently i need how to do these apps silently .....how to bypass uac....what to run before during after first login in details
     
  5. son13wo33

    son13wo33 MDL Junior Member

    Nov 24, 2011
    82
    17
    0
    wow great resources i have to study hard so thanks man last if i had successeded creating my programs silently based on that instructions does it will be compatible with windows 10
     
  6. Chibi ANUBIS

    Chibi ANUBIS MDL Chibi Developer

    Apr 28, 2014
    707
    398
    30

    Wait your feedback ;)
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  7. son13wo33

    son13wo33 MDL Junior Member

    Nov 24, 2011
    82
    17
    0
    sure i will thanks again
     
  8. TONSCHUH

    TONSCHUH MDL Addicted

    Jun 11, 2012
    812
    277
    30
    Most of the stuff should work with Windows-10 I guess.

    :)
     
  9. son13wo33

    son13wo33 MDL Junior Member

    Nov 24, 2011
    82
    17
    0
    One of the biggest challenges with Windows 7 "win 8 win 10 too"is getting software installed with UAC enabled and the user is not an local administrator that applied to running os....my point is to bypass those restrictions when integrate programs into windows 10 iso image...still wanting to learn regards
     
  10. IAmTheDude

    IAmTheDude MDL Member

    Oct 12, 2011
    112
    19
    10
    When are you attempting to have these installers run?

    Creating a silent installer and "integrate programs into windows 10 iso image." could be two different things.

    Are you wanting a silent installer that a user runs or do you want a silent install during setup/before first boot?


     
  11. Enthousiast

    Enthousiast MDL Tester

    Oct 30, 2009
    13,708
    15,236
    340
    Everything that runs during OOBE has "system" rights (highest level afaik).
     
  12. LiteOS

    LiteOS MDL Expert

    Mar 7, 2014
    1,368
    516
    60
    Windows 10 have uni driver dont need to sysprep

    u can make by just install the application on ur windows and then capture it
     
  13. son13wo33

    son13wo33 MDL Junior Member

    Nov 24, 2011
    82
    17
    0
    UAC causes applications run as an administrator to fail with insufficient rights or accessed denied messages,that happens always on normal applications run,in case new app would be installing fully in silent what solution could be right espicially before os installation reach desktop in the first login:that is my challinge dear MRs
     
  14. son13wo33

    son13wo33 MDL Junior Member

    Nov 24, 2011
    82
    17
    0
    Are you wanting a silent installer that a user runs or do you want a silent install during setup/before first boot?
    yub......
    silent install during setup/before first boot
     
  15. son13wo33

    son13wo33 MDL Junior Member

    Nov 24, 2011
    82
    17
    0
    i dont want or need sysprep no no as i mentioned i need all my fav programs to installed silently before first login
     
  16. TONSCHUH

    TONSCHUH MDL Addicted

    Jun 11, 2012
    812
    277
    30
    It might help to look into other project's like the MTDVD.

    :)
     
  17. son13wo33

    son13wo33 MDL Junior Member

    Nov 24, 2011
    82
    17
    0
    Everything that runs during OOBE has "system" rights (highest level afaik)
    i havnt tried yet in windows 10
     
  18. IAmTheDude

    IAmTheDude MDL Member

    Oct 12, 2011
    112
    19
    10
    As Enthousiast says, during OOBE ($OEM$/$$/Setup/Scripts/OOBE.cmd -> Before entering Username etc) and during SetupComplete ($OEM$/$$/Setup/Scripts/SetupComplete.cmd -> After entering Username but before desktop) everything runs as System with full rights.

    An example of SetupComplete.cmd looks like this:

    Code:
    @echo off
    pushd %~dp0
    
    start /wait yoursilentinstallerhere.exe
    start /wait path\to\app\here.exe
    
    EXIT
    
    To add, if you want something to install as the user logs on you can use a runonce reg key in SetupComplete.cmd. This will start the exe when the desktop has loaded and then delete itself.

    In SetupComplete.cmd:

    Code:
    REG ADD "HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\RunOnce" /v RunOnce1 /t REG_SZ /d "pathtoexehere.exe" /f
    - Be aware that runonce will be using the logged in user rights so will fall under UAC.

    - If you want to install using runonce without user action you will need to disable UAC using reg entries during SetupComplete to allow UAC bypass and then reenable after install and issue a reboot.

    - W10 will also force the setup to the foreground so anything running during SetupComplete will be 'invisible' and you can't interact with it, including error boxes.