Solved

SETUP

Posted on 1998-06-19
13
280 Views
Last Modified: 2013-11-14
Maybe you can help me.
I'm trying to use the vb 4.0 setup kit but it needs a command line and don't know what is this command line can you help me. And how does this work?
first i use the setup wizard and then i replace the setup.exe?
Please i'm desperate.
0
Comment
Question by:rutexavier
[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
  • 5
  • 4
  • 2
  • +2
13 Comments
 
LVL 6

Expert Comment

by:clifABB
ID: 1463819
The setup project actually creates an executable it will call Setup1.exe.  Setup.exe which is written in C++ will call setup1 during the install procedure passing it information it needs to complete the procedure.
This information includes:
for 16-bit:
  The source directory
for 32-bit (separated only by spaces):
  The source directory
  The name/path of the logfile
  The name/path of the app removal executable

Basically, if you have modified Setup1, you need to have it create an executable called Setup1.exe.  Then use the Setup Wizard to put it all together.
0
 
LVL 9

Expert Comment

by:Dalin
ID: 1463820
You select "Application Setup Wizzard", and then select the project you want to make the setup, and then click next...
0
 

Author Comment

by:rutexavier
ID: 1463821
Ok, but i didn't understand your answer.
Suppose i have a vb project named xpto i create the xpto.exe
Now i use the setup wizard to create the distribution files and put them in c:\temp, but i want to ask the user for the serial number of the aplication. So what must i do?
open the setup1.vbp and add all i want and then what must be the command line to setup1.exe???????????????
And how can i put all together in the setup wizard??????????
0
DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

 
LVL 9

Expert Comment

by:Dalin
ID: 1463822
hope clif will be back soon.
I will check back in about a hour...
0
 

Author Comment

by:rutexavier
ID: 1463823
Dalin you didn't answer to my problem
0
 

Author Comment

by:rutexavier
ID: 1463824
I think you are in the way aswer to the rest and i'll give you Excelent
0
 
LVL 6

Expert Comment

by:clifABB
ID: 1463825
As you have figured out, you would edit setup1 and put the request for the serial number there, then recompile to Setup1.exe.

After you do that, run setup wizard and follow the instructions.  When setup wizard is done, you will have what you want.

I doubt if you want to hear this, but a better alternative might be to purchase a better install engine such as InstallShield Express.  It allows you to run an application (such as a serial number verifier) from within the install.
0
 

Author Comment

by:rutexavier
ID: 1463826
I already posted a new mail
0
 

Author Comment

by:rutexavier
ID: 1463827
clifAB i think you are in the right way!!!!
0
 
LVL 6

Expert Comment

by:clifABB
ID: 1463828
rutexavier:
Do you mean I should repost as an answer, or do you mean I'm leading you in the right direction?
0
 

Expert Comment

by:TpB
ID: 1463829
I hope this helps

Programmer's Guide
Chapter 30: Distributing Your Application.
pg 713.

All setup.exe does is call setup1.exe, and depending if 32 or 16 bit does a few simple basics.

You will find all of the needed information, including the command lines that the Setup.exe sends when running setup1.exe.

You will also find all of the information for editing you install files.

I am not sure if all version of VB came with this information, I have the enterprise edition. If you find the information missing, or can't find it let me know.
0
 
LVL 4

Accepted Solution

by:
zsi earned 100 total points
ID: 1463830
rutexavier,

Edit the setup1 project found in setupkit\setup1.

In frmSetup1.frm, in the form_load event, enter in your code to get the registration number.

Add your code after the line that refers to "ShowWelcomeForm".

This will display your registration dialog after the Welcome screen.  Of course, if you want to display your registration dialog at some other time, you just insert your code at the appropriate point.  

You'll find the code is well commented and even gives some suggestions for further improvements (e.g. options dialog).

If your registration fails, make sure that you call      "Goto ExitSetup".  This will clean up the installation program properly.

Hope this helps
zsi

0
 
LVL 6

Expert Comment

by:clifABB
ID: 1463831
zsi:
That's not entirely fair without a response from rutexavier on my last post.
0

Featured Post

Salesforce Has Never Been Easier

Improve and reinforce salesforce training & adoption using WalkMe's digital adoption platform. Start saving on costly employee training by creating fast intuitive Walk-Thrus for Salesforce. Claim your Free Account Now

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…
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…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
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…

730 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