Create Setup for a project developed in V6

What is the best way create an install setup apps for a project developed in Windows Basic 6 assuring all DLL or any other files needed to tun properly the project is included.
rayluvsAsked:
Who is Participating?
 
rayluvsConnect With a Mentor Author Commented:
Ok found it:

- Go to Microsoft Visual Studio 6.0 Tools  >> Package & Deployment Wizard.
- Click  “Browse” button
- Then “Select Project”
- Click on Package Icon
- Select “Standard Setup Package” and hit “Next” button.
- Choose or create setup folder (we think?? - please advice us)
- List of dependencies could not be found
- Single Cab
- Installation Title
- Start Menu Group
- Install Locations
- Shared Files
- Script name (we don't know)
- Done

Please advice here what we are missing and anything else to considered.
0
 
Martin LissConnect With a Mentor Older than dirtCommented:
Take a look at this Microsoft Article. http://support.microsoft.com/kb/830761
0
 
Ryan ChongConnect With a Mentor Commented:
I used to use Inno Setup to create VB6 installation packages, which it's easy-to-use.

Inno Setup
http://www.jrsoftware.org/isinfo.php
0
Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

 
Chris WatsonConnect With a Mentor Software DeveloperCommented:
Advanced Installer is pretty good too.

http://www.advancedinstaller.com
0
 
rayluvsAuthor Commented:
Hi, we are not familiar with creating a deployment setup file for VB6, so bare with us.

The Microsoft Article doesn't say how to create the setup or we cannot see it.  We identified the Components & References part, but can't seem to see the final steps to actually create the setup.exe

  • Can you please provide the steps?

'Inno Setup' and Advanced Installer' doesn't seem say anything about VB6.

  • Can these be used for creating VB6 setups for our projects?
  • Can you guys provide the steps if it can be used for VB6?
0
 
Ryan ChongCommented:
Inno setup is working independently and not only compatible well with vb6 compiled executables.

I will try to provide some sample for you from my archive.
0
 
rayluvsAuthor Commented:
Thanx Ryan, didn't see your entry, but can you help us on the steps and advice us? (unless you consider 'Inno setup' superior of course we will follow your lead on it)
0
 
Ryan ChongConnect With a Mentor Commented:
Inno Setup using a configuration file with file extension .iss

a sample .iss file from my own archive is shown as follows:
; Script generated by the Inno Setup Script Wizard.
; SEE THE DOCUMENTATION FOR DETAILS ON CREATING INNO SETUP SCRIPT FILES!

[Setup]
AppName=Bla bla Questionnaire Generator - Administrator Console
AppVerName=Bla bla Questionnaire Generator - Administrator Console
AppPublisher=My Name (myemail@domain.com)
DefaultDirName={pf}\yourPath
DefaultGroupName=Bla bla Questionnaire Generator - Administrator Console
DisableProgramGroupPage=true
OutputDir=Output
OutputBaseFilename=whateveryourPath
AllowCancelDuringInstall=false
DisableFinishedPage=true
ShowLanguageDialog=yes
UsePreviousGroup=false
CreateUninstallRegKey=true
WizardImageFile=logo_bkg.bmp
WizardSmallImageFile=logo_small.bmp
WizardImageStretch=false
WizardImageBackColor=clWhite
;UninstallIconFile=Bla bla.ico
UninstallDisplayIcon=Bla bla.ico

[Tasks]
; NOTE: The following entry contains English phrases ("Create a desktop icon" and "Additional icons"). You are free to translate them into another language if required.
Name: desktopicon; Description: Create a &desktop icon; GroupDescription: Additional icons:
; NOTE: The following entry contains English phrases ("Create a Quick Launch icon" and "Additional icons"). You are free to translate them into another language if required.
Name: quicklaunchicon; Description: Create a &Quick Launch icon; GroupDescription: Additional icons:; Flags: unchecked

[Files]
Source: myExe.exe; DestDir: {app}; Flags: ignoreversion
Source: anotherExe_M.exe; DestDir: {app}; Flags: ignoreversion
Source: QNGenerator_OriLE.dat; DestDir: {app}; Flags: ignoreversion
Source: Setup\QNGenerator_LE.dat; DestDir: {app}; Flags: ignoreversion
Source: ResXpStylesTester.res; DestDir: {app}; Flags: ignoreversion
Source: Bla bla.ico; DestDir: {app}; Flags: ignoreversion
Source: Uninstall.ico; DestDir: {app}; Flags: ignoreversion
Source: logo_bkg.bmp; DestDir: {app}; Flags: ignoreversion
Source: logo_small.bmp; DestDir: {app}; Flags: ignoreversion
Source: QNGenerator.set; DestDir: {app}; Flags: ignoreversion
Source: noimg.gif; DestDir: {app}; Flags: ignoreversion
Source: MSVBVM60.DLL; DestDir: {sys}; Flags: regserver uninsneveruninstall noregerror
Source: MSDATGRD.OCX; DestDir: {sys}; Flags: regserver uninsneveruninstall noregerror
Source: mscomctl.ocx; DestDir: {sys}; Flags: regserver uninsneveruninstall noregerror
Source: MSCOMCT2.OCX; DestDir: {sys}; Flags: regserver uninsneveruninstall noregerror
Source: vbalIml6.ocx; DestDir: {sys}; Flags: regserver uninsneveruninstall noregerror
Source: vbalExpBar6.ocx; DestDir: {sys}; Flags: regserver uninsneveruninstall noregerror
Source: SSubTmr6.dll; DestDir: {sys}; Flags: regserver uninsneveruninstall noregerror
Source: cNewMenu6.dll; DestDir: {sys}; Flags: regserver uninsneveruninstall noregerror
Source: vbalMDITabs6.dll; DestDir: {sys}; Flags: regserver uninsneveruninstall noregerror
;Source: help.chm; DestDir: {app}; Flags: ignoreversion
Source: Setup\LE_tmp\*.*; DestDir: {app}\LE_tmp

[Icons]
Name: {group}\Bla bla Questionnaire Generator - Administrator Console; Filename: {app}\myExe.exe
;Name: {group}\User Manual; Filename: {app}\help.chm
Name: {group}\Uninstall; Filename: {app}\unins000.exe; IconFilename: {app}\Uninstall.ico
Name: {userdesktop}\Bla bla Questionnaire Generator - Administrator Console; Filename: {app}\myExe.exe; Tasks: desktopicon
Name: {userappdata}\Microsoft\Internet Explorer\Quick Launch\Bla bla Questionnaire Generator - Administrator Console; Filename: {app}\myExe.exe; Tasks: quicklaunchicon

[_ISTool]
Use7zip=false

[Run]
Filename: {app}\myExe.exe; Flags: shellexec skipifdoesntexist

[Registry]
Root: HKLM; Subkey: SOFTWARE\whatever\myExe; ValueType: string; ValueName: SettingFile; ValueData: QNGenerator.set; Flags: uninsdeletekey
Root: HKCU; Subkey: SOFTWARE\VB and VBA Program Settings\myExe\Settings; ValueType: string; ValueName: showExpBar; ValueData: 1; Flags: uninsdeletekey
Root: HKCU; Subkey: SOFTWARE\VB and VBA Program Settings\myExe\Settings; ValueType: string; ValueName: promptWhenExit; ValueData: 0; Flags: uninsdeletekey
Root: HKCU; Subkey: SOFTWARE\VB and VBA Program Settings\myExe\Settings; ValueType: string; ValueName: frmSearchQuestionList_chkClose; ValueData: 1; Flags: uninsdeletekey
Root: HKCU; Subkey: SOFTWARE\VB an VBA Program Settings\myExe; ValueType: string; ValueName: ; ValueData: ; Flags: uninsdeletekey

[UninstallDelete]
Name: {app}\LE_tmp\*.*; Type: filesandordirs
Name: {app}\LE_tmp; Type: filesandordirs

Open in new window

but for your info, this file was created 10 years ago! so you may refer back to the latest documentation in Inno Setup website.
http://www.jrsoftware.org/ishelp/

you can actually create the configuration file from the program wizard as well. as mentioned, it's easy to do so.
0
 
rayluvsAuthor Commented:
Yes, we assume it's reading up and modifying the script to our install.  

Though greatly appreciated in your Inno Setup help, at this point we see the VB install/deploy much easier (we don't have may projects to create setup to).  Based on our entry ID: 41868278, can you review if we are missing something?
0
 
rayluvsAuthor Commented:
We chose our entry as the best because we were able to use vb6 apps directly (in case a member would come upon similar situation as us)
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.