Publishiing Of .net Application With Setup Procces?
Nov 5, 2010
how can i keep the sqlserver install automatically when i install my project with attached my own database to sqlserver 2008 express after publish my project. what is the code i can write to in the setup project under vb.net to keep this happened.
I am using VS 2008 VB and setup my application software in Win XP without any issue. But after installed in Win 7, it doesn't work well (it show one file not found, but I saw the file in the right folder). Could it be the incompatibility of VS 2008 and Win 7? If I upgrade to VS 2010, will the issue be fixed?
I'm a Visual Basic beginner. There are many things that I didn't know about Windows software development as I've been a Mac user for 20 years and just started developing Windows programs several days ago.
Anyway, using Visual Studio Installer (File > Add > New Project > Visual Studio Installer), I have two files inside the Release folder - setup.exe and Setup.msi. I've got some information about these files. So when you publish your software, what do you do with these two files? According to one web site, you can put them together into one with IExpress, which produces a file with an extension of CAB. Another web site suggests SFX Compiler. In the meantime, I downloaded a dozen applications at Download.com earlier. If I click on the download button, the final delivery extension is .exe on most of them. I know that you won't go anywhere by double-clicking on setup.exe from the Release folder without Setup.msi. Meanwhile, Setup.msi is a tand-alone application. But nobody uses this file alone to distribute their product.
Small question, Is there any way to find out who did start the procces?Because im needing a check for a procces, but if user1 and user2 are logged in, the app running on user1, and user2 running the procces that i want to find, it still sees it as running..nd i detect and kill thats forced? like end procces.?To explain, Im making an sort of "safe" env. for my lil bro and his friends, so they can have administrator rights for the games and such, but still cant do the things ive limited and logging the changes on the disk etc. so nothing "strange" is going on in there.
i want to exctract a icon from a procces and put it in a menu strip.i got this as procces code
For Each p As Process In Process.GetProcesses If Not p.MainWindowTitle = Nothing Then MenuStrip1.Items.Add(p.ProcessName.ToLower icon:= "code to exctract icon from the process)[code]....
I created a small application that uses various things such as .NET GDI Graphics, Text to Speech etc. I want to create a full fledged setup for my application so that the end user would install and start using the application.
I have a VB.NET 3.5 Win Form app that I want to put on a CD and distribute. I don't want the application to install since it is only going to be run a few times ever by a user. So is there a way to just run the application from a CD?
I have a vb.net application which dials another computer and send message to it with the help of cdrvlibnet.dll . I want to deploy this in another computer. I tried following steps.
1. Added a new project with type as deployment project
2. then build the project
3. took the setup.msi to another machine and installed it.
Here are my problems.
1. The icon which created in the desktop and start menu is not running the exe, but pointing to desktop only.
I have packaged a setup msi. When I run the application, it looks for the original setup msi package which causes a problem when it is no longer available on the local workstation. It also restores registry settings packaged with the setup files. How can I stop this dependency on the setup package from occurring?
I Created the setup for my vb.Net appliaction and installed it on the client systems. The application uses MS Access as the database. So i manually added the file to Setup project under its application directory.
I have developed a couple of windows applications in Visual Vasic Express 2008. To my horror, I have just discoved that the Setup Project is not available in the express edition.I have been searching to discover which DLLs I will need to include when using my 3rd party Deployment Application.
I know which ones I need for my 3rd Party Controls, but am stuck on which Microsoft DLLs will be needed the Microsoft Controls I have used, plus any other Common DLLs that are always needed.
I have tried searching Microsoft's site but without success.
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
I need to setup an application to scan a barcode from a packing slip and the associated fulfillment items on a windows CE 5.0 device and update the inventory on the server. I'm using VB.NET. However, what is the best way to interact with the database? Integration Services, ADO.NET, RDA... etc... it's a bit overwhelming trying to figure out what I should use to interact with the database. It's currently an Access database, but I imagine I'm probably going to need to migrate it to SQL Server or SQL Server Express.
I'd also need to print the packing slip to a network printer from the device. Is there any way to do this?
one general question about 32-bit application running in 64-bit environment Our application is developed in VB.Net depends on .NET Framework 2.0 Service Pack 1 Microsoft Visual C++ 2005 SP1 Redistributable Package All application components are compiled to 32-bit application, such that run in WoW64 of 64-bit Windows Server 2003 without any modification.
i 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
i don want to build a deploy project but just a normal VB.NET Project and that project is kind of extracting files so how can i include files (compress) to project executable app then when i click "Extract" it will extract.last time, I use CHILKATZIP and ZIPForge.NET but it only compress another exe howabout its own project.Thanx,Code Quest
When a user click the .msi, i want a folder called "Your Files", which comes with two small images by default, to be created in C:UsersYourNameDocuments. In short, MyDocuments.
What i did is put the following code in program.cs:
The problem is, this folder will be created every time the user runs the application which is not a good solution, also in this case there is no place to load the two images so it can be loaded while the folder is created. I want the folder to be created once preferably while installing the application, so even when i uninstall the folder "Your Files" and its sub files be deleted automatically along with the program files. I tried to do it via Setup Project, but i couldn't.
I'm creating setup application, and I try to insert a serila number to the costumer information. I foud this: %%-###-%%% it's mean the erial number will be 77-000-777. How to creat another seril number I don't even this %%-###-%%% how it converted.
I have set paths in my program to look for files in the "c:/Documents and Settings/User/ Local Settings/Application Data/".How do I add the "Documents and Settings/User/Local Settings/Application Data/" folder in the setup program? Everyone tells me to use the Local Settings path for my application data but I can't add this folder in the File System Editor. I have read many different help files concerning special folders but none of them explain how to add the local application data folder.
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 a project that I've published to a network drive with a setup file that works great but I cannot get it to create a Desktop shortcut. I don't have the option in the publish settings to allow this and I cannot find code that will work for me. Does anyone have any suggestions how to have the setup file automatically create a desktop shortcut? I'm using Visual Studio 2008.
When depolying a Windows Application with a CD How does one depoly Folders, with a large number pictures in them, along with the program that uses them!Further, when having the Control Panel utillities Uninstall the Program, how can you get it to remove the Folders containing the pictures along with the program that was installed with the pictures, assuming you can do so in the first place?Do not suggest using C or any other laguage please!