Jump to content

Sull

Member
  • Posts

    53
  • Joined

  • Last visited

  • Donations

    $0.00 
  • Country

    Canada

Posts posted by Sull

  1. This looks very neat, this should work perfect for a project of mine.

    Question = when the ini file is filled out properly for unattended, just running DriverForge.v.4.1.2.exe will automatically install the drivers, no switches are needed ?

    Thanks I will test soon.

    EDIT:

    can I use this

    DriverExtract=%SYSTEMDRIVE%\

    instead of this

    DriverExtract=C:\

  2. Hi again,

    So I have decided to just run 1 window and all seems to be fine with v1.6, one thing I notice once finished installing all applications the computer restarts, with normal RunOnceEx it does not, how can I change this ?

    I would also like to know about uninstalling once finished with RunOnceEx

    Thank you.

  3. Thank you, would the location below be ok ?

     Dim Act :Set Act = CreateObject("Wscript.Shell")
    Dim Fso :Set Fso = CreateObject("Scripting.FileSystemObject")
    Dim Drv, Reg
    Reg = "%SYSTEMDRIVE%\Install\DS.reg"
    For Each Drv In Fso.Drives
    If Drv.DriveType = 2 Then '-> Make Sure It A Hard Drive
    If InStr(Drv.DriveLetter,"D") Then '-> Checks The Drive Letter
    If Fso.FileExists(Reg) Then '-> Make Sure The Reg File Exists
    Act.Run("regedit /S " & Reg),0,True
    End If
    End If
    End If
    Next

    Now can I just run this script from my cleanup.cmd ?

  4. I would like to change My Documents to D:\ but only if D:\ exists, I don't know what command would do this. I found this in another thread which changes My Documents to D:\

    ;Change location of my documents
    [HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders]
    "Personal" ="D:\\"

    I would like for it to look if D:\ exists and if it does then apply the reg entry..

    Thank you

    Sull

  5. RubySoftware,

    I have not had a chance to try your alternative RunOnceEX again, I am very busy right now, maybe tonight I can run a VMWARE test.

    I do have a question, at the end of your example in the previous post, you put RunOnceEX right at the end before EXIT, is this needed and why ?

    Thanks again

    Sull

  6. I will test it out.

    Does this command work with your RunOnceEX = start /wait rundll32.exe iernonce.dll,RunOnceExProcess

    EXAMPLE: This is what I have working perfect for Windows original RunOnceEX

    @echo off
    cmdow @ /HID

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

    REG ADD %KEY% /V TITLE /D "( TITLE HERE ) /f

    REG ADD %KEY%\035 /VE /D "Chipset Software Installation Utility" /f
    REG ADD %KEY%\035 /V 1 /D "%systemdrive%\APPS\FIRSTBOOT\chipsetupdate.exe /s" /f
    REG ADD %KEY%\035 /V 2 /D "%systemdrive%\install\PAUSE.CMD

    REG ADD %KEY%\040 /VE /D "Visual Communication Camera VGP-VCC3 Driver" /f
    REG ADD %KEY%\040 /V 1 /D "%systemdrive%\APPS\FIRSTBOOT\CAMERADRIVER.EXE" /f
    REG ADD %KEY%\040 /V 2 /D "%systemdrive%\install\PAUSE.CMD

    REG ADD %KEY%\045 /VE /D "Alps StickPointer Driver" /f
    REG ADD %KEY%\045 /V 1 /D "%systemdrive%\APPS\FIRSTBOOT\alpspointer.exe" /f
    REG ADD %KEY%\045 /V 2 /D "%systemdrive%\install\PAUSE.CMD

    REG ADD %KEY%\050 /VE /D "Sony Image FilterDriver" /f
    REG ADD %KEY%\050 /V 1 /D "%systemdrive%\APPS\FIRSTBOOT\imagefilter\SonyImageFilter.exe /s" /f
    REG ADD %KEY%\050 /V 2 /D "%systemdrive%\install\PAUSE.CMD

    REG ADD %KEY%\055 /VE /D "Programmable I/O Driver" /f
    REG ADD %KEY%\055 /V 1 /D "%systemdrive%\APPS\FIRSTBOOT\programmableio.exe" /f
    REG ADD %KEY%\055 /V 2 /D "%systemdrive%\install\PAUSE.CMD

    REG ADD %KEY%\060 /VE /D "Gunze Touch panel Driver" /f
    REG ADD %KEY%\060 /V 1 /D "%systemdrive%\APPS\FIRSTBOOT\touchpanel.exe" /f
    REG ADD %KEY%\060 /V 2 /D "%systemdrive%\install\PAUSE.CMD

    REG ADD %KEY%\065 /VE /D "Sony USB Mouse Driver" /f
    REG ADD %KEY%\065 /V 1 /D "%systemdrive%\APPS\FIRSTBOOT\mousedri.exe" /f
    REG ADD %KEY%\065 /V 2 /D "%systemdrive%\install\PAUSE.CMD

    REG ADD %KEY%\070 /VE /D "LAN-Express Software" /f
    REG ADD %KEY%\070 /V 1 /D "%systemdrive%\APPS\FIRSTBOOT\LANExpress.exe" /f
    REG ADD %KEY%\070 /V 2 /D "%systemdrive%\install\PAUSE.CMD

    REG ADD %KEY%\075 /VE /D "Sony Batt Check" /f
    REG ADD %KEY%\075 /V 1 /D "%systemdrive%\APPS\FIRSTBOOT\batcheck.exe" /f
    REG ADD %KEY%\075 /V 2 /D "%systemdrive%\install\PAUSE.CMD

    REG ADD %KEY%\080 /VE /D "Setting Utility Series" /f
    REG ADD %KEY%\080 /V 1 /D "%systemdrive%\APPS\FIRSTBOOT\SUS.exe" /f
    REG ADD %KEY%\080 /V 2 /D "%systemdrive%\install\PAUSE.CMD

    REG ADD %KEY%\085 /VE /D "Sony Shared Library" /f
    REG ADD %KEY%\085 /V 1 /D "%systemdrive%\APPS\FIRSTBOOT\sharedlibrary.exe" /f
    REG ADD %KEY%\085 /V 2 /D "%systemdrive%\install\PAUSE.CMD

    REG ADD %KEY%\090 /VE /D "Sony Utilities DLL" /f
    REG ADD %KEY%\090 /V 1 /D "%systemdrive%\APPS\FIRSTBOOT\utildll.exe" /f
    REG ADD %KEY%\090 /V 2 /D "%systemdrive%\install\PAUSE.CMD

    start /wait rundll32.exe iernonce.dll,RunOnceExProcess

    REG ADD %KEY% /V TITLE /D " ( SECOND WINDOW TITLE HERE )" /f

    REG ADD %KEY%\005 /VE /D "Vaio Control Center" /f
    REG ADD %KEY%\005 /V 1 /D "%systemdrive%\APPS\FIRSTBOOT\controlcenter.exe" /f
    REG ADD %KEY%\005 /V 2 /D "%systemdrive%\install\PAUSE.CMD

    REG ADD %KEY%\010 /VE /D "Vaio Event Service" /f
    REG ADD %KEY%\010 /V 1 /D "%systemdrive%\APPS\FIRSTBOOT\VES.exe" /f
    REG ADD %KEY%\010 /V 2 /D "%systemdrive%\install\PAUSE.CMD

    REG ADD %KEY%\015 /VE /D "Vaio Powermanagment" /f
    REG ADD %KEY%\015 /V 1 /D "%systemdrive%\APPS\FIRSTBOOT\powermgr.exe" /f
    REG ADD %KEY%\015 /V 2 /D "%systemdrive%\install\PAUSE.CMD

    REG ADD %KEY%\020 /VE /D "Special Button Utility" /f
    REG ADD %KEY%\020 /V 1 /D "%systemdrive%\APPS\FIRSTBOOT\SBU.exe" /f
    REG ADD %KEY%\020 /V 2 /D "%systemdrive%\install\PAUSE.CMD

    REG ADD %KEY%\025 /VE /D "Vaio Touch Launcher" /f
    REG ADD %KEY%\025 /V 1 /D "%systemdrive%\APPS\FIRSTBOOT\VTL.exe" /f
    REG ADD %KEY%\025 /V 2 /D "%systemdrive%\install\PAUSE.CMD

    start /wait rundll32.exe iernonce.dll,RunOnceExProcess

    EXIT

    This I run from GuiRunonce and everything executes before logon, I found this way here on the forum.

    This could solve my problem with your RunOnceEX ?

    EDIT:

    Yes my install is unattended

  7. No the second window is installing as well, reason I can tell, some of my silent installers try to uninstall or say already installed. I have been testing with the Windows original RunOnceEX and do not have a second Window or the same installers trying to install again.

    Maybe lets wait and see if anyone else has issues like this.

  8. I just tested the new version and I am still having a second window pop up, something deffinetly changed though, before it would get to about my 6th or 7th app and get stuck for a long time. I tested the regular RunOnceEX earlier and it worked fine, only one window poped up.

    Thanks for your hard efforts

  9. Sorry I am confused.

    I will make an example of what I have, tell me what is wrong here

    cmdow @ /HID

    @echo off

    REG ADD HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnce /V "Alternative RunOnceEx by Ruby Software" /D "Insert path to the installer here!!! /verysilent" /f

    SET KEY="HKLM\SOFTWARE\Ruby Software\RunOnceEx"

    REG ADD %KEY% /V TITLE /D "Installing Applications" /f

    REG ADD %KEY% /V TEXT /D "Please wait while Windows installs the following applications:" /f

    REG ADD %KEY% /V PNG /D "$OLD" /f

    REG ADD %KEY% /V PNG_arrow /D "$OLD" /f

    REG ADD %KEY% /V PNG_success /D "$NONE" /f

    REG ADD %KEY% /V FONT /D "MS Sans Serif" /f

    REG ADD %KEY%\005 /VE /D "Adobe Reader 6" /f

    REG ADD %KEY%\005 /V 1 /D "%systemdrive%\install\AdobeReader6\AR6.msi /qn" /f

    REG ADD %KEY%\010 /VE /D "Alcohol 120" /f

    REG ADD %KEY%\010 /V 1 /D "%systemdrive%\install\alcohol\setup.exe /qn" /f

    REG ADD %KEY%\010 /V 2 /D "REGEDIT /S %systemdrive%\install\alcohol\register.reg" /f

    REG ADD %KEY%\015 /VE /D "Diskeeper 8" /f

    REG ADD %KEY%\015 /V 1 /D "%systemdrive%\install\DiskeeperPro_8.0.459.exe /s /v/qn" /f

    REG ADD %KEY%\050 /VE /D "Importing Registry Tweaks" /f

    REG ADD %KEY%\050 /V 1 /D "REGEDIT /S %systemdrive%\install\regtweaks.reg" /f

    REG ADD %KEY%\055 /VE /D "Cleaning Up and Rebooting" /f

    REG ADD %KEY%\055 /V 1 /D "%systemdrive%\install\cleanup.cmd" /f

    REG ADD %KEY%\055 /V 2 /D "%systemdrive%\install\RunOnceEX2.cmd" /f

    EXIT

    I just used your example and added the last entry, that is how mine looks. I did use your editor to change icons etc, I then wrote the rest of the reg entries to the RunOnceEX.cmd myself.



×
×
  • Create New...