Hi Sir,
According to your description, Id like to know which application you want to install, OneDrive or OneDrive for Business? Please see the following article:
http://office.microsoft.com/en-in/sharepoint-server-help/what-is-onedrive-for-business-HA102822076.aspx
If you want to add OneDrive for Business, we need to use config.xml to add/remove a component, because Office 365 is used Click-2-run version.
We can use this to download an offline copy of the source and create an installer by following the next steps:
Step 1 - Download ODT
www.microsoft.com/.../details.aspx
Step 2 Extract ODT
Run the officedeploymenttool.exe file you downloaded in Step 1.
This produces a Setup.exe and a configuration.xml file.
Copy the extracted files (setup.exe and configuration.xml) to "C:\Temp\ODT\"
Step 3 Create Download configuration file
Create a copy of the Configuration.xml file and name it "OneDrive_Download.xml"
Edit the Download.xml file to look like this:
<Configuration>
<Add SourcePath="C:\Temp\ODT\" OfficeClientEdition="32" >
<Product ID="GrooveRetail">
<Language ID="en-us" />
</Product>
</Add>
</Configuration>
Step 4 Download the installation source
Open an elevated command window (Run as Administrator) and change the "C:\Temp\ODT" directory / the location of your setup.exe file.
Execute the download command
Setup.exe /download OneDrive_Download.xml
The software will begin downloading to your machine.
This process usually takes several minutes, but can take as longer depending on your internet connection and other factors.
Once the software is done downloading, the command window will return to the prompt.
Step 5 Configuration.xml for the installation
Create another copy of the configuration.xml file to be used for the install.
Name it "OneDrive_Install.xml"
<Configuration>
<Add SourcePath="" OfficeClientEdition="32" >
<Product ID="GrooveRetail">
<Language ID="en-us" />
</Product>
</Add>
<!-- <Updates Enabled="TRUE" UpdatePath="\\Server\Share\Office\<file:///\\Server\Share\Office\>" /> -->
<!-- <Display Level="None" AcceptEULA="TRUE" /> -->
<!-- <Logging Name="OfficeSetup.txt" Path="%temp%" /> -->
<!-- <Property Name="AUTOACTIVATE" Value="1" /> --> </Configuration> Note the empty SourcePath to use a relative path for installation.
For details on the additional options please see the documentation for the configuration.xml:
technet.microsoft.com/.../jj219426.aspx
Step 6 Install the software
If you plan to cache the installation source to the local computer the installation command should look like:
Setup.exe /configure OneDrive_Install.xml
Reference:
https://community.office365.com/en-us/f/156/t/226361
Hope it's helpful.
Regards,
George Zhao
TechNet Community Support