Jump to content

jinkazama

Member
  • Posts

    214
  • Joined

  • Last visited

  • Donations

    0.00 USD 
  • Country

    Italy

Posts posted by jinkazama

  1. @radix

    i've create same script for Word and Excel 2007 but it doesn't work

    Can you check it for me?

    Thank you

    install.cmd


    @ECHO OFF
    :: Check the operating system type (32 bit or 64 bit)
    IF NOT EXIST %SystemRoot%\SysWOW64 GOTO X86
    IF EXIST %SystemRoot%\SysWOW64 GOTO X64
    :: 32 bit
    :X86
    ::Create All Users Desktop icons for Word 2007 and Excel 2007 on 32 bit operating systems
    start rundll32.exe advpack.dll,LaunchINFSection create_shortcut_x86.inf,,1
    :: 64 bit
    :X64
    ::Create All Users Desktop icons for Word 2007 and Excel 2007 on 64 bit operating systems
    start rundll32.exe advpack.dll,LaunchINFSection create_shortcut_x64.inf,,1
    :END
    EXIT

    create_shortcut_x86.inf


    [Version]
    Signature=$Windows NT$

    [DefaultInstall]
    ProfileItems=1IconItemAdd
    ProfileItems=2IconItemAdd

    [1IconItemAdd]
    ; All Users Desktop icon for MSO Word 2007
    Name = "Microsoft Office Word 2007", 0x0000008, 16409
    CmdLine = 16422,"Microsoft Office\Office12","WINWORD.EXE"
    WorkingDir = 16422,"Microsoft Office\Office12"
    InfoTip = "Create beautiful documents, easily work with others, and enjoy the read."

    [2IconItemAdd]
    ; All Users Desktop icon for MSO Excel 2007
    Name = "Microsoft Office Excel 2007", 0x0000008, 16409
    CmdLine = 16422,"Microsoft Office\Office12","EXCEL.EXE"
    WorkingDir = 16422,"Microsoft Office\Office12"
    InfoTip = "Easily discover, visualize, and share insights from your data."

    create_shortcut_x64.inf


    [Version]
    Signature=$Windows NT$

    [DefaultInstall]
    ProfileItems=1IconItemAdd
    ProfileItems=2IconItemAdd

    [1IconItemAdd]
    ; All Users Desktop icon for MSO Word 2007
    Name = "Microsoft Office Word 2007", 0x0000008, 16409
    CmdLine = 16426,"Microsoft Office\Office12","WINWORD.EXE"
    WorkingDir = 16426,"Microsoft Office\Office12"
    InfoTip = "Create beautiful documents, easily work with others, and enjoy the read."

    [2IconItemAdd]
    ; All Users Desktop icon for MSO Excel 2007
    Name = "Microsoft Office Excel 2007", 0x0000008, 16409
    CmdLine = 16426,"Microsoft Office\Office12","EXCEL.EXE"
    WorkingDir = 16426,"Microsoft Office\Office12"
    InfoTip = "Easily discover, visualize, and share insights from your data."

  2. Does anyone know how to create a desktop shortcut to an executable using a command line/batch or reg file?

    I need it to solve desktop shortcuts for silent installer withous link creation switch like trojan remover.

    Or for example, can i make a file to create shortcuts on desktop for word2003 and Excel 2003 after installing Office 2003 Word2007 and Excel 2007 after installing Office 2007?

    Thank you

  3. The problem is: After installing it silent, it opens the UserGUI. If you try to kill the process avgui.exe it makes errors because you have no permissions to kill this.

    Any solutions to prevent the silent install from lauchning the GUI at the end?

    TIA

    skav

    i found a working solution:

    add these lines after silent installer


    PING 1.1.1.1 -n 1 -w 5000 >NUL
    taskkill /t /f /im avgui.exe

×
×
  • Create New...