?
Solved

SETUP

Posted on 1998-06-19
13
Medium Priority
?
285 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
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

 
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 300 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

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

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

The debugging module of the VB 6 IDE can be accessed by way of the Debug menu item. That menu item can normally be found in the IDE's main menu line as shown in this picture.   There is also a companion Debug Toolbar that looks like the followin…
You can of course define an array to hold data that is of a particular type like an array of Strings to hold customer names or an array of Doubles to hold customer sales, but what do you do if you want to coordinate that data? This article describes…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
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…
Suggested Courses

800 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