Solved

VB installer - can't change program name

Posted on 2004-09-20
2
144 Views
Last Modified: 2010-05-02
Hello,
I have a project named Captivate.
I am trying to make CaptivateDemo, it only has slight differences.

I can change the name of the project, but I can't make captivatedemo.exe.
My only option is captivate.exe.

Also when I try to make a package using the vb package and deployment wizard , it keeps giving me all sorts of file missing warnings.

I would like the "new" program to install everything the exact same way, but append
"Demo" to the executable, and "Demo" to the folder name.

How do I make the same program setup with the only changes being the name of the executable, and the folder where it gets installed to?
0
Comment
Question by:jackjohnson44
2 Comments
 
LVL 5

Accepted Solution

by:
brianb99999 earned 75 total points
ID: 12107295
I would like the "new" program to install everything the exact same way, but append
"Demo" to the executable, and "Demo" to the folder name.

Start VB and load your project.
In the project explorer click on the project name (probably Captivate in your case).
In the properties change the name to CaptivateDemo
Save
Select Make (Project Name) from the File Menu.
In the dialog box that is displayed, type in CaptivateDemo.exe
Close Visual Basic.

Start up the Package and Deployment wizard from the start/programs/visual studio/tools/package and deployment
Click on browse and select the project (not the exe).
Click on package and go through all the normal steps - the PDW will pick up captivatedemo.exe and will install to captivatedemo directory.

All that being said I would strongly recommend against using the package and deployment wizard it is very buggy.
I would use INNO (its free), there are FAQ on how to use INNO with VB on their site:
www.jrsoftware.org/isinfo.php

Brian.
0
 
LVL 14

Assisted Solution

by:Matti
Matti earned 50 total points
ID: 12110432
Hi!
Edit setup.lst-file like this:

[Bootstrap]
SetupTitle=CaptivateDemo


[IconGroups]
Group0=CaptivateDemo

[Captivate]
Icon1="Captivate.exe"
Title1=CaptivateDemo

[Setup]
Title=CaptivateDemo
DefaultDir=$(ProgramFiles)\CaptivateDemo

Matti
0

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

There are many ways to remove duplicate entries in an SQL or Access database. Most make you temporarily insert an ID field, make a temp table and copy data back and forth, and/or are slow. Here is an easy way in VB6 using ADO to remove duplicate row…
If you have ever used Microsoft Word then you know that it has a good spell checker and it may have occurred to you that the ability to check spelling might be a nice piece of functionality to add to certain applications of yours. Well the code that…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

744 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now