Vista + Resharper
-
For those of you who don’t know what ReSharper is, it is an Add-In for Visual Studio 2005 that vastly improves the poor refactoring support as well adds some useful functionality. The First Problem: I’ve been using ReSharper since version 1 so it was the first thing I installed after getting VS2005 up and running. Guess What? Things didn’t go quite as well as I would have hoped. Just as ReSharper was finishing installation, it erred out and rolled back the install. I turns out that even though the install was running with elevated privileges it still was unable to update the os as it needed. This it turns out is not MS’s fault but rather the fault of the ReSharper installer. Apparently it doesn’t correctly assert which permissions it needs to execute successfully. The Solution: This is pretty simple but, it works. I just right-clicked on the installer an selected ‘Run as administrator’. At this point everything seemed perfect. Another Problem: At this point, I just wanted to verify the ReSharper install and get things configured to my liking. So, I fired up VS and I am greeted by a nice error from the ReSharper engine. To get past this I had to do the same ‘Run as administrator’ trick. It works for now, but I am not sure how comfortable I am coding with elevated privileges; I have been preached at for the last 2 years not to. I’ve submitted a bug report to the great folks over at JetBrains and hopefully this will get addressed in a future release. Note: After closing VS2005 and later opening it without using the ‘Run as administrator’ option I did not an error from ReSharper. Hopefully this part of the problem went magically into the night, but I highly doubt it.
My Blog A human being should be able to change a diaper, plan an invasion, butcher a hog, conn a ship, design a building, write a sonnet, balance accounts, build a wall, set a bone, comfort the dying, take orders, give orders, cooperate, act alone, solve equations, analyze a new problem, pitch manure, program a computer, cook a tasty meal, fight efficiently, die gallantly. Specialization is for insects. - -Lazarus Long
-
For those of you who don’t know what ReSharper is, it is an Add-In for Visual Studio 2005 that vastly improves the poor refactoring support as well adds some useful functionality. The First Problem: I’ve been using ReSharper since version 1 so it was the first thing I installed after getting VS2005 up and running. Guess What? Things didn’t go quite as well as I would have hoped. Just as ReSharper was finishing installation, it erred out and rolled back the install. I turns out that even though the install was running with elevated privileges it still was unable to update the os as it needed. This it turns out is not MS’s fault but rather the fault of the ReSharper installer. Apparently it doesn’t correctly assert which permissions it needs to execute successfully. The Solution: This is pretty simple but, it works. I just right-clicked on the installer an selected ‘Run as administrator’. At this point everything seemed perfect. Another Problem: At this point, I just wanted to verify the ReSharper install and get things configured to my liking. So, I fired up VS and I am greeted by a nice error from the ReSharper engine. To get past this I had to do the same ‘Run as administrator’ trick. It works for now, but I am not sure how comfortable I am coding with elevated privileges; I have been preached at for the last 2 years not to. I’ve submitted a bug report to the great folks over at JetBrains and hopefully this will get addressed in a future release. Note: After closing VS2005 and later opening it without using the ‘Run as administrator’ option I did not an error from ReSharper. Hopefully this part of the problem went magically into the night, but I highly doubt it.
My Blog A human being should be able to change a diaper, plan an invasion, butcher a hog, conn a ship, design a building, write a sonnet, balance accounts, build a wall, set a bone, comfort the dying, take orders, give orders, cooperate, act alone, solve equations, analyze a new problem, pitch manure, program a computer, cook a tasty meal, fight efficiently, die gallantly. Specialization is for insects. - -Lazarus Long
That sounds like a common problem: The app is doing things that require admin rights (usually updating HKCR or HKLM) when it's first run, instead of at install time.
--Mike-- Visual C++ MVP :cool: LINKS~! Ericahist | PimpFish | CP SearchBar v3.0 | C++ Forum FAQ
-
That sounds like a common problem: The app is doing things that require admin rights (usually updating HKCR or HKLM) when it's first run, instead of at install time.
--Mike-- Visual C++ MVP :cool: LINKS~! Ericahist | PimpFish | CP SearchBar v3.0 | C++ Forum FAQ
Sounds about right Michael. I've managed to repeat the whole thing installing some of my other tools. Gosh, I hate to sound like a Luddite but, Vista is annoying me with some of this stuff. Up next, I am going to try and set up VMWare and see if I can get a copy of my virtual build/test/ci server up and running. Chris
My Blog A human being should be able to change a diaper, plan an invasion, butcher a hog, conn a ship, design a building, write a sonnet, balance accounts, build a wall, set a bone, comfort the dying, take orders, give orders, cooperate, act alone, solve equations, analyze a new problem, pitch manure, program a computer, cook a tasty meal, fight efficiently, die gallantly. Specialization is for insects. - -Lazarus Lon
-
For those of you who don’t know what ReSharper is, it is an Add-In for Visual Studio 2005 that vastly improves the poor refactoring support as well adds some useful functionality. The First Problem: I’ve been using ReSharper since version 1 so it was the first thing I installed after getting VS2005 up and running. Guess What? Things didn’t go quite as well as I would have hoped. Just as ReSharper was finishing installation, it erred out and rolled back the install. I turns out that even though the install was running with elevated privileges it still was unable to update the os as it needed. This it turns out is not MS’s fault but rather the fault of the ReSharper installer. Apparently it doesn’t correctly assert which permissions it needs to execute successfully. The Solution: This is pretty simple but, it works. I just right-clicked on the installer an selected ‘Run as administrator’. At this point everything seemed perfect. Another Problem: At this point, I just wanted to verify the ReSharper install and get things configured to my liking. So, I fired up VS and I am greeted by a nice error from the ReSharper engine. To get past this I had to do the same ‘Run as administrator’ trick. It works for now, but I am not sure how comfortable I am coding with elevated privileges; I have been preached at for the last 2 years not to. I’ve submitted a bug report to the great folks over at JetBrains and hopefully this will get addressed in a future release. Note: After closing VS2005 and later opening it without using the ‘Run as administrator’ option I did not an error from ReSharper. Hopefully this part of the problem went magically into the night, but I highly doubt it.
My Blog A human being should be able to change a diaper, plan an invasion, butcher a hog, conn a ship, design a building, write a sonnet, balance accounts, build a wall, set a bone, comfort the dying, take orders, give orders, cooperate, act alone, solve equations, analyze a new problem, pitch manure, program a computer, cook a tasty meal, fight efficiently, die gallantly. Specialization is for insects. - -Lazarus Long
Just out of interest - what's the filename of the installer? Apparently Vista will automatically elevate an installation process only if it contains the words "Setup" or "Install" in the filename. If the Resharper installer doesn't, it won't elevate by default. :doh:
Anna :rose: Linting the day away :cool: Anna's Place | Tears and Laughter "If mushy peas are the food of the devil, the stotty cake is the frisbee of God"