Visual Studio 2010 Installation Project with Autostart - visual-studio-2010

I have .NET4 project with setup wizard from Visual studio 2010.
In shortcut I want do installer project who automatically add my application to autostart and start her after successfull installation.

Make your installer add shortcut to startup folder, or add registry key to HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Run or HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run. Name of reg key is anything, name of your app in example, and value is path to executable.

Windows Intaller from Visual Studio 2010 don't have this feature.

Related

how to create a visual studios setup project run other installers

I have made a Visual Studios CLR cpp project that requires drivers that need to be installed onto the user's PC before it can run. I have made an installer with a visual studios startup project that will download the required installers to the user's PC; however, I cannot find a way to make the VS startup project run the other installers after it is finished downloading. I've tried adding the .exe files into the custom actions section, but the installer will crash. I am running Visual Studios 2017 with the Microsoft Visual Studio 2017 Installer Projects extension added on.

Add files to User Data Path in Visual Studio 2017

In previous version of Visual Studio if I've needed to put files in a Users Data Path, I have created a Separate Setup Project application - where you could specify where a program should be loaded, whether to put shortcuts on the desktop and add any data to the User's Data Path.
I can't seem to find how I add a setup program in Visual Studio 2017.
To that end how would I add User specific data when I publish an application in Visual Studio 2017 - assuming the setup program type is now redundant. If it is not redundant - where can I find it?
Thanks,
Paul.
Installer projects are a separate add-in from the Visual Studio Marketplace site:
https://marketplace.visualstudio.com/items?itemName=VisualStudioProductTeam.MicrosoftVisualStudio2017InstallerProjects

Why do I get a Windows Installer popup whenever I build a project in Visual Studio 2010 or 2013?

Whenever I attempt to build a project in Visual Studio 2010 or 2013, I get a Windows Installer popup that says "Please wait while Windows configures Visual Studio".
How can I make this popup go away?
Root Cause:
Windows thinks that the installation is broken because of a missing folder.
Proper Solution:
Uninstall and reinstall the affected versions of Visual Studio.
Workaround
Create the following empty folder
C:\Windows\Microsoft.NET\Framework\URTInstallPath_GAC
The presence of this folder will stop the popup from appearing.

Visual studio 2015 missing start menu icons Windows 8

We are currently trying to deploy Visual studio 2015 Professional across our school in a windows 8 domain environment. Visual studio installs fine but its shortcut are missing from the start menu. and the search feature does not find visual studio. The program can be ran directly.
I have found some of the shortcuts in: "C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Visual Studio Tools" however these are only for the command prompt tools and not for visual studio itself.
Is there anywhere else the shortcuts may be?
I found the same thing happened with my installation under Windows 7
Instead of the shortcuts being inside the Visual Studio 2015 start menu programs directory, I found them one level up in the parent directory - somewhere I did not expect them to be.
As it turns out our domain has a script that deletes any shortcuts not in a sub folder - That would explain why the shortcuts are disappearing!
We have added a line to our install script to place the shortcut in the sub directory.
The installation move the shortcut for visual studio 2015 outside the 2015 folder to be consistent with other Microsoft applications.
Type: Windows key to use "Search for programs and files", type "Visual Studio" to open VS quickly.
or
Type: Windows key , click All programs, then click "visual studio 2015"

How to distribute/deploy a Visual Studio Add-in

I created my own Add-in with Visual Studio 2010. This Add-in is loaded at the startup of Visual Studio and it adds an entry in the Tools menu. The action of the Add-in is executing by clicking on its entry in the Tools menu.
The Add-in works well, but now I want to create an installer or something to deploy it on others computers.
I tried to create an MSI project, but I don't know where to copy the dll of the Add-in and how to register it in Visual Studio.
Then I tried to create a VSIX project, I managed to install the extension but my entry in the Tools menu is not visible/displayed.
Anyone knows a good way to deploy the Visual Studio ?
VSIX installers are used for deploying Visual Studio 2010 extensions. I'm not sure it works for add-ins. I would go with MSI. Here you will find a tutorial:
http://www.codeproject.com/KB/install/AddinCustomAction.aspx

Resources