Restart system in the deployment of visual studio 2008 - visual-studio

I there any option to restart in the visual studio when my product install?

No. This is something that the installer can do - and the install projects in visual studio are exactly one thing: crap. Get yourself a copy of WIX (look it up - it is on sourceforge) and use that. This is the "official" upgrade - it is also used to make the Visual Studio installer. There you can do EVERYTHING that the installer can do.

Related

Installer for Visual Studio 2010

I need to create a setup for installing my project. I meant to try both WIX both native visual studio installer, but i don't know how, when i go to new project there isn't such option. I figured out that WIX don't add templates on 2010, but why there isn't one for visual studio installer?
I would also like to know if there are any other simple installers worth trouble?
Visual Studio 2010 was the last version to support Visual Studio Installer (.vdproj) projects. Many teams use WiX Toolset instead. [UPDATE: There is now a VS extension that provides Visual Studio Installer support to later versions.]
WiX Toolset is a Visual Studio extension. Express versions don't allow extensions so that might be a reason you don't see templates. Another reason is that for the WiX installer to register templates, Visual Studio 2010 must be installed first. You can try repairing the WiX installation.
Another IDE for WiX is SharpDevelop. (It's free.)
Both Visual Studio Installer and WiX Toolset create Windows Installer packages. It's important to understand what Windows Installer does. If you are trying them to compare them, you might be interested in this related question.
NSIS is another technology entirely. It gives complete control over what's put the target system, including whether to have an uninstaller at all. Many projects use it as a bundler for Windows Installer packages. (But, note that WiX now has a bundler [called burn].)

Create MSI or setup project with Visual Studio 2012

I create a small application and I would like to create one MSI file.
In Visual Studio 2010 you have this project type under:
Other Project Types -> Setup and Deployment -> Visual studio Installer -> Setup Project
But the only thing you got in Visual Studio 2012 is "Enable InstallShield Limited Edition".
You can change the .NET Framework, but nothing changes.
Why is it not there any more? And how can I get it back? Is there a new way to do this?
Please see:
Visual Studio setup projects (vdproj) will not ship with future versions of VS
Windows Installer Deployment
It was announced 1 1/2 years ago that the project types were being killed. Alternatives are:
Use A VS2008/2010 Solution to build your installer
Switch to another tool such as InstallShield or Windows Installer XML
To create setup projects in Visual Studio 2012 with InstallShield Limited Edition, watch this video.
The InstallShield limited edition that cannot install services.
"ISLE is by far the worst installer option and the upgraded, read -
paid for, version is cumbersome to use at best and impossible in most
situations. InnoSetup, Nullsoft, Advanced, WiX, or just about any
other installer is better. If you did a survey you would see that
nobody is using ISLE. I don't know why you guys continue to associate
with InstallShield. It damages your credibility. Any developer worth
half his weight in salt knows ISLE is worthless and when you stand
behind it we have to question Microsoft's judgment."
By Edward Miller (comments in Visual Studio Installer Projects Extension).
The WiX Toolset, which, while powerful is exceeding user-unfriendly and has a steep learning curve. There is even a downloadable template for installing Windows services (ref. VS2012: Installer for Windows services?).
For Visual Studio 2013, see blog post Creating installers with Visual Studio.
Have you tried the "Publish" method? You just right click on the project file in the solution explorer and select "Publish" from the pop-up menu. This creates an installer in a few very simple steps.
You can do more configuration of the installer from the Publish tab in the project properties window.
NB: This method only works for WPF & Windows Forms apps.
Microsoft has listened to the cry for supporting installers (MSI) in Visual Studio and released the Visual Studio Installer Projects Extension. You can now create installers in Visual Studio 2013; download the extension here from the visualstudiogallery.
ISLE (InstallShield Limited Edition) is the "replacement" of the Visual Studio Setup and Deploy project, but many users think Microsoft took wrong step with removing .vdproj support from Visual Studio 2012 (and later ones) and supporting third-party company software.
Many people asked for returning it back (Bring back the basic setup and deployment project type Visual Studio Installer), but Microsoft is deaf to our voices... really sad.
As WiX is really complicated, I think it is worth to try some free installation systems - NSIS or Inno Setup. Both are scriptable and easy to learn - but powerful as original SADP.
I have created a really nice Visual Studio extension for NSIS and Inno Setup with many features (intellisense, syntax highlighting, navigation bars, compilation directly from Visual Studio, etc.). You can try it at www.visual-installer.com (sorry for self promo :)
Download Inno Setup (jrsoftware.org/isdl.php) or NSIS (nsis.sourceforge.net/Download) and install V&I (unsigned-softworks.sk/visual-installer/downloads.html).
All installers are simple Next/Next/Next...
In Visual Studio, select menu File -> New -> Project, choose NSISProject or Inno Setup, and a new project will be created (with full sources).
There is some progress for Visual studio 2013 developers :-D woot woot! See blog post Visual Studio Installer Projects Extension.
Link and information were retrieved from Brian Harry's blog post Creating installers with Visual Studio.
Have a look at the article Visual Studio Installer Deployment. It will surely help you.
You can choose the correct version of .NET framework on the page.
So for you, make it .NET 4.5. I guess that would be there for Visual Studio 2012.
I think that Deploying an Office Solution by Using ClickOnce (MSDN) can be useful.
After creating an Outlook plugin for Office 2010 the problem was to install it on the customer's computer, without using ISLE or other complex tools (or expensive).
The solution was to use the publish instrument of the Visual Studio project, as described in the link. Just two things to be done before the setup will work:
Install the PIA (Primary Interop Assembly) of Office 2010
Install the VSTO 2010 runtime

can i install and use, visual studio 2008 and visual studio 2010 on the same windows xp/vista

can i install and use, visual studio 2008 and visual studio 2010 on the same windows xp/vista
have visual studio 2008 installed and working
wnat to install visual studio 2010 and use with 2008,
some solutions on 08 and some on 10..
any problems possible?
Yes, you can!
Can't add anything else, honestly! :)
Well, I personally have 2005, 2008 and 2010 installed on the same workstation, for various needs and projects. Works without any problem!
No problems at all running both Visual Studio 2008 and 2010 side-by-side. My development box is currently set up this way.
Solutions will automatically open in the version of Visual Studio that they were created in. You can manually choose to open them in a newer version, but you will need to update them. A wizard will automatically appear that guides you through the process.
Opening a solution saved with a newer version of VS in an older version is not a supported scenario.
But there is a workaround: simply open the *.sln file in a text editor (like Notepad) and decrement the version number by 1. You'll have to do the same thing for each of the project files.
I had the same problem with converting a Visual Studio 2008 project to 2010, which made the program could not compile at all with every measure i took.. then I installed Visual Studio 2008 again and it turns out they can be installed in the same computer and work, but you need to open visual basic 2008 manually if you want to develop a project there..
You shouldn't have any problems unless you try to develop for Windows Phone 7, which you can't currently, and may never be able to, do in Windows XP.

Publishing From Visual Studio Express

I am an amateur programmer. When I publish an app from Visual Studio Express, I have no option to make the package install for "All users of this computer". Is this possible to do from Visual Studio Express? If so then where is the option? If not, do I need to use the full version of VS or do I need some other package authoring software?
I think you got to have the VS professional version to get the full functionality of application deployment.

If I install Visual Studio 2008, Visual Studio 6.0 will work or not?

Using Visual Studio 6.0
I want to use Visual Studio 2008 also.
I Already Installed the Visual Studio 6.0 (VB6, Foxpro Package) in my system, Now I want to install the Visual Studio 2008(.Net Package). Is Possible to install?
If I install Visual Studio 2008, Visual Studio 6.0 will work or not?
Can any one help me?
Yes, you can use Visual Studio 6.0 side-by side with VS2008. I use this for maintenance of old VB6 code. It is safest to install v6 first, which is what you have done. So install VS2008 and enjoy.
YES. Visual Studio 6.0 will work with Visual Studio 2008 installed.
Well, it works, that should be very apparent from the other answers :-)
Maybe one quick tip tho: when you install VS6 it will require the MS Java runtime environment - you don't want that! It's an easy fix however: just create an empty file named msjava.dll inside %windir%\System32 and you're off...
I have installed Visual Studio 2008 and then Visual Studio 6.0. Both works fine.
Yes, I run VS6, VS2005, and VS2008 on machines here.
Like what Marc Gravell said. first install VB6(VS6) then VS2008 and enjoy.
I already have both VS6 and VS2008 on the same machine

Resources