473,386 Members | 2,078 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

Creating an INSTALLER

Hi. I'm new in this forum. I have some questions in mind that I can't answer with my own, can anybody help me. Thanks in advance. Here are my problems:

1. It is possible to create an INSTALLER in VB using Package and Deployment Wizard, which will allow us to "install" our application to the PROGRAM FILES. Now what if I want to UNINSTALL that application without doing it in the ADD/REMOVE PROGRAMS under CONTROL PANEL, what will I do? Is it possible to create UNINSTALL Wizard in VB just like the INSTALL Wizard using Package and Deployment?

2. I am creating an application which should have an expiration date after it has been installed, can you give an idea how to do it?

Again, thank you.
Dec 30 '06 #1
3 2242
sashi
1,754 Expert 1GB
Hi. I'm new in this forum. I have some questions in mind that I can't answer with my own, can anybody help me. Thanks in advance. Here are my problems:

1. It is possible to create an INSTALLER in VB using Package and Deployment Wizard, which will allow us to "install" our application to the PROGRAM FILES. Now what if I want to UNINSTALL that application without doing it in the ADD/REMOVE PROGRAMS under CONTROL PANEL, what will I do? Is it possible to create UNINSTALL Wizard in VB just like the INSTALL Wizard using Package and Deployment?

2. I am creating an application which should have an expiration date after it has been installed, can you give an idea how to do it?

Again, thank you.
Hi there,

Yes, it possible. All you have to do is record down the file locations during installation process. Might have to do a little modification to existing VB installer. To have the UNINSTALL feature you need to create an exe that fwill remove files physically from hard disk based on the earlier recorded log.

VB installer creates few registry entries, this entries must be recorded as well, it's useful during UNINSTALL process.

Hope this gives you an idea. Good luck & Take care.
Dec 30 '06 #2
The VB install program creates a log file called ST6UNST.LOG in the install directory. This is basically a complete log of everything that the install program did.
You can use that information to programatically reverse everything, but it is a lot of work that seems somewhat rudundant.

J.A. Coutts
Dec 31 '06 #3
Hello guys,

Sorry but I can't still get why do you mean... Can anyone give a sample source codes or a simple applications that can INSTALL and can UNINSTALL....

Thanks a lot for the help.
Jan 2 '07 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

1
by: T | last post by:
I have a web site i want to deploy using a VS.NEt set up project. I have no problems with that, that is fine and works no problem. But the web application uses a custom event log to log...
0
by: Angelos Karantzalis | last post by:
Hi y'all, only recently, I've delved into creating installers with VS.NET. So far, I'd created a Deployment Solution, added a couple of Merge Modules to it & everything worked fine. Today, I...
1
by: santhosh_176 | last post by:
:I Created a Pocket PC application for iPAQ 5450. Every thing went fine even installer creation. I could run the setup and install it into the actual device and worked fine. The application enables...
4
by: Bob | last post by:
Could anyone suggest me some examples/articles on creating a setup program in VS.NET that can install the assembly into the GAC? I have done some search and research myself and have some basic...
1
by: Razi | last post by:
Hi all, Recently I finished a project where I used LogonUser and ImpersonateLoggedOnUser APIs to give the process an Administrator priviliges to let it read Physical Memory regardless the user...
7
by: DanielJohnson | last post by:
I have a small project which has around 10 .py files and I run this project using command line arguments. I have to distribute this project to somebody. I was wondering how can I make an...
0
by: Nick | last post by:
I have multiple projects in a solution in VS 2003. I am using VB.net, and I have an installer file that build and installs an application with executable output. I also have a project and...
1
by: Israel | last post by:
I found it surprisingly unintuitive and difficult to get the installation code to work properly and I found very little help on the google groups so I figured I’d post the things that burned me so...
1
by: twdo | last post by:
OK. I am totally frustrated here. I have a setup project within Visual Studio. That setup project is calling a class library project by the use of Custom Actions. Within that class library (my...
1
by: nelsonbrodyk | last post by:
Hey All, I have an application that I have been using clickonce for up to this point. The issue is that clickonce is limiting the use for this application in areas. One of the areas has to do with...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.