Create Package And Deployment (setup File Or Install File) File In VB 2010 Project?
Jan 8, 2011
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?
I have a project that i have created in Visual Studio express and SQL server express. i want to create an install file so that i can send to others to install. Currently it is requiring the user to install SQL server Express and 3.5 .net framework.what steps can i take to stop the user having to install these 2 so that it is a simple install for them.
i 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...
I 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?.
I'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'm trying to do a setup project with VS2008 for my VB .NET application. I would need to create a text file into the installation directory based on the answers the user who installs the program gives. Idea is that I need to have the installation path variable in a text file so that I can read it. And also some other directory specifications too.
I could do the following: Write the wanted information to the window registry and after the installation is ready, create another application that is run at the end of the installation to create these files.
I want to create personal folders during installation. I did the following steps:
Right click on your setup project -> View -> File System Right click on node "File system on
I know the above steps are correct and should work because i did it in the other application (solution) and worked fine. When i did same exact steps (of course i changed the folder name to be created), the application gets deployed but when i install, i don't get the Personal Folder under Documents? I wonder why did it work with my first solution and didn't work with the current one!
I have developed a windows forms desktop application using vb.net 2005. It is installed on client computers using a setup package.
One of the clients wants to redistribute the setup package to other users.
He wants to provide the users with an initialization file containing the database server name which they will be using, so that it is available when the application is installed. They are apparently incapable of physically typing in a server name themselves after installing the application.
Is there any way I can include a separate file with the setup package which the application can find after it has been installed?
found that Visual studio Basis not have a 'Package and Deployment' project type, andVisual studio professional Trial Edition is a temporary solution and also I remember that the license agreement says that Trail Editions
I have a windows project completed and am using an MDI with a help menu.So now I'm working with a click once deployment.When the user clicks help, it should load an .HTM file, but instead, when installed on the client it gets a "page cannot be displayed error".
I created the file in word. Saved as an .HTM. along with it came the images folder. I placed it in the bin/debug folder. I've made sure all the images and the .HTM files are set to Build Action = content and Copy Always. These files are copied out to the deployment website. It shows as "required(auto)" under appication settings, publish. Everything else in the deployment works nicely, including Crystal Reports and Powerpacks.So what is going wrong with this?The help is a windows form with a browser control on it and the following code.Note that the Catch on the Try doesnt kick in either on the client.
Private Sub Help_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load 'change mouse pointer to hourglass Cursor.Current = Cursors.WaitCursor
I've created a setup project for a VB.NET 2010 application that I've written. The application, and the installer both work fine on my development machine.The installer works fine on other machines, but when I run my application it immediately crashes and dies without telling me anything useful. I've tried it on Windows 7, Windows XP, and Windows Vista machines... and all had the same problem, so I think it's more of a package configuration issue than a machine-specific problem.Here's the most useful information that I was able to get out of it:
I created a myapp setup project and set "RemovePreviousVersions = true". I have to uninstall previous myapp first and then install new one. Is there any any way to create a setup msi file to uninstall and install at the same step?
For 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)?
[Code] I have used flash .swf file there in my program(It shows animation there in form1).If I dont have flash player here in my pc & if I install & run my program then it shows error message that "Windows Application1 got a problem needs to close". If I have visual studio then it works when I install flash player. But if I dont have visual studio here in my pc & install flash player it shows same error that "WindowsApplication1 got a problem needs to close".
I 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.
I need to Install a MSI Package as a Prerequisite For an Installation Using Wix Setup...How Can I do it....? I first need to install this MSI package and only want to Continue the Set up,If this Installation Would be Successful...
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 am creating an MSI Package for my application.There are some ocx files which needs to included as the part of the installer. When i try to install this package it says "registration of ocx failed,contact administrator personnel" with some error code,this happens with all the ocx file in the package. i investigated the registration property of the ocx files and it is set to "vsdrfCOMSelfReg".
Setup and deploy for my project worked fine for a while allowing you to install my program and uninstall the old version, but now it installs two entries. I don't get it, before I got it do do that it would give an error that it needed to be uninstalled first. Now like I said I get two entries in the programs uninstall window. RemovePreviousVersions = true. I change the version number and update the product code. Even tried changing the upgrade code. I just don't get why it doesn't work anymore, and its really annoying! Also, is there a way that the setup file can just be one .exe rather then a setup file and a data file?
I need to include an excel file in the installation project of an application. I've added it to the install project under application folder. I need to read that file into a dataset during runtime. The file needs to be included on install so that the customer can change the file as needed.
i need to register the control in client machine at installation time.i craeted a bat file which has the following code regsvr32 s mscomm32.ocx.how to include bat file in setup project. and how to make it to run first when installation starts
I am making a project on VB.NET, after the completion of project, is it possible to install it in anyone's computer?I mean to say, the project which I have made in VB.NET 2008, can be only run through Visual Studio,
i ve created a setup file for my project using vs2005....but it doesnot run on anothor target machine..it says that the machine requires windows installer and dot net framework to run my project how do i do this??
I created a setup project along with my main program everything compiles ok and I'm able to install a successfully. The problem I am experiencing is when I try to install over the previous version. I have set the setup property RemovePreviousVersion to TRUE , DetectNewerInstalledVersion to TRUE and I also increment the Version number and choose Yes when prompted to automatically change the ProductCode.
What I find is that when I install my program, the date on a subfolder changes, I don't expect the dates of the support files to change. but I do expect the date of my main .exe file to change. Unfortunately it stays the same. Running the program also shows that this file was not updated. I have read the MSDN articles on this but cannot figure it out.
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?
i am doing a VB.NET 2.0 Windows Application.I want to create an ini file in the location where we are installing the application. the code that i wrote is
Private Sub Installer1_AfterInstall(ByVal sender As Object, ByVal e As System.Configuration.Install.InstallEventArgs) Handles MyBase.AfterInstall Dim iniPath As String Dim Asm As System.Reflection.Assembly =