January 14, 2012 at 12:48 pm
I am having trouble installing Microsoft SQL Server 2008 R2 standard on Windows 7 64-bit machine. I have Microsoft Visual Studio 2008 SP1 installed on my machine. I have successfully completed the steps until I reached the Installation Rules step where it says previous releases of Microsoft Visual Studio 2008 where I have installed Microsoft Visual Studio 2008 SP1 successfully.
I have Visual C++ 9.0 express edition also installed on my machine. The file path I have on my registry is below.
HKLM\Software\Wow6432Node\Microsoft\Microsoft SQL Server\90
is there a method to bypass this step or find a way for the SQL Server 2008 R2 setup to accept that I have Visual Studio 2008 SP1 on my machine?
One question really not related to this post, how do I attach images using a file path which I have an image of my situation saved on my desktop?
January 14, 2012 at 1:08 pm
You cannot attach using a file path. When you post, there is an "Attachments" option below the text box. Attach your image in there
January 14, 2012 at 9:20 pm
Ok, I think I figured this out originally looked at the image button next to the page alignment buttons. Now I think I figured this out. The image below is a screenshot by what I mean with the installation rules not accepting that I have Visual Studio 2008 SP1 installed.
January 15, 2012 at 3:33 am
It’s known behaviour of SQL Server (Installer). To avoid this, I install SQL Server first then Visual Studio (if required). Few of my colleagues try to install it other way but didn’t succeed. Now it’s a best practice (documented) in our Development Environment.
January 16, 2012 at 12:21 pm
I am trying to do a side-by-side installation which I currently have SQL Server 2005 on my computer with databases and I am trying to install SQL Server 2008 R2 which I need to copy the databases from SQL Server 2005 to SQL Server 2008 R2. My web hosting provider uses SQL Server 2008 which I can't transfer information from SQL Server 2005. I need some way of getting past the installation rules step in the installer which I have VS 2008 SP1 successfully installed.
January 16, 2012 at 12:37 pm
tiger6425 (1/14/2012)
Ok, I think I figured this out originally looked at the image button next to the page alignment buttons. Now I think I figured this out. The image below is a screenshot by what I mean with the installation rules not accepting that I have Visual Studio 2008 SP1 installed.
edit: the problem appears to be the C++ Express: see http://www.brianpeek.com/post/2008/08/13/sql-server-2008-visual-studio-sp1-and-visual-studio-express.aspx
January 16, 2012 at 12:47 pm
You can also skip the rule using setup from the command line, like:
Setup /ACTION=install /SkipRules=VSShellInstalledRule
...but that's not a documented or supported option, so for peace of mind I would try the C++ Express update first.
January 17, 2012 at 2:00 pm
I installed the upgraded service pack for Microsoft visual C++ 2008 SP1 and still getting the same installer problem. The command prompt line that you sent me, how would you find where the proper directory is for the SQL install files?
This post:
uses a similar command line except instead of starting off with Setup they start with setup.exe
In my command prompt, my current directory is:
C:/Users/My Name
The three image files that show:
Installation Rules
Windows Explorer shows my installation media root directory
SQL Server installation center, installation media root directory
The three image files attached gives screenshots below
How would I be able to figure out the proper directory to put in the command line
Setup /ACTION=install /SkipRules=VSShellInstalledRule ?
January 27, 2012 at 2:07 pm
I figured out how to use command prompt to bypass the installation rules that of the installer. I found where the install files are in Windows Explorer and click the down arrow next to the directory path I copied the narrow down path in the attached image.
Then I changed the directory command prompt which I use the line below:
cd C:\Temp\SQL Server 2008 R2 Standard (x86, x64, ia64) - DVD (English)
Which switch the directory to that path, thenI used the line from SQL Kiwi's post to bypass the installation rules step of the installer which worked like a charm.
Setup /ACTION=install /SkipRules=VSShellInstalledRule
You have to start the installer by entering the line above with but correct directory path changed to get the installer to work from command prompt.
I thank you so much for the help with this issue, because this was a tricky issue to figure out and I don't think I could've gotten over this without your help.
January 27, 2012 at 3:01 pm
tiger6425 (1/27/2012)
I figured out how to use command prompt to bypass the installation rules that of the installer. I found where the install files are in Windows Explorer and click the down arrow next to the directory path I copied the narrow down path in the attached image.Then I changed the directory command prompt which I use the line below:
cd C:\Temp\SQL Server 2008 R2 Standard (x86, x64, ia64) - DVD (English)
Which switch the directory to that path, thenI used the line from SQL Kiwi's post to bypass the installation rules step of the installer which worked like a charm.
Setup /ACTION=install /SkipRules=VSShellInstalledRule
You have to start the installer by entering the line above with but correct directory path changed to get the installer to work from command prompt.
I thank you so much for the help with this issue, because this was a tricky issue to figure out and I don't think I could've gotten over this without your help.
Thank you for sharing. I'm sure this can be useful for other people.
Viewing 11 posts - 1 through 10 (of 10 total)
You must be logged in to reply to this topic. Login to reply