Visual Studio 2015 Missing Setup Project
This issue occurs when the initial failed or canceled setup did not persist the latest feed.xml. The next time the Visual Studio Update installer runs, it tries to use the outdated feed.xml that it detects from earlier Visual Studio install sessions.
I have downloaded and installed the following; Visual Studio 2015; ObjectARX for AutoCAD 2017, and.NET Wizards(though I'm not sure which link I am supposed to download). All of which can be found.
I cannot figure out how to get Visual Studio to set up the 'environment' for AutoCAD. I have read many different posts on how to solve debugging issues. However, I am trying to create a new plugin in C#. Any help would be greatly appreciated.
I wish the videos would be updated on 'My First Plug-in Training' for us new to this. Wrote:Hi,I would recommend you do not try to run before you know how to walk.If you do not know the basics of.NET (OOP, Framework, C # language,.) and those of Visual Studio (compilation, debugging.), you can not calmly approach the.NET API of AutoCAD. Okay, I have shoes, sunglasses and warm clothes. Now, tell me how to climb to the top of Everest.;)Thank you, gile.
I understand your point of view on this. However, I do know some coding, nothing like C#, C, or.NET, but I do know LISP, javascript, PHP, and HTML. I know they are nowhere near as complicated but I learned those by diving into the deep end and swimming my way out. I learn best by spending time researching, coding,messing up, asking questions, and re-coding.
On another note, this is just a hobby of mine. That I do for fun. If you could point me the direction that you feel is best, as there are MANY opinions on what is best, research/study for a beginner such as myself please let me know. I do value your input because I see your responses on this forum quite often. Again, thank you for responding.
.IntroductionVisual Studio 2015 supports old-fashioned.vdproj projects for generating MSI installation files. However, there is not a visible way to introduce custom dialogs, as it is possible with WIX and other similar tools.
This article explains step-by-step how to do it and what tools to use.This is an advanced topic and it is assumed that you already worked with Setup projects in previous versions of Visual Studio. Required toolsIn order to create Setup project, it is needed to install an extension from Microsoft, by using the Extensions and Updates tool option in Visual Studio. Search for the word 'installer' for easy location, then download and install.The second required tool is Orca, which comes in the Windows Platform SDK. Orca is a generic tool for opening several 'database' files used by the Windows infrastructure.
I have tried with the Windows Server 2003 SP1 Platform SDK but I assume it may work with other SDKs. The link I used was:It is not needed to install the whole SDK, but only a couple of components, as shown in the following dialog.After the SDK installation is completed, the Orca installation file (Orca.msi) can be usually located at: C:Program FilesMicrosoft Platform SDKBinAs an alternative, there is an independent product called SuperOrca MSI Editor, from Pantaray Research Ltd. It's documentation file may give some additional insights about the MSI internals. Creating a Setup project (vdproj)After a succesful installation of the Visual Studio extension and reinitialization of the IDE, a Setup project can be added to an existing solution containing some application. In the Solution Explorer, the project can be added as any other, as shown in the following screenshot:It is recommended to use the Wizard option for the first time, as it will gather information from the existing project in the solution and fill up whatever is needed.At this point, I will assume you will spend some time researching on how to add files from other solution projects and organize them in output folders. This topic is out of the scope of this article. Creating a custom dialog fileThe setup project comes with few default dialogs that can be customized by changing labels and setting up default values for the controls.
The existing controls for a given dialog cannot be removed, relocated, neither is possible to add more controls.The User Interface view shows what standard dialogs have been already included by the Wizard, as shown:At this point we will detour from the normal workflow and proceed with the customization.The standard dialogs are stored in binary files with extension.wid, and are usually located in the folder: C:Program Files (x86)Microsoft Visual Studio 14.0Common7IDECommonExtensionsMicrosoftVSIbinVsdDialogs, which is the root of several language/codepage folders. This article will center on the 0 (Neutral) and 1033 (English) sub-folders.The first step to create a custom dialog is to take another one as a base, and place it in the same folder. In this article the chosen name is MyCustomDialog.wid, copied from VsdCustomText3Dlg.widEditing the custom dialogThe WID files can be opened by the Orca tool, although that extension is not suggested in the Open dialog. It would be useful to open the WID file in the Windows Explorer, in order to associate it with the application. Once opened, it will show a list of tables with several rows each.It would take thousands of lines to explain how the WID file is organized and how to edit or add more controls.
I would suggest to open several WID files in parallel in order to learn by comparison. It is also possible to copy rows from one file and paste on the other.As a hint, it is important to preserve the same dialog name after pasting rows, as well as pay attention to the sequence of controls, which are chained by name in some columns. Also it is important to edit the DisplayName column in the ModuleDialog table.A good literature regarding the MSI internals, including WID, can be found in 'Easy Msi', by Robin Fischer. Usage from Visual StudioThe file dropped in both 0 and 1033 folder shall already appear in the Visual Studio dialog for adding a new dialog.
The DisplayName will be used instead of the filename:If the WID file is succesfully loaded, its properties will appear in the Properties window, and can be edited as with other standard dialogs. Also the Setup project shall compile without issues.Usage in a Build engineAs the Visual Studio IDE has been customized by introducing a new WID file in the VSDialogs1033 folder (or some other folder, depending on the culture), this approach wouldn't work in a Build engine, like Visual Studio Online, because the build engine doesn't contain that file referenced from the vdproj file.Although it is possible to install the required WID file into the build engine with a script, an easier approach would be to copy the WID file into the Setup project folder, and add it to the source code repository. In order to be sure the file is in the source code repository, it would be good to browse it from the web interface.After that, the vdproj shall be manually edited in order to reference to the local WID file, instead of the one inside the VsDialogs folder, by removing the tag, as shown:If the Setup project compiles correctly after this modification, it should work in a Build engine. Govindrulz 24-Nov-Nov-16 20:03I have been try to install SQL Server 2008 R2 SP2 as a part of my installation, Tried out Custom action. Encountered an Sql server installer related bug which has been fixed only on SQL Server 2012What im trying to do now is to launch an application with admin rights, which will in turn start the sql server set up, The application works when it is started independently, SQL server installs successfully.
Visual Studio 2015 Missing Installer Project
But when the application is started from the MSI the Sql server installation fails because it cant make changes to the registry. The possible solution is adding the UAC shield to the MSI, Or it can starting an asynchronous process, with full admin rights. Please help me out ive been working on this for 10 days now trying different approaches.
Visual Studio 2015 Missing Setup Project For Windows 10
Am using window installer project in either VS2010 or 2015Thank you.