Solved

Create Setup for a project developed in V6

Posted on 2016-10-30
10
40 Views
Last Modified: 2016-11-08
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.
0
Comment
Question by:rayluvs
[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
10 Comments
 
LVL 47

Assisted Solution

by:Martin Liss
Martin Liss earned 167 total points
ID: 41866456
Take a look at this Microsoft Article. http://support.microsoft.com/kb/830761
0
 
LVL 52

Assisted Solution

by:Ryan Chong
Ryan Chong earned 167 total points
ID: 41866458
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
 
LVL 4

Assisted Solution

by:Chris Watson
Chris Watson earned 166 total points
ID: 41866671
Advanced Installer is pretty good too.

http://www.advancedinstaller.com
0
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

Author Comment

by:rayluvs
ID: 41868121
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
 
LVL 52

Expert Comment

by:Ryan Chong
ID: 41868127
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
 

Accepted Solution

by:
rayluvs earned 0 total points
ID: 41868131
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
 

Author Comment

by:rayluvs
ID: 41868135
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
 
LVL 52

Assisted Solution

by:Ryan Chong
Ryan Chong earned 167 total points
ID: 41868278
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
 

Author Comment

by:rayluvs
ID: 41868295
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
 

Author Closing Comment

by:rayluvs
ID: 41878478
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

Featured Post

PeopleSoft Has Never Been Easier

PeopleSoft Adoption Made Smooth & Simple!

On-The-Job Training Is made Intuitive & Easy With WalkMe's On-Screen Guidance Tool.  Claim Your Free WalkMe Account Now

Question has a verified solution.

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

This code takes an Excel list of URL’s and adds a header titled “URL List”. It then searches through all URL’s in column “A”, looking for duplicates. When a duplicate is found, it is moved to the top of the list. The duplicate URL’s are then highlig…
Describes a method of obtaining an object variable to an already running instance of Microsoft Access so that it can be controlled via automation.
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…

739 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