Jump to content

hiro1

Member
  • Posts

    3
  • Joined

  • Last visited

  • Donations

    0.00 USD 
  • Country

    France

Posts posted by hiro1

  1. @ECHO OFF

    SETLOCAL

    :: Find registered Windows user and company name

    FOR /F "tokens=*" %%A IN ('WMIC.EXE OS Get Organization^,RegisteredUser /Format:List') DO (

    SET %%A>NUL

    )

    :: Move to the correct location; modify if this batch file is

    :: not located in the same directory with the OpenOffice .MSI

    PUSHD "%~dp0"

    :: No user interface, no reboot, logging enabled

    SET MSIArgs=/qn /norestart REBOOT=ReallySuppress /L OpenOffice.log

    :: Install everything

    SET MSIComp=INSTALLLOCATION=C:\Program Files\OxygenOffice

    SET MSIComp=ADDLOCAL=ALL

    :: Associate Writer with .DOC and Calc with .XLS extensions

    SET MSIComp=%MSIComp% SELECT_WORD=1 SELECT_EXCEL=1

    :: Do NOT associate Impress with .PPT

    SET MSIComp=%MSIComp% SELECT_POWERPOINT=0

    :: Use registered Windows user and company name, if defined

    IF NOT "%RegisteredUser%"=="" SET MSIUser=USERNAME="%RegisteredUser%"

    IF NOT "%Organization%"=="" SET MSIUser=%MSIUser% COMPANYNAME="%Organization%"

    :: Run the installation

    START /WAIT MSIEXEC.EXE /I openofficeorg24.msi %MSIArgs% %MSIComp% %MSIUser%

    :: Done

    POPD

    ENDLOCAL

  2. Silent Install Alcohol 120% 195.3105 and register!

    Install Alcohol and Register.

    Create "alcohol.reg"

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

    Windows Registry Editor Version 5.00

    [HKEY_CURRENT_USER\Software\Alcohol Soft\Alcohol 120%\Info]

    "UserName"="xxxxxxxxx"

    "ServerKey"="xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"

    [HKEY_CURRENT_USER\Software\StarSynergy]

    [HKEY_CURRENT_USER\Software\StarSynergy\2]

    [HKEY_CURRENT_USER\Software\StarSynergy\2\act]

    "value"="xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"

    "server"="serial.alcohol-soft.com"

    "email"="your@e-mail"

    "ccr"=dword:00000002

    "crc"=dword:000000d0

    [HKEY_CURRENT_USER\Software\Alcohol Soft\Alcohol 120%\Options\Display]

    "AutostartWhenWindowsStartup"="0"

    [HKEY_CURRENT_USER\Software\Alcohol Soft\Alcohol 120%\Options\General]

    "AutoCheckCurrentVersionViaInternetAtStart"="0"

    [HKEY_LOCAL_MACHINE\SYSTEM\ControlSet\Services\StarWindService]

    "Start"=dword:00000004

    [HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\StarWindService]

    "Start"=dword:00000004

    [HKEY_LOCAL_MACHINE\SYSTEM\ControlSet002\Services\StarWindService]

    "Start"=dword:00000004

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

    go too your "registry" and replace (x) with your "name", "ServerKey","value" and "email"="your@e-mail", save as "alcohol.reg"!

    Create "setup.cmd"

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

    CLS

    @echo off

    ECHO.

    ECHO Install Alcohol 120% 195.3105

    ECHO Please wait...

    start /wait setup.exe /qn REBOOT=ReallySuppress

    REGEDIT /s alcohol.reg

    ECHO Installing Alcohol Fininshed

    exit

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

    Enjoy and have fun...

×
×
  • Create New...