• Recent
    • Unsolved
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    Need help with Snapin

    Scheduled Pinned Locked Moved
    General
    4
    9
    4.1k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • O
      Omar.rodriguez
      last edited by

      I’m having the hardest time trying to create a snapin for office 2013… I tried following the video linked in the wiki this one and it was so outdated I couldn’t follow it at all as the programs (for example SFX maker) have changed so much over time. Do we have any updated tutorials on how to create snapins for FOG?

      Any help would be truly appreciated.

      1 Reply Last reply Reply Quote 0
      • Wayne WorkmanW
        Wayne Workman
        last edited by

        This might help you some - I’ve been working on it. Right now it’s quite simple and could be expanded greatly but it might get you started.

        https://wiki.fogproject.org/wiki/index.php?title=Snapin_Examples

        Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!
        Daily Clean Installation Results:
        https://fogtesting.fogproject.us/
        FOG Reporting:
        https://fog-external-reporting-results.fogproject.us/

        O 1 Reply Last reply Reply Quote 0
        • O
          Omar.rodriguez @Wayne Workman
          last edited by

          @Wayne-Workman said in Need help with Snapin:

          This might help you some - I’ve been working on it. Right now it’s quite simple and could be expanded greatly but it might get you started.

          https://wiki.fogproject.org/wiki/index.php?title=Snapin_Examples

          Thanks those are great! Could you possibly help with the office 2013? Those applications are pretty easy but i’m kind of stranded here… 😞

          I also went to this link which is a website mentioned on the wiki that helps with silent installs. They lost me on the second half of the tutorial as i have no idea what program they are using 😛

          I Wayne WorkmanW 2 Replies Last reply Reply Quote 0
          • I
            ITSolutions Testers @Omar.rodriguez
            last edited by

            @Omar.rodriguez You can try this link for modify a Office 2013 install.
            https://technet.microsoft.com/en-us/library/dd630736.aspx#BKMK_UseOCTSilentInstallOpt

            as for the link you provided that is specific to using Dell KACE deployment/management.

            1 Reply Last reply Reply Quote 0
            • Wayne WorkmanW
              Wayne Workman @Omar.rodriguez
              last edited by Wayne Workman

              @Omar.rodriguez You might also work on getting MS Office to install silently using nothing but a batch script… Briefly looking through the available options, I think it can be done.

              Seems you would probably decide to run the installer over the network (don’t recommend that) or to copy all install files to the local machine via batch script and then run the installer locally (and deleting when done).

              Either way you go, I believe you need to create your very own config.xml file to specify all the options you want the installer to use. If there’s a silent option, use it. Then, just run the executable with the config.xml argument and then there you go.

              Source: https://technet.microsoft.com/en-us/library/cc179195.aspx

              Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!
              Daily Clean Installation Results:
              https://fogtesting.fogproject.us/
              FOG Reporting:
              https://fog-external-reporting-results.fogproject.us/

              O 1 Reply Last reply Reply Quote 0
              • george1421G
                george1421 Moderator
                last edited by george1421

                I can say that I have Office 2013 ProPlus install in an unattended manner via MDT as well as PDQ Deploy.

                I used the source media to create an admin install directory and then I ran the setup in admin mode to create a custom MSP file with all of my settings. Then in MDT we run the following command to create the silent install.

                setup.exe /adminfile “Office2013-Oct2015.MSP”

                Now you can either bundle all of this into a snapin or provide a network share and then deploy a very small snapin that launches a network based install. This keeps having to download the entire office package via a snapin.

                This article provides some good screen shots of creating an unattended install for office. http://www.itninja.com/blog/view/deploying-office-2013-managed-install

                Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!

                1 Reply Last reply Reply Quote 0
                • O
                  Omar.rodriguez @Wayne Workman
                  last edited by

                  @Wayne-Workman said in Need help with Snapin:

                  @Omar.rodriguez You might also work on getting MS Office to install silently using nothing but a batch script… Briefly looking through the available options, I think it can be done.

                  Seems you would probably decide to run the installer over the network (don’t recommend that) or to copy all install files to the local machine via batch script and then run the installer locally (and deleting when done).

                  Either way you go, I believe you need to create your very own config.xml file to specify all the options you want the installer to use. If there’s a silent option, use it. Then, just run the executable with the config.xml argument and then there you go.

                  Source: https://technet.microsoft.com/en-us/library/cc179195.aspx

                  After doing some research this isn’t a bad idea, by simply doing a silent install using a batch script.

                  I found a script that’s premade only has to be slightly modified which can be found here . I’ll update the thread with my results

                  Wayne WorkmanW 1 Reply Last reply Reply Quote 1
                  • Wayne WorkmanW
                    Wayne Workman @Omar.rodriguez
                    last edited by Wayne Workman

                    @Omar.rodriguez Super nice find!

                    I am just going to copy what’s there, because all too often internet resources just vanish… needless to say, whatever you end up with, please do share in great detail.


                    Thanks FN-GM, but I’d already seen that.
                    I tweaked the Office 2010 .bat file below.
                    The process for deploying Office 2013 is largely the same as 2010.
                    Unpack the .iso to an administrative share (the path and name must not contain spaces)
                    Run setup.exe /admin to run the OCT and create a .MSP file for silent install. Copy this file to the \updates\ folder.
                    Run the script, either manually or as a GPO startup script.

                    setlocal
                    
                    REM *********************************************************************
                    REM Environment customization begins here. Modify variables below.
                    REM *********************************************************************
                    
                    REM Get ProductName from the Office product's core Setup.xml file, and then add "office15." as a prefix. 
                    set ProductName=Office15.PROPLUS
                    
                    REM Set DeployServer to a network-accessible location containing the Office source files.
                    set DeployServer=\\server\share\MS_Office_Professional_Plus_2013_32Bit
                    
                    REM Set ConfigFile to the configuration file to be used for deployment (required)
                    set ConfigFile=\\server\share\MS_Office_Professional_Plus_2013_32Bit\ProPlus.WW\config.xml
                    
                    REM Set LogLocation to a central directory to collect log files.
                    set LogLocation=\\server\share\MS_Office_Professional_Plus_2013_32Bit\Office2013LogFiles
                    
                    REM *********************************************************************
                    REM Deployment code begins here. Do not modify anything below this line.
                    REM *********************************************************************
                    
                    IF NOT "%ProgramFiles(x86)%"=="" (goto ARP64) else (goto ARP86)
                    
                    REM Operating system is X64. Check for 32 bit Office in emulated Wow6432 uninstall key
                    :ARP64
                    reg query HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432NODE\Microsoft\Windows\CurrentVersion\Uninstall\%ProductName%
                    if NOT %errorlevel%==1 (goto End)
                    
                    REM Check for 32 and 64 bit versions of Office 2013 in regular uninstall key.(Office 64bit would also appear here on a 64bit OS) 
                    :ARP86
                    reg query HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\%ProductName%
                    if %errorlevel%==1 (goto DeployOffice) else (goto End)
                    
                    REM If 1 returned, the product was not found. Run setup here.
                    :DeployOffice
                    start /wait %DeployServer%\setup.exe /config %ConfigFile%
                    echo %date% %time% Setup ended with error code %errorlevel%. >> %LogLocation%\%computername%.txt
                    
                    REM If 0 or other was returned, the product was found or another error occurred. Do nothing.
                    :End
                    
                    Endlocal
                    

                    Source: http://www.edugeek.net/forums/office-software/104457-office-2013-install-startup-script-wanted.html

                    Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!
                    Daily Clean Installation Results:
                    https://fogtesting.fogproject.us/
                    FOG Reporting:
                    https://fog-external-reporting-results.fogproject.us/

                    O 1 Reply Last reply Reply Quote 1
                    • O
                      Omar.rodriguez @Wayne Workman
                      last edited by

                      @Wayne-Workman I didn’t get a chance to test this snapin as I needed to have it done the following Monday. What I ended up doing was installing office 2013 and just not open it at all as the timer for office will not start until you open any of the applications.

                      1 Reply Last reply Reply Quote 0
                      • 1 / 1
                      • First post
                        Last post

                      236

                      Online

                      12.0k

                      Users

                      17.3k

                      Topics

                      155.2k

                      Posts
                      Copyright © 2012-2024 FOG Project