Recent Updates Toggle Comment Threads | Keyboard Shortcuts

  • Ali BaderEddin 8:10 pm on March 29, 2011 Permalink | Reply
    Tags: event receivers   

    Using Event Receivers in SharePoint Foundation 2010 


    I have been working with Nick Gattuccio on authoring a two-part MSDN article about using event receivers in SharePoint 2010. The first part provides a thorough explanation of what events are and how they can be developed and deployed in SharePoint. The second part provides practical examples using Visual Studio 2010.

    Title: Using Event Receivers in SharePoint Foundation 2010 (Part 1 of 2)
    URLhttp://msdn.microsoft.com/en-us/library/gg749858.aspx

    Title: Using Event Receivers in SharePoint Foundation 2010 (Part 2 of 2)
    URLhttp://msdn.microsoft.com/en-us/library/gg981880.aspx

    Let me know how useful this is to you.

     
  • Ali BaderEddin 6:39 pm on October 8, 2010 Permalink | Reply
    Tags:   

    SharePoint 2010 site just got shared! 


    http://sharepoint.microsoft.com is built on top of SharePoint!

    Found via SharePoint Detector.

     
  • Ali BaderEddin 6:36 pm on October 8, 2010 Permalink | Reply
    Tags: chrome, email, extension, Facebook, linkedin, , stumbleupon, twitter, wordpress   

    SharePoint Detector – Chrome Extension 


    Ever wondered whether a site is built on top of SharePoint? Now, there is an easy way to find out. Install the “SharePoint Detector” Chrome extension located at https://chrome.google.com/extensions/detail/iglddabgpnbmcpdnmcbhhmggipakapck?hl=en, and you will get the SharePoint icon displayed in Chrome’s address bar every time you browse to a SharePoint site. You can then click on the SharePoint icon and choose to share the site by email, on your WordPress blog, LinkedIn, Twitter, Facebook and\or StumbleUpon.

    For example, here is what happens when you browse to http://www.wssdemo.com.

    If you decide to share on Twitter, you will get the following popup.

    You can edit it as you like then post to your Twitter account. Same goes for all the other different methods of sharing..

    Enjoy sharing SharePoint!

     
    • vijay patel 11:45 am on October 23, 2012 Permalink | Reply

      http://www.bvsd.org is a sharepoint website. yet the detector does not work on it.

    • Ali BaderEddin 12:37 pm on October 23, 2012 Permalink | Reply

      The extension relies on metadata found by default on a SharePoint page. If that is removed, the extension won’t detect that this is a SharePoint page. Of course, the extension can be updated to look for something else in case that metadata is missing…

  • Ali BaderEddin 2:16 am on September 28, 2010 Permalink | Reply
    Tags: createunattend, unattendfile   

    Visual Studio 2010 – Unattended Silent Install 


    You can find on MSDN How to: Create and Run an Unattended Visual Studio Setup. This post focuses on unattended installation of VS 2010 product only (without SDK) along with screenshots and hints on what to avoid. Below are the steps I have followed to create a silent unattended installation script for VS 2010.

    • Create the VS 2010 unattend configuration file
      <path to VS installation folder>\setup\setup.exe /createunattend c:\VS2010Config.ini

      Note: Make sure you run the \setup\setup.exe and not \setup.exe directly.

    • The wizard will launch… Accept license terms, select the feature you want to install, then click Save Settings.
    • Once you click “Save Settings”, the VS config file will be created at c:\VS2010Config.ini
    • Now, do the unattended installation with the command below
      <path to VS installation folder>\setup\setup.exe /unattendfile c:\VS2010Config.ini

    As you can see, the steps are pretty straight-forward. Enjoy!

     
    • serman durai 5:39 pm on January 25, 2012 Permalink | Reply

      i followed your step to make inf file .but i am not able to find save settings options .in that same place next options is there .Would pls help me for inf file

    • Ali BaderEddin 11:31 pm on January 25, 2012 Permalink | Reply

      Make sure you are running \setup\setup.exe not \setup.exe

      • Sudhakar 6:25 am on January 13, 2014 Permalink | Reply

        Hi Ali,

        Thanks for wonderful hint for Unattended silent Installation of VS 2010….

    • Livio 3:16 am on September 11, 2012 Permalink | Reply

      Just click “Next”, then accept the License, there you can now chose if you want to save the full settings or custom settings (chose between Full or Custom and click Save Settings).
      For me that all worked but when I try to use it it tells me the file is wrong or something. I’m using PowerShell to chose the file.

    • Livio 3:24 am on September 17, 2012 Permalink | Reply

      Forget it. It works now.

    • Honza 3:01 am on October 3, 2014 Permalink | Reply

      Works good. Thank you very much.

    • shakthivel 10:38 pm on November 25, 2014 Permalink | Reply

      hi its saying unable to create.in file,how to resolve this

  • Ali BaderEddin 12:43 am on September 28, 2010 Permalink | Reply
    Tags: , IACCEPTSQLSERVERLICENSETERMS, install, quiet, setup, silent, sql server 2008 r2, SQLSYSADMINACCOUNTS, unattended   

    SQL Server 2008 R2 – Unattended Silent Install 


    There is existing documentation on MSDN about How to: Install SQL Server 2008 R2 from the Command Prompt, but this post focuses on creating a silent unattended install of SQL Server 2008 R2 (Standard or Enterprise) using a configuration file. With the instructions below, you’ll be able to create a new customized SQL silent installation in minimal time. Note that the configuration below doesn’t work with the Express edition of SQL Server 2008 R2.

    • Run setup.exe
    • Click on the installtion tab
    • Click “New Installation”
    • Go through the wizard: Enter product key, accept license, install setup support files, and select the features you want to install:
    • Continue the installation until you reach the “Ready To Install” step. Notice the path to the configuration file highlighted below in blue.

    • Now that you have the configuration file, copy it to your own folder or network share where you want to start the unattended installation.
    • Cancel setup since we’re interested in the unattended silent mode of installation; not the UI one.
    • Edit the configuration file as follows:
      • Set QUIET to “True”. This specifies that Setup will run in a quiet mode without any user interface (i.e. unattended installation)
        QUIET="True"
      • Set SQLSYSADMINACCOUNTS to “BUILTIN\ADMINISTRATORS”. This will ensure that administrators on the machine are added as members of the sysadmin role. You can set its value based on your needs (Ex: SQLSYSADMINACCOUNTS=”domain\YourUser”), but this is the more generic approach.
        SQLSYSADMINACCOUNTS="BUILTIN\ADMINISTRATORS"
      • Add PID and set its value to your product license key. If your setup.exe already comes preloaded with the key, there is no need to add this option to the configuration file.
      • Add IACCEPTSQLSERVERLICENSETERMS and set its value to “True”. This is to required to acknowledge acceptance of the license terms when the /Q (i.e. QUIET) parameter is specified for unattended installations.
        IACCEPTSQLSERVERLICENSETERMS="True"
      • Remove the ADDCURRENTUSERASSQLADMIN parameter. The reason is that this parameter can’t be used when SQLSYSADMINACCOUNTS is specified, and it only applies to Express installations.
      • Remove the UIMODE parameter as it can’t be used with the QUITE parameter.
      • Remove INSTALLSHAREDDIR, INSTALLSHAREDWOWDIR, INSTANCEDIR parameters since we want to install on the default installation directories.
      • That’s it. If you want to change the features that this setup will install, there is no need to go with the full steps again. You can simply change the value for the FEATURES parameter. For example, the features I selected (shown in first screenshot above) will generate FEATURES=SQLENGINE,SSMS,ADV_SSMS in the configuration file.  You can change that based on your needs. The full list of available feature parameters and their descriptions is located here.

    After getting the configuration file ready, you’ll need to create a batch file that will run the silent unattended setup. Simply, create a new file  “InstallSQL2008R2.bat” with extension = “.bat” with the following content, and make sure you replace <path to SQL setup folder> and <path to config file> with the proper values.

    @ECHO off
    echo Installing SQL Server 2008 R2
    date/t
    time /t
    "<path to SQL setup folder>\setup.exe" /ConfigurationFile="<path to config file>"
    date/t
    time /t

    All we’re doing in the script above is running SQL setup.exe and passing the configuration file as an argument to it. You can download both the batch and config files here.

     
    • Zulfiqar 10:17 am on April 11, 2011 Permalink | Reply

      Awesome…I bow in deference to your detailed explanation which has helped me achieve my goal…Thanks…

    • Ali BaderEddin 3:05 pm on April 11, 2011 Permalink | Reply

      You are welcome Zulficar :)

    • Nicus88 6:45 am on May 18, 2011 Permalink | Reply

      I can’t get the configurationfile from the link you put there. Don’t you have another link?
      Thanks!

      By the way, great article

    • Ali BaderEddin 6:55 pm on May 18, 2011 Permalink | Reply

      I’ve updated the link in the post…

    • rta1212 3:12 am on October 29, 2011 Permalink | Reply

      Gardaşşş sağ olasın

    • Maheswaran 10:38 pm on November 14, 2011 Permalink | Reply

      Hi i need silent installation method Express edition of SQL Server 2008 R2. Please let me know……..

    • Jose Ignacio Montes 2:20 am on February 28, 2013 Permalink | Reply

      If you need to install quiet silence from c# the code is this:
      Care to take away all spaces in the string argumentos, I don´t know why but they go with the string and doesn´t work properly

      String sqlfile = @”\Msi\SQLEXPR_x64_ESN.exe”; //or wathever sql inst file you have
      myProcess.StartInfo.FileName = sqlfile;
      String argumentos = @”/qs /Action=Install /Features=SQL,Tools /IACCEPTSQLSERVERLICENSETERMS=””True”” /INSTANCENAME=””SQLExpress_AV”” /SQLSYSADMINACCOUNTS=””Builtin\Administrators”” /SQLSVCACCOUNT=””NT AUTHORITY\SYSTEM”” “;
      //MessageBox.Show(argumentos);
      myProcess.StartInfo.Arguments = argumentos;
      myProcess.StartInfo.UseShellExecute = false;
      myProcess.Start();

    • Bob Ashby 12:16 pm on April 30, 2013 Permalink | Reply

      Thanks I used this also!!! wonderful!!!

    • Blas Cota 2:06 pm on July 4, 2013 Permalink | Reply

      Hi
      When I try to run an install from the command line using setup.exe /CONFIGURATIONFILE=SQLSettings.ini

      I got the following errors:

      Error result: -2067529698
      Result facility code: 1220
      Result error code: 30

    • Nitish 8:13 am on March 26, 2014 Permalink | Reply

      How do I install sql 2008 sp2 enterprise NON R2 silently?

    • M Byrd 11:47 am on February 20, 2015 Permalink | Reply

      I have created a config file, and an cmd script which includes D:\temp\mssql2008r2_Standard\ConfigurationFile.ini”. The output file in C:…bootstrap… shows my config file,but it appears to be reading some other config file

c
Compose new post
j
Next post/Next comment
k
Previous post/Previous comment
r
Reply
e
Edit
o
Show/Hide comments
t
Go to top
l
Go to login
h
Show/Hide help
shift + esc
Cancel
Follow

Get every new post delivered to your Inbox.

%d bloggers like this: