[Last Call] Learn about multicloud storage options and how to improve your company's cloud strategy. Register Now

x
?
Solved

Create Setup for a project developed in V6

Posted on 2016-10-30
10
Medium Priority
?
54 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 49

Assisted Solution

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

Assisted Solution

by:Ryan Chong
Ryan Chong earned 668 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 5

Assisted Solution

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

http://www.advancedinstaller.com
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.

 

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 53

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 53

Assisted Solution

by:Ryan Chong
Ryan Chong earned 668 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

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

Describes a method of obtaining an object variable to an already running instance of Microsoft Access so that it can be controlled via automation.
The Windows Phone Theme Colours is a tight, powerful, and well balanced palette. This tiny Access application makes it a snap to select and pick a value. And it doubles as an intro to implementing WithEvents, one of Access' hidden gems.
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…
Have you created a query with information for a calendar? ... and then, abra-cadabra, the calendar is done?! I am going to show you how to make that happen. Visualize your data!  ... really see it To use the code to create a calendar from a q…
Suggested Courses

656 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