?
Solved

VB installer - can't change program name

Posted on 2004-09-20
2
Medium Priority
?
152 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 5

Accepted Solution

by:
brianb99999 earned 300 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 200 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

New feature and membership benefit!

New feature! Upgrade and increase expert visibility of your issues with Priority Questions.

Question has a verified solution.

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

Introduction While answering a recent question about filtering a custom class collection, I realized that this could be accomplished with very little code by using the ScriptControl (SC) library.  This article will introduce you to the SC library a…
I was working on a PowerPoint add-in the other day and a client asked me "can you implement a feature which processes a chart when it's pasted into a slide from another deck?". It got me wondering how to hook into built-in ribbon events in Office.
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
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…
Suggested Courses

770 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