Visual Basic Classic
--
Questions
--
Followers
Top Experts
i am having a few problems deploying a visual basic 6 application.
here the details:
1. i have a vb6 application containg 1 form 2 modules and 6 class modules
It contains references to the following libraries
-Visual basic for applications
-visual basic runtime objects and procedures
-visual basic objects and procedures
-OLE Automation
-Microsoft XML, v4.0
-Microsoft ActiveX Data Objects 2.7 Library
-Microsoft Scripting Runtime
-Microsoft Access 9.0 Object library
2. i have compiled this program into an exe.
3. I used visual studio tools - package and deployment wizard
4. i chose standard set up package
5. for the type of package i again chose standard set up package
6. i selected a folder on our network for the destination
7. the files that were included in the package were:
-COMCTL32.ocx
-COMDLG32.ocx
-MDAC_TYP.EXE
-MSACC9.OLB
-msvcrt.dll
-MSXML4.dll
-scrrun.dll
-SETUP.exe
-SETUP1.EXE
-ST6UNST.exe
-vb6 RunTime and OLE Automation
-VB6STKIT.dll
-XMLWrapper1.exe
8. from this i created a single CAB and named it
9. the wizard then notified me that MDAC_TYP.exe and XMLWrapper1.exe (my executable) could be installed as shared files - i did not choose to do this
THEN...
when i ran the setup package on the network from a PC that did not have visual studio installed - i immediately go the following message
"set up fatal error: unable to generate installation log file"
where am i going wrong?
thanks very much.
Zero AI Policy
We believe in human intelligence. Our moderation policy strictly prohibits the use of LLM content in our Q&A threads.
Anyway, I've had my own set woes with the package and deployement wizard. That's why i only use it to generate a list of files needed to make my software running on another computer. Â After that, I recreate the file in Inno Setup. Try using it. it's free. look for it here:
http://www.jrsoftware.org/
Perhaps this is not the quick answer you were looking for but i assure you, you'll never run into a deployment problem again.
could you talk me through how i should use it?
thanks
For example, at the top of the file will be some lines like the following:
[Bootstrap]
SetupTitle=Installing My Software Package
SetupText=Copying My Software Installation Files, please stand by . . .
CabFile=MyFile.CAB
Spawn=Setup1.exe
Uninstal=st6unst.exe
TmpDir=msftqws.pdw
Cabs=1
You can adjust the top two lines for custom messages that display while the software is installing.
Then there will be some bootstrap files listed. Â After those, you will find an area something like the following:
[IconGroups]
Group0=My Software ' Folder to be created in the programs menu
PrivateGroup0=0
Parent0=$(Programs)
[My Software]
Icon1=""My Software.exe"" ' File in which to find the icon for the program
Title1=My Software ' Shortcut in the program menu to start the program
StartIn1=$(AppPath) ' Default path
Icon2="$(WinPath)ST6UNST.E
Title2=UnInstall My Software ' title for the shortcut
StartIn2=
[Setup]
Title=My Software
DefaultDir=$(ProgramFiles)
AppExe=My Software.exe ' actual name of program
AppToUninstall=My Software.exe
Try looking at this file, and adjusting the settings for installation over the network. Â Make sure the paths listed are accessible, etc.






EARN REWARDS FOR ASKING, ANSWERING, AND MORE.
Earn free swag for participating on the platform.
>Have you looked at the setup.lst file in the network folder you selected?
is setup.1st part of inno setup or is this a file created when i have compiled a vb6 exe (and nothing to do with inno setup)?
thanks
In the network folder you selected, you should have a setup.lst file, the .CAB file, and the setup.exe file. Â There is also a directory called support, which can be used to re-create the .CAB file, without using the wizard again. Â This directory isn't needed for installation on another computer though.
You can create a self-extracting .zip file with these three items in it to make it easier for downloading.

Get a FREE t-shirt when you ask your first question.
We believe in human intelligence. Our moderation policy strictly prohibits the use of LLM content in our Q&A threads.
i followed the instructions and this was my script:
; Script generated by the Inno Setup Script Wizard.
; SEE THE DOCUMENTATION FOR DETAILS ON CREATING INNO SETUP SCRIPT FILES!
[Setup]
AppName=eParse
AppVerName=eParse_Version2
AppPublisher=Method One Consulting
AppPublisherURL=www.Method-One-Consulting.com
AppSupportURL=www.Method-One-Consulting.com
AppUpdatesURL=www.Method-One-Consulting.com
DefaultDirName={pf}\eParse
DefaultGroupName=eParse
[Tasks]
Name: "desktopicon"; Description: "Create a &desktop icon"; GroupDescription: "Additional icons:"
[Files]
Source: "C:\eparsepackage\eParseV2
Source: "C:\eparsepackage\Support\
Source: "C:\eparsepackage\Support\
Source: "C:\eparsepackage\Support\
Source: "C:\eparsepackage\Support\
Source: "C:\eparsepackage\Support\
Source: "C:\eparsepackage\Support\
; NOTE: Don't use "Flags: ignoreversion" on any shared system files
[Icons]
Name: "{group}\eParse"; Filename: "{app}\eParseV2.exe"
Name: "{userdesktop}\eParse"; Filename: "{app}\eParseV2.exe"; Tasks: desktopicon
[Run]
Filename: "{app}\eParseV2.exe"; Description: "Launch eParse"; Flags: nowait postinstall skipifsilent
i deployed this on my local machine
unfortunately i when i tried to run the program i got
"system error &Â H80009005 (-2147467259)"
this was my setup.lst from pdw
[Bootstrap Files]
File1=@VB6STKIT.DLL,$(WinS
File2=@COMCAT.DLL,$(WinSys
File3=@STDOLE2.TLB,$(WinSy
File4=@ASYCFILT.DLL,$(WinS
File5=@OLEPRO32.DLL,$(WinS
File6=@OLEAUT32.DLL,$(WinS
File7=@msvbvm60.dll,$(WinS
am i doing something wrong?
thanks






EARN REWARDS FOR ASKING, ANSWERING, AND MORE.
Earn free swag for participating on the platform.
almost there i think
but is there a way to convert the Inno_Script.iss into an  executable that i can just click on and it will install - starting at the
"This will install application1. do you wish to continue message box?"
rather than running the compiler and selecting the .iss and then pressing the run button. Â
thanks very much
isetup compiler is giving this error:
"unrecognized parameter name: "regserver;Copymode"
my script looks like this:
Source: "D:\AGMver2.2.70\Support\i
uninsneveruninstall regserver; CopyMode: alwaysskipifsameorolder;
Source: "D:\AGMver2.2.70\Support\V
uninsneveruninstall sharedfile; CopyMode: alwaysskipifsameorolder;
.
.
.
is there any problem in syntax??
pls reply asap..

Get a FREE t-shirt when you ask your first question.
We believe in human intelligence. Our moderation policy strictly prohibits the use of LLM content in our Q&A threads.
found the fix for the last question..
simply had to rearrange *copymode* so tht it comes after source.
compiler runs fine &Â makes a setup.
but,while i run the installation...i get following error:
*Unable to register DLL/OCX:DllRegisterServer export not found.
 Click Retry to try again, Ignore to proceed anyway (not recommended),or
 Abort to cancel the installation*
i hav abt 58 dlls/ocx/vb sys files in all. am getting this error for abt 9 dlls.
if i ignore n proceed, the application is up...
but gives *Runtime error '339' : Component 'crystl32.ocx' or one of its dependencies not
correctly registered: a file is necessary or invalid*
wot shud i do to register all my dlls without fail during the installation itself??
pls reply asap...
thnx
Source: "D:\AGMver2.2.70\Support\m
thnx for evthing...
learnt lotsa things from this thread.
wud u suggest what needs to be done to
deploy a vb6 app on win xp machine??
app is developed on win nt 4.0
regards,
ganga






EARN REWARDS FOR ASKING, ANSWERING, AND MORE.
Earn free swag for participating on the platform.
heres 200 points available for an INNO setup question - you helped me last time.
https://www.experts-exchange.com/questions/20732165/Inno-set-up-for-VB6.html
Visual Basic Classic
--
Questions
--
Followers
Top Experts
Visual Basic is Microsoft’s event-driven programming language and integrated development environment (IDE) for its Component Object Model (COM) programming model. It is relatively easy to learn and use because of its graphical development features and BASIC heritage. It has been replaced with VB.NET, and is very similar to VBA (Visual Basic for Applications), the programming language for the Microsoft Office product line.