Process Of Creating A Setup And Deployment Project For Windows Application?
Jun 22, 2010Step-by-Step Process of Creating a Setup and Deployment Project for windows application
View 2 RepliesStep-by-Step Process of Creating a Setup and Deployment Project for windows application
View 2 RepliesWhen i am creating a setup project and building it then i am getting a setup file using which if i install then it is getting installed to single user only i want the setup to build run for every user in that system and the users can access it.
View 1 RepliesI've been busy with work and other bits and bobs and not really had much time for programming... but anyway, I have just written a fairly simple windows service in VB.NET and although I can install it on my PCs/servers using the command line InstallUtil.exe component, this isnt ideal for other people that may need to install it without my assistance.
So basically I just need to know how to get a normal Setup and Deployment VS project to install this service itself... I thought it would be as simple as selecting the service assembly to include in the deployment project and building it, but unfortunately that seems to do naff all. Do I need to use a 'Custom Action' in the setup project (and if so, how/what do I do?)
I have a setup and deployment project that installs my application. During installation, I create a hierarchy of folders under the C: drive.
However, when I use add/remove programs to uninstall my application, I do NOT want this hierarchy of folders to be removed. How is this possible?
Also, when creating the folders, I set "AlwaysCreate" to True. If one of the folders already exists, will it be replaced with my new empty folder? If so, how can I prevent this.
I have created a windows application which Installs Multiple MSI's based on some condition. The project is created in Visual Studio 2008 with .Net framework 3.5; If this application runs in a machine which has atleast Dot Net 2.0 installs, it works fine. but the system without framework 2.0 throws an error "The application failed to initialize properly (0xc0000135)"
How can I stop my application from crashing. I tried giving a check in the Main(), but it is not even firing the Main(); Is there any way I can give a prerequisite, But not in the Publish, Coz i am using the output exe and not the clickonce output..
i'm developing an application vb.net with mssql server as database. on my pc it works. but i don't know how to make it works on my customer's pc.anybody have some tutorial regarding the creation of a setup and deployment project with ms sql server.my first doubt is: how can i determinate the right connection string?
View 1 Repliesi have made a window application programme in vb.net.i want to make a setup sothat it can easily install on another computer.plz help me....Pramod Gupta
View 2 Repliesadd serial number requirement to Setup & deployment > setup wizard for VB.net application
View 16 RepliesHave built a project and associated it with a Setup&Deployment Project. The S&D project needs to contain 2 main folders (under User's Desktop) with various formats of files (xmls, txts, dlls) inside them and several subfolders. How can i copy/import these 2 folders and there sub-files/folders into my s&d project?
When adding them in the usual way, they are copied and defined a source path onto the current pc. You can understand what errors this might create when an another targeted pc does not contain those files to the exact location. Is there any way to copy them locally or somehow import them?
My suggestion is how to use the setup/deployment project - and also how to add it/incorporate it into the project being built.
View 3 Repliesive just completed my app and i created a setup and deployment project.Complier forced me to exclude wmp.dll
i get this error for about a second before the app launches. Losing my splash screen because of it
I thinks it has to do with the .dll, but ive no clue how to fix
setup and deployment project walkthru? creating a setup and deployment project in Vs2008
View 7 RepliesFor my .Net desktop apps I usually create an MSI installer (I create a 2nd project in my solution, a Setup & Deployment project) and I zip the setup.exe file with the <appname>.msi files together and put them up for download on my site. The installer will go through the process of asking where they would like to install the application (it creates the needed shortcuts and everything).
Right now I'm looking at adding a feature to some of these programs where it'll periodically check it's corresponding xml file on my web server and see if there's a newer version of itself available. I have this portion working just fine, where I'm stuck is that I would like to have it download a separate msi installer to update itself.
The idea is that it would download this different msi file, execute it while the app closes itself. This msi would not ask any questions, it would simply update the needed files in whatever location the first msi installer put the app. When this updater msi is done, it would just re-start the application.How would I go about making an msi installer that doesn't have any prompts and installs the application where ever the first msi installer put it (where ever the user chose to install it to)?
I would like to add a choice of icons to the desktop shortcut I add in setup/deployment. I can add one icon, but when I run the project there is no option for changing it. The "change icon" button is greyed out. I've made a dll containing 3 icons and added it to the setup/deployment project (also added it to the test project).
View 1 RepliesSetup and deployment project template is missing in my installation
View 2 RepliesIs it possible to make a setup and deployment project in VB.net 2008, every site i have looked at on google says to just select it from the project list. It isnt in the project list for me to select.Are these types of projects not available in the express version?How can I make an installer, other than using one of the setup and deployment projects? (I know there is a publish button, but that doesn't make a proper installer and installs to the appdata folder which is not what i want it to do)
View 3 RepliesI have a VB.NET Application and I am developing a deployment project in VS 2008.
I need to give the user the choice to allow the application to start when windows start (but this should be optional)
Then in my application there should be an option to remove the application from the windows start up folder.
how to add the creation of a scheduled task to the setup project of a solution so that it will install the main executable and also schedule it to run in windowsscheduled tasks. The project is in vb.net 2005?
View 6 RepliesI completed an application in vb.net and i'm using sql server 2005 as database engine.Now I want to create a software package for this application.But the problem is that how can I include the database within this package,I'm also using a crystal report viewer.ie, How can I install this application to a system that doesn't have sql server?.
View 1 RepliesI have created deployment package for VB.Net appolication and it runs fine. When setup is rnning, I want deployment package to move a file from bin folder to other specific folder. how can I move this file to specific folder.
View 1 RepliesI am creating a VB windows form applications , the working can be summarized as users fills some form and data is saved in sql server database.Now the problem i am facing is that i have to deliver this as a setup file to someone, and that person will further distribute it to different users to run on their PC, what i am thinking is that the code once installed on other computers and executed will give errors because of the connection string of sql server db as it will not match with that computer . I know that if a distribute projects i can put connection string in app.config and every user can change it according to his/her machine .But as i am giving a setup file how to solve this problem
View 1 Repliesi have studied very recently that an exe file could be created using "Setup and deployment" project, then by adding the required file to it,thus we can create a 'setup.msi' and 'setup.exe' But i want to know whether, we can create the same exe file , COMPLETELY THROUGH CODING....for example, when i click a button , then an exe file should be created...
View 1 RepliesI am creating a visual basic project for class. It is all running as intended though I am not sure how to set up the login to database function. When you click the link for the specific report it should display the page. But I get a login to database page. I am just wondering how I set that up so that one can actually see the information. ie:
[Code]...
I am trying to set up an application process to run an executable, which I include in the project's installation directory, and pass it the necessary parameters; however, I am running into issues as it doesn't appear to be doing anything at all.
Here is what I have:
I define the Process As
Private WithEvents conversionProc As New System.Diagnostics.Process
Then I setup the arugments and the process start info as follows:
Dim ogrDirectory As String
[Code].....
I have to deploy my VB.NET application, and create a new access database with 5 tables, some filled in with values on installation in a specified folder in the C: drive which also needs to be created. I have found using google havent seemed to work for me. I am using Visual Basic 2008 Express Edition, so maybe I need to use a proper copy of Visual Studio 2008 to do this.
So basically I am looking for a way to create a .exe file that will be used to install my program on a user's computer, and create a folder and database with some values on instalation. Could anyone tell me how I can do this or point me in the right direction? EDIT - Also would you be able to answer this question for me. Will the computer that the program will be installed on require visual studio or any other software to run my program?
Is it possible to create a custom start menu shortcut link?
The only possibilities I see in the setup project are shortcuts to folders or primary output.
Update:
What I ended up doing is creating a custom action on commit that dynamically creates the link using Windows Scripting Host. Then on uninstall, removing the link.
I do one project in visual basic 2010.In visual basic 6 project can be make Package and deployment (setup file or install file) file using Package and deployment wizard.But in visual basic 2010 express edition does not have Package and deployment wizard.how to make Package and deployment (setup file or install file) file in visual basic 2010 project?
View 4 RepliesNow that I've got this service that runs really great on my 32-bit development machine when I use InstallUtil.exe to install it, I'm ready to take it to the next level and generate something that I can use to install it on my 64-bit production server. I've never done this before, so I'm looking for detailed, step-by-step instructions on how to "publish" this Windows Service that I've written, or make it such that I can take some kind of file (or set of files) and install my service on another machine. I'm looking for a way to do this using Visual Studio 2010. I think the processes are different than in previous versions of Visual Studio.
View 4 RepliesI have a icon for my application that I set in the project properties window there is a little drop down box to browse to the icon location. While debugging everything is good. Once I build the app and place it on a PC and manually start the app all is good. My app starts with windows and now every time the program goes to start I get an error that the icon cannot be found in the DocumentandSettingUSERNAME folder. So the question is do I have to place my app icon in this folder? In design I have the icon in the binDebug folder and that is were I point to in the Project properties page.
I am using VS 2008 VB.net.
Using Visual Studio 2010, Windows 7.Setting up project on one machine, then attempting deployment it on another machine with Windows 7 on it:When it comes to deployment, every time I have one to do, it is like pulling teeth.I am in file system setup, and I have a custom folder created with DefaultLocation set at [CommonAppDataFolder].Supposably you can use the "Common Files Folder" too, but that did not work either.What is happening is, I have three files in this folder, and two of them copy over just fine, when I look at the ProgramData/Tachufind folder, both of those files are in there, but no sign whatsoever of the third file.I have tried deleting and then re-copying the file back in, to no avail.I have tried setting various properties, to see if that will change anything, to no avail. Can't Microsoft make this easier, this is deployment-hell! Is there another application you can use to deploy a project without losing your sanity?
View 4 Replies