Jump to content

SunLion

Member
  • Posts

    60
  • Joined

  • Last visited

  • Donations

    0.00 USD 
  • Country

    Brazil

Posts posted by SunLion

  1. Note that:
    InstallPath =     %ProgramFiles% <== equivalent to "C:\Program Files" in 32 bit and "C:\Program Files (x86)" in 64 bit
    InstallPath = x86:%ProgramFiles% <== equivalent to "C:\Program Files" in 32 bit
    InstallPath = x64:%ProgramW6432% <== equivalent to "C:\Program Files" in 64 bit

    Also:
    x86: will only execute on 32bit
    x64: will only execute on 64bit
    %%T variable is equal to the InstallPath

    So you could try:

    1 - If you choose to use "C:\Program Files" in 32 bit and "C:\Program Files (x86)" in 64 bit:

    ;!@Install@!UTF-8!
    GUIMode="2"
    Title="PaperCut & Printer Installer"
    InstallPath="%ProgramFiles%\\PaperCut Installer"
    BeginPrompt="Do you want to install the Papercut & Printer Installer?"
    RunProgram="cscript %%T\\PrinterVBS.vbs"
    ;!@InstallEnd@!

    2 - Or, If you choose to use "C:\Program Files" in 32 bit and also "C:\Program Files" in 64 bit:

    ;!@Install@!UTF-8!
    GUIMode="2"
    Title="PaperCut & Printer Installer"
    InstallPath="x64:%ProgramW6432%\\PaperCut Installer"
    InstallPath="x86:%ProgramFiles%\\PaperCut Installer"
    BeginPrompt="Do you want to install the Papercut & Printer Installer?"
    RunProgram="cscript %%T\\PrinterVBS.vbs"
    ;!@InstallEnd@!

    Try and check if it works

  2. Hi Celtic,

    Also had the same problem and solved it like this:

     

    1 – Added in the folder "update" only the extracted SP2 package;

     

    2-Using McRip tips (mydigitallife.info), I created an installer for the other MSP using InnoSetup (can be done also with WinRAR), with the script below to install:

     

    @echo off

    TITLE McRip Office 2010 PRE SP3 Update Pack

    COLOR 1F

     

    IF EXIST "*.msi" (

    for /F %%i in ('dir /b /o:n *.msi') do (

                    echo Update: %%i

                    %%i /passive /norestart

                    )

    )

     

    IF EXIST "*.msp" (

    for /F %%i in ('dir /b /o:n *.msp') do (

                    echo Update: %%i

                    %%i /passive /norestart

                    )

    )             

    EXIT

     

    This installer is run after installation of Office2010 in my Windows Post Install.

     

    Works like a charm :D 

  3. It's just to keep WU quiet (about 2934207).

    Also, there's a new rootsupd.exe (KB931125) (march 2014).

    I've added KB931125 to my list already.

    As for KB2934207, it didn't offer to me when I checked it, so I don't know what to do.

    Can anyone who got this update provide a direct download link so I can do some experiment to it? (Just use Wireshark to get the HTTP packets and grab the URL from inside them.)

    Microsoft did not provide a link to download the patch. At least I have not found. So I created the addon with the files installed on my system.

    http://support.microsoft.com/kb/2934207

    I'm using the INF file below to disable the notification. Is working well.

    INF contents:

    [Version]

    Signature=$Windows NT$

    Class=Base

    [DefaultInstall.NT]

    DelReg=ShotA.new

    AddReg=ShotB.new,ShotB.changed

    [shotA.new]

    [shotB.new]

    HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion","DisableEOSNotification",0x10001,1

    HKCU,"Software\Microsoft\Windows\CurrentVersion","DisableEOSNotification",0x10001,1

    CMD contents:

    start /wait rundll32.exe setupapi,InstallHinfSection DefaultInstall 132 %systemdrive%\TWEAKS\DisableEOSNotification.inf

    Put the INF file in folder:

    $OEM$\$1\TWEAKS

    And the CMD file to run it in the directory:

    $OEM$\$Docs\Default User\Menu Iniciar\Programas\Inicializar

    Attached files: https://www.mediafire.com/?1ye91sno18aig1j

  4. I'd like to make an automated installation of Office 2003 updates and I can't seem to find any information on the Office 2k3 SP1 and 2 silent switches. So does anyone know what they are?

    If you want to know about integration, see here (select your language):

    http://technet.microsoft.com/pt-br/library/cc716424

    If you want to install the hotfix:

    - for MSP and MSI = /qb (with progress bar) or /qn (silent)

    - for EXE = /quiet /norestart

    When in doubt run the hotfix with the command /?

    Display all commands for installation.

    :hello:

  5. @Cessilou

    Downloaded and did tests following the guidelines of the manufacturer's website:

    http://www.kaspersky.com/internet-security-latest-versions

    Everything works great!

    How to:

    How to install the program from the command prompt: http://support.kaspersky.com/8606

    Step 1. Download the program distributive following the link in the email message from the eStore or from the Kaspersky Lab site.

    Step 2. Unpack all files from the downloaded distributive using any application to work with archives (for example, 7-zip). Find the setup.exe file.

    Step 3. Instead of using the command prompt, create a batch file script with the code below and save it as installer.bat:

    setup.exe /s /p "SELFPROTECTION=1"

    where:
    /s = silent
    /p "SELFPROTECTION=1" = active self-defense of the product during the installation process.

    NOTE: If you already have the activation code (20 digits), add it to the command. Will look like this:

    setup.exe /s /p "SELFPROTECTION=1 ACTIVATIONCODE=xxxxx-xxxxx-xxxxx-xxxxx"

    Some commands permitted:

    “<property>=<valor>”

    SKIPPRODUCTCHECK=1 = skips checking of product for software incompatible with Kaspersky Internet Security
    ALLOWREBOOT=1 = allows reboot if necessary
    INSTALLDIR=C:\Documents and Settings\Administrator\kis2013 = option to set the installation directory

    See other commandos in this link above.

  6. ...I have the following in mind:

    1. I add your repacked version of rootsupd.exe to the list (Folder HF). Is it OK for you when I host this file?

    2. As an alternative I also add the official version of rootsupd.exe to the list (folder HFSVCPACK_SW2) for someone who want to use only files from MS.

    I'm not sure that the file-checker can handle the same file with two file-sizes but hopefully it works because these files will be expected in different folders. I have to check it...

    Thx, Mimo

    OK Mimo. Glad to help. Thank you for your excellent work.

    NOTE: just to inform you that the rootsupd.exe repacked with iexpress tool and its final size is 396 KB.

    :)

  7. ... i want them to install at first logon wher a window comes in and says Installing Apss. etc.. then they should be installed from Windows CD, instead of copying to C:\.. etc..

    I want them to be installed directly from CD, ...

    Another option:

    Create your addons to be executed by the runonce. By this method, the Setup routine will be created in the Windows registry and the installation will take place at runconce. The addons may be added to your XPCD with nlite.

    For this, read this tutorial:

    http://www.wincert.net/forum/topic/4659-video-how-to-make-silent-switch-installers/

×
×
  • Create New...