Add "Uninstall" In The Set-up Project On Publishing?

Oct 10, 2009

how to do the followings when creating the Set-up project for a program I created.The Page which appears when the "Setup" project is successfully finished, shows a menu bar in the "Solution Explorer". The "Custom Actions Editor" gives a list of (1) Install, (2) Commit, (3) Rollback & (4) Uninstall. I couldd do anything on this. Why these folders are there? How can I use this to create an "Uninstall" utility? What are they meant for? 1) How to include "Uninstall" part for aa program? (I want it appears in the Program menu on moving the Cursor on the Program. 2) How to create the "Uninstall" for a program?3) I couldn't make my program to appear in the list of Program Menu after installing (I'd to make a "Shortcut" of the program in the Program Menu), it didn't appear in the Desktop also - again I had to make a Shortcut on the Desktop also manually.The Tutorials didn't explain anything about this but only showed these options are available.

View 1 Replies


ADVERTISEMENT

2008 : Keep Project Settings Through Uninstall And Installs?

Apr 4, 2011

I use Project Setting in visual studio 2008 and everything works correctly and save my information when the application is closed. However the information it lost when the application is Uninstalled. The information is not available with my new install.how to keep Project Settings through uninstall and installs!

View 4 Replies

Publishing A VB.NET Project

Sep 5, 2006

When i use the 'Publish <ProjectName>' feature in VB .NET, a setup file is created. When u run the setup, u cannot specify where u want to install ure program. Is there any way to change that.

View 5 Replies

Can Uninstall Functionality Be Modified To Catch Other Instances Of Application / Also Uninstall Them?

Jun 23, 2011

Have a VB.net application that installs initially from CD and then when the user gets into the internet the application updates. In order to better support problems with this application is has been suggested in the past to uninstall it and do a fresh re-install. However, in investigation it was determined that the uninstall does not consider all installed objects and does not uninstall the CD install.Can the uninstall functionality be modified to catch the other instances of this application and also uninstall them?

View 11 Replies

Publishing A Project In VB2008?

Sep 5, 2011

This problem suddenly arose after several months of successful publishing.I am still able to build the project.

[Code]...

View 2 Replies

VS 2008 Publishing A Project

Dec 21, 2009

i went up to "Build > Build Project" then "Build > Publish Project." So I went to the director i published my project in, and I ran Setup.exe, I followed as prompt, and then when the Splash screen unloaded, the project stopped responding and closed. So I ran the debug on VB8 and it ran fine passed the splash screen. Then, I tried going to the debug folder, and run the project from there, it ran fine to. So I tried another solution. I copied, and pasted the .exe file in the debug folder to my desktop, along with the .dll files in the debug folder to, ran it, and it got an error instantly after running it.So the only way I could get it to run, is to leave the .exe in the Debug folder, and to run Debugging in VB8.Also, I really don't like the way VB8 publishes the files and you have to run the setup each time you want to run the program. Is there a way to just make it a normal .exe file, like the ones vb6 makes?

View 11 Replies

IDE :: Publishing A Vb2008express Edition Project

Jul 8, 2009

I have created a small project which also interacts with a mdb.It works great on the PC where it was created.However, when publishing it on my home network it asks for the first path. It lets me input the first path "where do u want to publish the project" successfully. When clicking next it brings up this form:

[Code]...

View 1 Replies

Not Getting Data Access After Publishing Project

Mar 21, 2011

I want to publish my vb.net project, but when I publish the project, there is no access to database. It is showing error : "System.Data.OleDb.OleDbException: Could not find file 'C:\Documents and Settings\Administrator\Local Settings\Apps\2.0\N3WEXXZN.DE6\JHJXMQC9.9N6\mara..tion_c355efc190f94c5f_0001.0000_d27846b1540f4a39\EventsTable1.mdb'."

I am giving connection string as

"Provider=Microsoft.JET.OLEDB.4.0;Data Source=" & My.Application.Info.DirectoryPath & "\EventsTable1.mdb"
OR
"Provider=Microsoft.JET.OLEDB.4.0;Data Source=|DataDirectory|\EventsTable1.mdb"

Why this error is occuring? Is there any other way to provide database path?

View 7 Replies

VS 2008 Publishing A Project With ClickOnce?

Aug 30, 2010

I have a project and I'm publishing it with ClickOnce. As it publishes, it asks: "Version 1.00.xxx (etc) already exists on the server, do you want to overwrite it?" -- well, I click yes, and then I run the setup file and install it (I publish to my desktop), and guess what -- it's the old version of the project.For some reason, unless the version that is published is greater than the prior version, even if I tell it to overwrite that version, it is not published properly!

This has caused me some headaches, as I test my program on another VM, find errors, fix them in code, republish, and find the same bugs in my program as I test it again because it didn't publish the latest or newest version of my program, I even tried the simplest thing, I changed the text on my main form window that opens to something different from previous, and no matter how many times I publish, and click overwrite the old version, the old version remains!

View 2 Replies

Fix An 'AppType Is Not Valid' Error When Publishing A Project?

Dec 7, 2009

I'm trying to publish a project I created to a network server using the Publish Wizard in VB 2008. The project publishes to the specified path but I try to install the application I keep getting this error..

View 2 Replies

Publishing A Project - Can't Find The Installation Directory

Mar 18, 2009

I am trying to publish a project. Via the publish wizard I have published the project. So I have:Project.applicationSetup.exeand a directory application files in which:Project.applicationProject.exe.deployProject.exe.manifest. When I start the setup it does it's thing (only one question: do you want to install ...etc) and 2 seconds later its done.

Problem:
1. I can't find the installation directory... (I can find the app in the 'add/remove programs' but not anywhere in program files or ..)

2. there are a few xml and mdb files I want to include in de project (or else the project does not work).

But because of (1) I don't know where to do so. Or beter yet, I would like to include these files in the installer.3. Why doesn't the installer ask me where I want to install?

View 5 Replies

Publishing A Project With Sql Server Database Access?

Dec 20, 2011

i am trying to publish a vb.net project that has is connected to a database. the project can be published and installed and runs fine without the data base part. i get following error message: System.Data.SqlClient.SqlException (0x80131904): A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: SQL Network Interfaces, error: 26 - Error Locating Server/Instance Specified)

i assume that it simply cant find the database. where do i need to adjust the database file settings to make this work.

View 3 Replies

Publishing Project In Visual Studio 9. With Database?

Apr 22, 2011

I am using an Access Database with my project. When I publish, all the Forms seem to Publish. Also the database gets published. However, once I install it, there seems to be no connection with the Database.The Forms give me the Oledb error as Im using Access. However, the login form seems to connect with the database. In other words, my applications gets authenticated, but when I try to open other forms, there seem to be an error with DB connection

[Code]...

View 1 Replies

VS 2008 Publishing - Make Just One Exe File In Vb9 - Install The Program After Publishing?

May 22, 2009

About publishing my program. there's a lot of files made after publishing unlike in vb6 when i converted it to exe file theres only one file. hmm how can i make just one exe file in vb9 is it possible? another question do i have to install the program after publishing?

View 5 Replies

Uninstall One Application From Another?

Jul 28, 2009

I am looking for a way to uninstall one Vb application from another.It just needs to run the uninstall you would find in add and remove programs.

View 8 Replies

Uninstall Program Using .NET?

Jan 25, 2012

I'm looking for any references on the best way to perform an unattended uninstall of a product using VB.NET. The product was installed using Windows Installer and the product name is Dell Kace Agent. I would like to perform the uninstall within the VB.NET code.Here's a VBScript that uninstalls a product using WMIC. This could be converted to VB.NET fairly easily, but is there a better way to perform a uninstall within VB.NET code than querying WMIC? I would rather not use WMIC to perform the uninstall maybe get the uninstall string from the registry?

strComputer = "."
Set objWMIService = GetObject("winmgmts:" _
& "{impersonationLevel=impersonate}!\" _

[code].....

View 3 Replies

Add Program To Add / Uninstall List?

Dec 14, 2010

How can i add a program to the add/uninstall program list? using vb.net

View 2 Replies

Adding An Uninstall Shortcut?

Jan 18, 2010

How do I add an unistall shortcut. I am using deployment and setup>setup project to deploy.

View 3 Replies

Automating Uninstall Using The Uninstallstring In Reg?

Dec 8, 2009

Since installing Windows 7 on one of my test machines my automated uninstaller can not find the uninstall string. My script works on XP just fine. I noticed that the uninstall information is in a different location for Windows 7. it is in Wow6432NodeMicrosoft... is there a constant I can use that will allow my script find the correct uninstall location on both Windows 7 and Windows XP?

View 2 Replies

IDE :: Cannot Uninstall VS9 (goes Into Debug Mode)?

Mar 9, 2009

My trial version of VS9 professional just expired and wanted to uninstall it, however upon loading, it goes into debug mode and displays the message;an unhandled win32 exception occurred in setup.exe [3816]If I do go into debug mode, then it loads VS but since my version is already expired, I can't do anything but close it...I can't repair it since I dont have the original installation files (its VS9 professional ENU, and microsoft doesnt have it up for downloads anymore.. but here is a SS of the other programes installed which are related to VS9.[URL]..

View 1 Replies

Installation .NET 2008 Without Uninstall VB6?

Nov 18, 2008

I have VB6 and i want to install VB.NET 2008 without uninstall VB6. Is possilbe? Can i works correctly both?

View 1 Replies

Uninstall A Product With Win32_product?

Oct 26, 2010

How do i uninstall a product with win32_product?

View 1 Replies

Uninstall A Program Remotely Using .net?

May 1, 2009

I've taken MS 4994A (Intro to VB.net), and am studying for 4995A (Advanced Intro to VB.net)Previous experience with VB6 and C++ tells me that the way to do it would be to create a program that will accept a list of computer names and check the registry one-by-one (I'm open to suggestions, though, of course). If it finds the program we're wanting to remove, it will remove it, then automagically install .net 2.0 and the .net version of the programs that were just removed.

View 1 Replies

Uninstall A Window Service?

Jul 27, 2009

I have a project that creates and installs a window service. I want to uninstall it because it is running both on my PC and on another. I want to leave it on the other. So when I open VS with the project, I right-click on the servicesetup and choose uninstall and it says "This action is only valid for products that are currently installed." It is listed in control panel Services, so isn't it installed?

View 5 Replies

Uninstall An Application In VB 2005?

Oct 26, 2009

I am looking for a way to uninstall an application installed using the MSI Installer.I believe there should be a way out to directly call the Uninstall module specifically for a particular application using VB.Net.How can I achieve this using VB.Net? I am using VB.Net 2005.

View 1 Replies

Uninstall Program From Add/remove

Jun 12, 2011

If there is any way to uninstall program or uninstall program from add/remove using vb.net codes?

View 4 Replies

Vurtualstore, Databases And Uninstall?

Oct 6, 2011

I have an application that contains an MDB. This application has a feature that will allow the user to update the database to a newer version that is on a thumb drive.The database ispart of the application and is not user-updatable, so it seems as though it should live in the Program Files directory with all the other data files (xml, etc.)However, somehow it found its way into the Virtualstore.Now when I go through my process to update the database via the application when I try to run the application is is re-routed to the old mdb in the virtualstore.

But much worse than that, I found out that the virtualstore for the application survives a reinstall Now to my mind this is a huge bug because one would expect when one uninstalls and re-install an application that would have created a "clean slate" and everything would work correctly. But here I have an instance where the user thinks she has installed a fresh copy of the application but in fact is getting corrupted by old junk in the virtual store from a previous install.

View 1 Replies

.net : Uninstall Older Version On New Install?

Jul 12, 2011

how can i uninstall previous version of my windows applcation which is with different name and location? on installing new versions?

View 3 Replies

How To Uninstall Older Version On New Install

Jan 28, 2009

how can i unistall previous version of my windows applcation which is with different name and location? on installing new versions?

View 36 Replies

Reading From Registry's Uninstall Section?

Apr 5, 2007

I'm trying to read keys in the HKLM Uninstall section in my attempt to do a software inventory. I tried the WMI, it works but it doesn't show everything. I decided to just read each of the sub keys in the Uninstall section, but it doesn't show everything.

The code works, but it's just not showing some items.

Dim UninstallKey, SubKey As RegistryKey
Dim SubUninstallKeyNames() As String
UninstallKey = RegistryKey.OpenRemoteBaseKey(RegistryHive.LocalMachine, "\" &

[Code]....

View 4 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved