Click here to Skip to main content
16,005,316 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralPackage and Deployment in VB6.0 Pin
Gagan Deep Singla23-May-05 18:12
Gagan Deep Singla23-May-05 18:12 
GeneralRe: Package and Deployment in VB6.0 Pin
rwestgraham23-May-05 19:16
rwestgraham23-May-05 19:16 
GeneralRe: Package and Deployment in VB6.0 Pin
Gagan Deep Singla23-May-05 20:49
Gagan Deep Singla23-May-05 20:49 
GeneralRe: Package and Deployment in VB6.0 Pin
rwestgraham24-May-05 9:09
rwestgraham24-May-05 9:09 
GeneralRe: Package and Deployment in VB6.0 Pin
Gagan Deep Singla24-May-05 17:11
Gagan Deep Singla24-May-05 17:11 
GeneralRe: Package and Deployment in VB6.0 Pin
rwestgraham25-May-05 9:29
rwestgraham25-May-05 9:29 
GeneralRe: Package and Deployment in VB6.0 Pin
Gagan Deep Singla25-May-05 17:16
Gagan Deep Singla25-May-05 17:16 
GeneralRe: Package and Deployment in VB6.0 Pin
rwestgraham26-May-05 10:48
rwestgraham26-May-05 10:48 
OK, just to clarify things - this is not a problem with compiling the Setup1.exe, but rather a problem that occurs when trying to step through the Setup1.vbp in the IDE.

What happens when you actually run a setup is that the setup.exe bootstrapper does some preliminary system setup before it calls Setup1.exe, and it also passes in a command line. The setup.exe moves the .CAB file to the Windows directory, extracts the st6unst.exe and Setup.Lst files to the Windows directory, and creates a new uninstall log (st6unst.00n) file in the Windows directory. Then it creates a command line with the file locations as parameters.

In order to run Setup1 by itself in debug mode, you must first manually perform the same steps that the bootstrapper ordinarily does to prepare the setup to run.

1)Make sure the file st6unst.exe exists in the C:\WINNT folder. If it does not copy the file to the folder.

2)Copy the Setup.LST file for the package to C:\WINNT.

3)Copy the .CAB file for the package to C:\WINNT.

4)Create a text file with notepad, save it as C:\WINNT\st6unst.001, and add the following lines of text:

NOTE: Beginning of the bootstrapper section

CONFIG:
Title: [insert your application name here]

5)In the make tab of the Setup1.vbp project, add the required command line:

"C:\WINNT" "C:\WINNT\st6unst.001" "C:\WINNT\st6unst.exe"

The command line arguments MUST include the quotes, and each must be separated by exactly ONE blank space.

You can now run in the IDE.

HOWEVER, make sure you save all your work before trying to debug Setup1.vbp in the IDE. The Setup1 project makes some API calls that will crash the IDE and may completely lock up your machine. At best you will lose the VB6 IDE and at worst you will have to cold reboot yourt machine.

Robert
Generalhelp Pin
daneshmand23-May-05 18:09
daneshmand23-May-05 18:09 
GeneralRe: help Pin
toxcct23-May-05 20:47
toxcct23-May-05 20:47 
GeneralRe: help Pin
Blue_Boy24-May-05 3:02
Blue_Boy24-May-05 3:02 
Generalprinting my property settings Pin
gcody23-May-05 15:58
gcody23-May-05 15:58 
GeneralRe: printing my property settings Pin
Dave Kreskowiak24-May-05 4:01
mveDave Kreskowiak24-May-05 4:01 
Questionhow do i change my startup form???? Pin
Joey Picerno23-May-05 15:55
Joey Picerno23-May-05 15:55 
AnswerRe: how do i change my startup form???? Pin
Joey Picerno23-May-05 16:00
Joey Picerno23-May-05 16:00 
GeneralRe: how do i change my startup form???? Pin
Dave Kreskowiak24-May-05 3:58
mveDave Kreskowiak24-May-05 3:58 
GeneralRe: how do i change my startup form???? Pin
Blue_Boy24-May-05 4:22
Blue_Boy24-May-05 4:22 
GeneralRe: how do i change my startup form???? Pin
neohop24-May-05 5:54
neohop24-May-05 5:54 
GeneralPausing Code Pin
Reedmon2923-May-05 11:06
Reedmon2923-May-05 11:06 
GeneralRe: Pausing Code Pin
Christian Graus23-May-05 11:51
protectorChristian Graus23-May-05 11:51 
GeneralRe: Pausing Code Pin
Reedmon2923-May-05 16:09
Reedmon2923-May-05 16:09 
GeneralRe: Pausing Code Pin
rudy.net23-May-05 18:47
rudy.net23-May-05 18:47 
GeneralRe: Pausing Code Pin
Reedmon2924-May-05 3:16
Reedmon2924-May-05 3:16 
GeneralRe: Pausing Code Pin
rudy.net24-May-05 3:39
rudy.net24-May-05 3:39 
GeneralRe: Pausing Code Pin
Reedmon2924-May-05 3:51
Reedmon2924-May-05 3:51 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.