Jump to content

ile5

Member
  • Posts

    9
  • Joined

  • Last visited

  • Donations

    0.00 USD 
  • Country

    Croatia

Posts posted by ile5

  1. You are probably lose the path to the "%SystemRoot%\system32" folder.

    Put this at the end of "presetup.cmd" and try again.

    presetup.cmd

    REM ================================================

    REM | Cleanup                                             

    REM RD /Q /S %SystemDrive%\Drivers

    REM | Reset DevicePath                                      |

    %CDDRIVE%\Drivers\SetDevicePath.exe %SystemRoot%\Inf

    REM ================================================

    rem BACK TO THE SYSTEM32 FOLDER

    REM ================================================

    REM | We should be already in system32, this is just to be 

    REM | sure                                               

    REM |------------------------------------------------------

    %SystemDrive%

    cd %SystemRoot%\system32

    REM +==================================================

    EXIT

    and this

    Check your "Txtsetup.sif" in i386 folder

    Txtsetup.sif:

    .

    .

    .

    [sourceDisksFiles]

    setupORG.exe = 1,,,,,,,2,0,0 ; must exist

    presetup.cmd = 1,,,,,,,2,0,0 ; must exist

    .

    .

    .

    iLE

  2. You don't need setup line at all.

    Just REM or delete setup line.

    REM +===========================================

    REM | Finally start the installation with the originally   

    REM | given parameters                                     

    REM |-------------------------------------------------------

    REM start /WAIT setup.exe %*

    REM +===========================================

    iLE

  3. thanks.

    I forget to thank you for all your free time spend here. :hello:

    Another thing:

    If the setup freeze or power failure happen, setup go again after restart, but

    then section after "start /WAIT setup.exe %*" in the "presetup.cmd" never be execute.

    1. "Reset DriverPolicy" never be execute.

    2. "Clenup" never be execute.

    3. "Reset DevicePath" never be execute.

    Will be better put that stuff somewhere in "RunOnceEx" section and execute them after restart.

  4. I have problem with no restart problem after setup is finish

    In "Presetup.cmd" section "Reset DriverPolicy" i changed folloving lines

    REM +=======================================================+

    REM | Reset DriverPolicy |

    REM |-------------------------------------------------------|

    reg add "HKCU\Software\Microsoft\Driver Signing" /v Policy /t REG_DWORD /d 1

    reg add "HKCU\Software\Policies\Microsoft\Windows NT\Driver Signing" /v BehaviorOnFailedVerify /t REG_DWORD /d 1

    reg add "HKLM\Software\Microsoft\Driver Signing" /v Policy /t REG_BINARY /d 01

    REM +=======================================================+

    into

    REM +=======================================================+

    REM | Reset DriverPolicy |

    REM |-------------------------------------------------------|

    reg add "HKCU\Software\Microsoft\Driver Signing" /v Policy /t REG_DWORD /d 1 /f

    reg add "HKCU\Software\Policies\Microsoft\Windows NT\Driver Signing" /v BehaviorOnFailedVerify /t REG_DWORD /d 1 /f

    reg add "HKLM\Software\Microsoft\Driver Signing" /v Policy /t REG_BINARY /d 01 /f

    REM +=======================================================+

    because this keys alredy exist in registry and requires confirmation parametar "/f"

    so setup now close presetup.cmd and restart normaly.

×
×
  • Create New...