Is there an alternative to devenv /setup in order to install my Package in VS2013?
My installer runs devenv /setup from a custom action at the end of the install.
However my build machine which creates the installer requires a particular VS2013 registry entry described here due to a VS2013 bug.
Is there and alternative to /setup?
/installVSTemplates worked from me in VS2010 but does not seem to be enough for VS2013!
Related
I want to run Visual Studio 2010 with two commands:
devenv.exe /nosplash
devenv.exe /safemode
How can I run Visual Studio 2010 with both commands? Meaning, I need to run an instance where both commands are executed with them.
How do I do this with Visual studio 2010?
Run it as:
devenv.exe /nosplash /safemode
It seems to work OK when I run it.
Unless I'm missing something here, simply type...
devenv.exe /nosplash /safemode
...and all should be well. (Tested and works fine on my set up.)
Is there anywhere I can download the ProjectTemplates folder for Visual Studio 2008? I accidently deleted it and the cache folder so need to get a copy of it!
What about using installation repair?
Try running this from the Visual Studio Command Prompt. It should allow you to fix the problem without going through the installation repair process.
devenv /installvstemplates
Hi I am getting the operation cannot be completed error when i tried to open Visual studio 2010. Previous to that I was trying to install web platform and didnt install but that is all I did...anyone have suggestions...i tried restart my pc...
Try devenv /setup, devenv /resetsettings, or devenv /resetuserdata. Important: only try the last two as a last resort since they will reset your settings.
Assuming you're on a 32-bit OS, devenv is available from the command-line at \Program Files\Microsoft Visual Studio 10.0\Common7\IDE or from the VS command prompt.
I am writing a VS Integration Package and setup using Visual Studio Setup Package. I have a custom action that runs "devenv.exe /setup" when the package is installed.
If the user has VS 2005 and 2008 installed, do I need to run devenv.exe /setup from both directories? Like so:
"C:\Program Files\Microsoft\Visual Studio 8\Common7\IDE\devenv.exe /setup"
"C:\Program Files\Microsoft\Visual Studio 9.0\Common7\IDE\devenv.exe /setup"
Or will running just one be sufficient? If so, which one should I run? (2008 I presume)
Yes, you need to run both. They are two independent environments.
It depends on which one you are installing to. VSIP packages install into a version of Visual Studio vs. a machine. So you should only have to run devenv /setup on the version of Visual Studio to which your package installs. Running devenv /setup on the version you did not install to will have no effect.
I've seen a confusing behavior regarding the MSI files generated by a VDPROJ file. If I build my MSI in Visual Studio and then right-click and pick "Install" from within Visual Studio, it will automagically uninstall any version that is already installed and then install the new MSI.
However, if take the generated MSI and run it directly it will complain if a previous version is already installed. I have to uninstall it explicitly (in Add/Remove Programs) first.
What's the deal? Is there a command-line argument that Visual Studio executes the MSI with?
Yes Visual Stuido will be passing the REINSTALLMODE and the REINSTALL properties to the windows installer when it runs your install
something like:
msiexec /i your.msi REINSTALLMODE=vomus REINSTALL=ALL
Check the MSDN documents linked above to see what these options are doing
Edit:
Now I come to think of it. Studio may also just be uninstalling your application first by using the /x command line arg
msiexec /x <package> or <product code>
Maybe someone else can confirm which is being used?