Solved

VB installer - can't change program name

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

SharePoint Admin?

Enable Your Employees To Focus On The Core With Intuitive Onscreen Guidance That is With You At The Moment of Need.

Question has a verified solution.

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

Have you ever wanted to restrict the users input in a textbox to numbers, and while doing that make sure that they can't 'cheat' by pasting in non-numeric text? Of course you can do that with code you write yourself but it's tedious and error-prone …
Article by: Martin
Here are a few simple, working, games that you can use as-is or as the basis for your own games. Tic-Tac-Toe This is one of the simplest of all games.   The game allows for a choice of who goes first and keeps track of the number of wins for…
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…

717 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