Creating Setup/Installation Project in visual studio - installation

I have created an standard installation project in vs2017. I require to update the string connection over user input and run an script to Create DB on selected String connection.
I am following the following article https://www.codeproject.com/Tips/446121/Adding-connection-string-during-installation#_articleTop
But I do not understand where to create the Installation class.
Any suggestion on how to perform this task?

For people fighting Against this, I found a more detail tutorial.
https://codeteddy.com/2016/04/04/creating-an-msi-package-for-c-windows-application-using-a-visual-studio-setup-project/.
The instalattion class, must be added into the proyect you want to install.
Regards,

Related

PipBuilder with Ocean 2013

I'm working with Petrel and Ocean 2013 and am trying to use the PipBuilder in Visual Studio 2010 to build a PIP file for a plug-in I'm working on. Right now, all I'm trying to do is figure out how to get the "New PipBuilder" option in VS to accept a project, so I've just thrown together the "Make your first Plug-in" project found in Schlumberger's documentation to see if I can just get the process down for setting this up before I start to change my actual plug-in.
My problem is that I always get the, "The wizard did not find any Plug-in assemblies..." error, even though I've pointed the wizard at all sorts of places--the project directory, the project bin directory (which is where I assume the "assemblies" it's talking about would be). There's not a whole lot of documentation or help I can find online for this Ocean/Petrel stuff, so I was wondering if anyone knew exactly where this wizard is supposed to be pointing in order to allow it to accept a project.
Thanks in advance.
Make sure you build the VS project that contains your plug-in before you run the PIPBuilder wizard.
Also, make sure that your VS project for the plug-in has a class that derives from the Plugin class that defines your plug-in. It will have a Modules property that refers to your class that implements IModule where the real work of your plug-in begins.
So what needs to happen is you make a new PipBuilder project using the same solution as the plug-in you're working on. That is to say, you make a new plug-in, do all the things you need to do, build said plugin, then, instead of using a whole new VS instance to make a PipBuilder, with your plugin project up, you do File->New->Project->PipBuilder.
I thought you had to do what you do for every other kind of project: make a new one and point it at the location of the code.

Run the Installjammer setup from a script

I have got stuck with my InstallJammer setup creation. Let me explain what I need.
I have created a template project setup using InstallJammer. I wish to use the same template for all the Projects my team creates. What actually I need is to run the Installjammer setup from a script where I can give the Application name.exe, common path to all the related files including help, readme, licence, jar(exe) and icon. via virtual text or some how to the script. How can I do this?
From where should I start?I already referenced the InstallJammer User guide, but still got no idea of such a matter. Please help as soon as possible.
Thanks in advance to Stack Overflow team.

creating setup of a project in VB6.0

i have created a application in VB6.0 which is connected to MySQL through ODBC connection,there are two dsn which connects to application.Now i want to create a setup of the application that i can install on any computer.but how? I tried using Package and Development wizard in VB but it gives me error "access denied ieframe.dll" something like that while installing it AND also after using that wizard,now all my forms are corrupt.I craeted new and i don't want this to happen again.Help me!!
tired googling now!!!
I am not sure of the version of VB6 you are running, I do know that there was an InstallSheild Light version that shipped with Visual Studio 6 Professional. It was an optional install. If you have your original installation media try looking for it. There was also Visual Studio Installer 1.1 that used to be available from Microsoft. I found a link on Web.Archive.org that still works. I have used this to build msi files for VB6 in the past. You need to have Visual Interdev because it gets added as project type to it.
And since you mentioned that the Package and Deployment Wizard corrupted your project, you should make a backup of your data or use some type of source control. It will be a lot less painfull to recover when problems occur.
First of all, I take it that the two DSNs are not relevant to this problem?
I have never seen the error "access denied ieframe.dll", but I would guess that you are trying an installation via internet explorer. I would try creating a standard application installation.
I have to say that I am surprised to hear of "corruption" of your forms. Do you really mean your source code? Or this the forms in the executable. In any case, you really should be using some form of source control.
In any case, if you want a better answer, try giving a step by step run-throught of exactly what you are doing.
Regards,
Mark

Windows Service Setup Project

I’m trying to create a set-up project for a windows service. I’ve followed this tutorial and many others like it but, after installing my service, I still can’t see the service. I’ve added the primary output of the service to the application directory and created a custom action to include this output on Install, Commit, Rollback and Uninstall.
It claims that it installs correctly.
Should this work? Is there anything else that I can try to get this to install?
Did you create an installer for your service? It is separate from a Setup Project.
See: http://msdn.microsoft.com/en-us/library/system.serviceprocess.serviceinstaller.aspx
You can create an Installer by right-clicking on your service's Design window and selecting Add Installer.
In my case, adding the installer was a first step as described by dhirschl's answer. I then needed to add custom actions to the setup project.
Right click the setup project/view/custom actions
then add the primary output to every folder there.
Source

Making your own cusctom workflow developed in visual studio 2010 available in sharepoint designer 2010

Well my requirement is :
Need to develop a custom workflow,the workflow should take properties like site url, list names etc., From the client.
I am able to develop the workflow, but i need to make it available in designer. I tried the method mentioned here:
http://www.chaholl.com/archive/2010/03/13/make-a-custom-activity-available-to-sharepoint-designer-2010.aspx.
1)I have created the required action file.
2)deployed(copy-pasted) dll into gac.
3)made safe-control and authorized type entries in web.config of the corresponding web application(on which my site collection exists)
But it is not helping me out.after following the steps given,when i try to open any workflow in designer,it gives an error saying it cannot find an action(assembly) with xyz name.
If I understand correctly, you built an entire workflow and am trying to make it available to SharePoint Designer. The guide you are following deals with custom "Actions". Actions are a sub part of a workflow. This may explain why your deployment isn't working, because you're trying to deploy a workflow as an action.
If you could provide more information about your steps, we could try and figure it out.
Thanks
C
http://www.cjvandyk.com/blog

Resources