Menu

#29 Silent Installation is now broken

open
v77
BUG (1)
2020-04-14
2020-04-14
LuxLOL
No

HI,
Since the last update (2020.4.12) the silent installation won't work anymore. :(

Discussion

  • v77

    v77 - 2020-04-14

    The arguments must now be written directly inside "install.bat", next to config.exe. For instance:
    "%F%\config.exe" /fullsilent

    I was not sure about the most handy method. What did you try? Did you pass the arguments to install.bat?
    Perhaps it's the cleanest method after all...

     
  • LuxLOL

    LuxLOL - 2020-04-14

    One idea to fix this would be to add this to the install.bat

    If "%~1"=="/silent" "%F%\config.exe" /silent & GoTo Next
    "%F%\config.exe"
    :Next
    rd /s /q "%F%"
    
     

    Last edit: LuxLOL 2020-04-14
  • v77

    v77 - 2020-04-14

    I changed the script for the next version so that the arguments can be passed directly to install.bat, without editing it.
    Here is the new script:

    if not "%1"=="7" start /min cmd /c ""%~0" 7 %*" & exit /b
    set F=%TEMP%\ImDisk%TIME::=%
    extrac32.exe /e /l "%F%" "%~dp0files.cab"
    "%F%\config.exe" %2 %3 %4
    rd /s /q "%F%"
    
     
  • LuxLOL

    LuxLOL - 2020-04-14

    Thanks, this works even better. :-)

     

    Last edit: LuxLOL 2020-04-14
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.