Solved

VB installer - can't change program name

Posted on 2004-09-20
2
146 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

Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

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…
Enums (shorthand for ‘enumerations’) are not often used by programmers but they can be quite valuable when they are.  What are they? An Enum is just a type of variable like a string or an Integer, but in this case one that you create that contains…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
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…

815 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

11 Experts available now in Live!

Get 1:1 Help Now