Click to See Complete Forum and Search --> : Installation program
omoba123
Sep 8th, 2007, 08:14 PM
--------------------------------------------------------------------------------
Please help I am lost.
Firstly, I try to run an exe file which addresses an Access file on my computer and it works fine I transferred to another computer i get a 429 Activex error.
I then created an installation program with P&D Wizard and when I try to install it on my computer and the other one I get a MISMATCH ERROR --without a code number.
Maybe this means something the Access file is created with Access 97 but computer that it is about to be ran on it loaded with 2003.
Maybe another installer might work --I dont know. Is there any other installer that is easier to use? I mean just add my exe and access file and the installer automatically chooses all needed dll and ocx.
Pleas help me. Thanks
randem
Sep 9th, 2007, 12:52 AM
Please read this Installation Problems (http://www.***********/installerproblems.html) It should shed some light on your CURRENT problem...
Hack
Sep 9th, 2007, 02:16 AM
Moved to Application Deployment
omoba123
Sep 9th, 2007, 09:48 PM
I have tried inno setup compiler but no luck same 429 error.
This is the compiled result
; Script generated by the Inno Setup Script Wizard.
; SEE THE DOCUMENTATION FOR DETAILS ON CREATING INNO SETUP SCRIPT FILES!
[Setup]
AppName=My Program
AppVerName=My Program 1.5
AppPublisher=My Company, Inc.
AppPublisherURL=http://www.example.com/
AppSupportURL=http://www.example.com/
AppUpdatesURL=http://www.example.com/
DefaultDirName={pf}\My Program
DefaultGroupName=My Program
OutputDir=C:\Documents and Settings\LATITUDE\Desktop\BISMI
OutputBaseFilename=setup
Compression=lzma
SolidCompression=yes
[Languages]
Name: "english"; MessagesFile: "compiler:Default.isl"
[Tasks]
Name: "desktopicon"; Description: "{cm:CreateDesktopIcon}"; GroupDescription: "{cm:AdditionalIcons}"; Flags: unchecked
[Files]
Source: "C:\Documents and Settings\LATITUDE\Desktop\MANT\MANT\EZ Storekeeper\MAPIC 1.exe"; DestDir: "{app}"; Flags: ignoreversion
Source: "C:\Documents and Settings\LATITUDE\Desktop\DLL\asycfilt.dll"; DestDir: "{app}"; Flags: ignoreversion
Source: "C:\Documents and Settings\LATITUDE\Desktop\DLL\CO2C40EN.DLL"; DestDir: "{app}"; Flags: ignoreversion
Source: "C:\Documents and Settings\LATITUDE\Desktop\DLL\COMCAT.DLL"; DestDir: "{app}"; Flags: ignoreversion
Source: "C:\Documents and Settings\LATITUDE\Desktop\DLL\DAO350.DLL"; DestDir: "{app}"; Flags: ignoreversion
Source: "C:\Documents and Settings\LATITUDE\Desktop\DLL\db2.mdb"; DestDir: "{app}"; Flags: ignoreversion
Source: "C:\Documents and Settings\LATITUDE\Desktop\DLL\expsrv.dll"; DestDir: "{app}"; Flags: ignoreversion
Source: "C:\Documents and Settings\LATITUDE\Desktop\DLL\MAPIC.BAT"; DestDir: "{app}"; Flags: ignoreversion
Source: "C:\Documents and Settings\LATITUDE\Desktop\DLL\MAPIC.DDF"; DestDir: "{app}"; Flags: ignoreversion
Source: "C:\Documents and Settings\LATITUDE\Desktop\DLL\MFC40.DLL"; DestDir: "{app}"; Flags: ignoreversion
Source: "C:\Documents and Settings\LATITUDE\Desktop\DLL\msado20.tlb"; DestDir: "{app}"; Flags: ignoreversion
Source: "C:\Documents and Settings\LATITUDE\Desktop\DLL\MSBIND.DLL"; DestDir: "{app}"; Flags: ignoreversion
Source: "C:\Documents and Settings\LATITUDE\Desktop\DLL\MSCOMCT2.SRG"; DestDir: "{app}"; Flags: ignoreversion
Source: "C:\Documents and Settings\LATITUDE\Desktop\DLL\mscomctl.oca"; DestDir: "{app}"; Flags: ignoreversion
Source: "C:\Documents and Settings\LATITUDE\Desktop\DLL\MSCOMCTL.DEP"; DestDir: "{app}"; Flags: ignoreversion
Source: "C:\Documents and Settings\LATITUDE\Desktop\DLL\MSCOMCTL.OCX"; DestDir: "{app}"; Flags: ignoreversion
Source: "C:\Documents and Settings\LATITUDE\Desktop\DLL\MSCOMCTL.SRG"; DestDir: "{app}"; Flags: ignoreversion
Source: "C:\Documents and Settings\LATITUDE\Desktop\DLL\MSCREATE.DIR"; DestDir: "{app}"; Flags: ignoreversion
Source: "C:\Documents and Settings\LATITUDE\Desktop\DLL\MSDBRPTR.DLL"; DestDir: "{app}"; Flags: ignoreversion
Source: "C:\Documents and Settings\LATITUDE\Desktop\DLL\MSDERUN.DLL"; DestDir: "{app}"; Flags: ignoreversion
Source: "C:\Documents and Settings\LATITUDE\Desktop\DLL\MSEXCL35.DLL"; DestDir: "{app}"; Flags: ignoreversion
Source: "C:\Documents and Settings\LATITUDE\Desktop\DLL\MSJET35.DLL"; DestDir: "{app}"; Flags: ignoreversion
Source: "C:\Documents and Settings\LATITUDE\Desktop\DLL\MSJINT35.DLL"; DestDir: "{app}"; Flags: ignoreversion
Source: "C:\Documents and Settings\LATITUDE\Desktop\DLL\MSJTER35.DLL"; DestDir: "{app}"; Flags: ignoreversion
Source: "C:\Documents and Settings\LATITUDE\Desktop\DLL\MSRD2X35.DLL"; DestDir: "{app}"; Flags: ignoreversion
Source: "C:\Documents and Settings\LATITUDE\Desktop\DLL\MSRDO20.DLL"; DestDir: "{app}"; Flags: ignoreversion
Source: "C:\Documents and Settings\LATITUDE\Desktop\DLL\MSREPL35.DLL"; DestDir: "{app}"; Flags: ignoreversion
Source: "C:\Documents and Settings\LATITUDE\Desktop\DLL\MSSTDFMT.DLL"; DestDir: "{app}"; Flags: ignoreversion
Source: "C:\Documents and Settings\LATITUDE\Desktop\DLL\MSTEXT35.DLL"; DestDir: "{app}"; Flags: ignoreversion
Source: "C:\Documents and Settings\LATITUDE\Desktop\DLL\msvbvm60.dll"; DestDir: "{app}"; Flags: ignoreversion
Source: "C:\Documents and Settings\LATITUDE\Desktop\DLL\MSVCRT20.DLL"; DestDir: "{app}"; Flags: ignoreversion
Source: "C:\Documents and Settings\LATITUDE\Desktop\DLL\MSVCRT40.DLL"; DestDir: "{app}"; Flags: ignoreversion
Source: "C:\Documents and Settings\LATITUDE\Desktop\DLL\MSXBSE35.DLL"; DestDir: "{app}"; Flags: ignoreversion
Source: "C:\Documents and Settings\LATITUDE\Desktop\DLL\oleaut32.dll"; DestDir: "{app}"; Flags: ignoreversion
Source: "C:\Documents and Settings\LATITUDE\Desktop\DLL\olepro32.dll"; DestDir: "{app}"; Flags: ignoreversion
Source: "C:\Documents and Settings\LATITUDE\Desktop\DLL\RDOCURS.DLL"; DestDir: "{app}"; Flags: ignoreversion
Source: "C:\Documents and Settings\LATITUDE\Desktop\DLL\RICHED32.DLL"; DestDir: "{app}"; Flags: ignoreversion
Source: "C:\Documents and Settings\LATITUDE\Desktop\DLL\Setup.Lst"; DestDir: "{app}"; Flags: ignoreversion
Source: "C:\Documents and Settings\LATITUDE\Desktop\DLL\stdole2.tlb"; DestDir: "{app}"; Flags: ignoreversion
Source: "C:\Documents and Settings\LATITUDE\Desktop\DLL\tabctl32.oca"; DestDir: "{app}"; Flags: ignoreversion
Source: "C:\Documents and Settings\LATITUDE\Desktop\DLL\TABCTL32.DEP"; DestDir: "{app}"; Flags: ignoreversion
Source: "C:\Documents and Settings\LATITUDE\Desktop\DLL\TABCTL32.OCX"; DestDir: "{app}"; Flags: ignoreversion
Source: "C:\Documents and Settings\LATITUDE\Desktop\DLL\VB5DB.DLL"; DestDir: "{app}"; Flags: ignoreversion
Source: "C:\Documents and Settings\LATITUDE\Desktop\DLL\VB6STKIT.DLL"; DestDir: "{app}"; Flags: ignoreversion
Source: "C:\Documents and Settings\LATITUDE\Desktop\DLL\vbajet32.dll"; DestDir: "{app}"; Flags: ignoreversion
Source: "C:\Documents and Settings\LATITUDE\Desktop\microsoft visual basic 6 0 professional\MDAC2\mdac_typ.exe"; DestDir: "{app}"; Flags: ignoreversion
; NOTE: Don't use "Flags: ignoreversion" on any shared system files
[Icons]
Name: "{group}\My Program"; Filename: "{app}\MAPIC 1.exe"
Name: "{commondesktop}\My Program"; Filename: "{app}\MAPIC 1.exe"; Tasks: desktopicon
[Run]
Filename: "{app}\MAPIC 1.exe"; Description: "{cm:LaunchProgram,My Program}"; Flags: nowait postinstall skipifsilent
Maybe someone can tell me what is going on. Please
randem
Sep 10th, 2007, 12:27 AM
Did you read the document I gave you the link to???? You should not be deploying half those files and you must be missing some others.
randem
Sep 10th, 2007, 12:28 AM
Post your project...
omoba123
Sep 10th, 2007, 06:52 AM
I have attached a folder containing the VB program and also the two different exe files i created. Also included is the Access file
randem
Sep 11th, 2007, 02:16 AM
Here take a look at this
; ********** Version 7.2 Build 1
; Randem Systems, Inc.
; Copyright 2003-2007
; Website: http://www.***********
; Support: http://www.**********.com/cgi-bin/discus/discus.cgi
; OS: Windows XP 5.1 build 2600 (Service Pack 2)
; Date: September 10, 2007
; VB Runtime Files Folder: C:\Program Files\Randem Systems\**********\********** 7.0\VB 6 Redist Files\
; Visual Basic Project File (.vbp): E:\Works\omoba123\Mapic\MAPIC.vbp
; Inno Setup Script Output File (.iss): E:\Works\omoba123\Mapic\Scripts\Mapic Release.iss
; Script Template Files (.tpl): C:\Program Files\Randem Systems\**********\********** 7.0\Templates\Release.tpl
; : C:\Program Files\Randem Systems\**********\********** 7.0\Templates\VBRuntime.tpl
; : C:\Program Files\Randem Systems\**********\********** 7.0\Templates\Vista.tpl
; : E:\Server Data\Randem\Develop\**********\Templates\Release.tpl
; ------------------------
; References
; ------------------------
; Visual Basic runtime objects and procedures - (MSVBVM60.DLL)
; OLE Automation - (STDOLE2.TLB)
; Microsoft DAO 3.51 Object Library - (DAO350.DLL)
; Microsoft Data Formatting Object Library - (MSSTDFMT.DLL)
; Microsoft Data Report Designer v6.0 - (MSDBRPTR.DLL)
; Microsoft Data Environment Instance 1.0 - (MSDERUN.DLL)
; Microsoft ActiveX Data Objects 2.0 Library - (msado20.tlb)
; Microsoft Data Binding Collection - (MSBIND.DLL)
; Microsoft ActiveX Data Objects 2.8 Library - (MSADO15.DLL)
; --------------------------
; Components
; --------------------------
; Microsoft Tabbed Dialog Control 6.0 (SP6) - (tabctl32.ocx)
[Setup]
AppId=MAPIC Release
;-----------------------------------------------------------------------------------------------------
; Taken from VBP Project File Parameters AppName, AppName AppVersion and Company
;-----------------------------------------------------------------------------------------------------
AppName=MAPIC
AppVerName=MAPIC 0.2.0
AppPublisher=Rahul, Parineeta and Shalini
;-----------------------------------------------------------------------------------------------------
AppVersion=0.2.0
VersionInfoVersion=0.2.0
AllowNoIcons=no
DefaultGroupName=MAPIC
DefaultDirName={code:GetAppFolder}\MAPIC
AppCopyright=
PrivilegesRequired=Admin
MinVersion=4.0,4.0sp6
Compression=lzma
OutputBaseFilename=MAPIC 1020Release
[Tasks]
Name: desktopicon; Description: {cm:CreateDesktopIcon}; GroupDescription: {cm:AdditionalIcons}
Name: AutoOSUpdater; Description: Install MDAC's for Database Operations; GroupDescription: Install MDAC's:
[Files]
Source: c:\program files\common files\microsoft shared\dao\dao350.dll; DestDir: {cf}\microsoft shared\dao\; Flags: restartreplace sharedfile;
Source: e:\server data\randem\develop\deployable system files\mscomctl.ocx; DestDir: {sys}; Flags: regserver restartreplace sharedfile;
Source: e:\server data\randem\develop\deployable system files\tabctl32.ocx; DestDir: {sys}; Flags: regserver restartreplace sharedfile;
Source: e:\server data\randem\develop\deployable system files\msstdfmt.dll; DestDir: {sys}; Flags: regserver restartreplace sharedfile;
Source: e:\server data\randem\develop\deployable system files\msdbrptr.dll; DestDir: {sys}; Flags: regserver restartreplace sharedfile;
Source: c:\program files\common files\designer\msderun.dll; DestDir: {cf}\designer\; Flags: regserver restartreplace sharedfile;
Source: e:\server data\randem\develop\deployable system files\msbind.dll; DestDir: {sys}; Flags: regserver restartreplace sharedfile;
Source: e:\works\omoba123\mapic\mapic 1.exe; DestDir: {app}; Flags: ignoreversion;
Source: e:\server data\randem\develop\deployable system files\vb5db.dll; DestDir: {sys}; Flags: sharedfile;
[INI]
Filename: {app}\MAPIC 1.url; Section: InternetShortcut; Key: URL; String:
[Icons]
Name: {group}\MAPIC; Filename: {app}\MAPIC 1.exe; WorkingDir: {app}
Name: {group}\{cm:ProgramOnTheWeb, MAPIC}; Filename: {app}\MAPIC 1.url
Name: {group}\{cm:UninstallProgram, MAPIC}; Filename: {uninstallexe}
Name: {commondesktop}\MAPIC; Filename: {app}\MAPIC 1.exe; Tasks: desktopicon; WorkingDir: {app}
[Run]
Filename: {src}\Support\VB_DCOM_MDAC_JET_AutoSetup.exe; Parameters: /NORESTART /VERYSILENT; WorkingDir: {tmp}; Flags: skipifdoesntexist; Tasks: AutoOSUpdater
Filename: {app}\MAPIC 1.exe; Description: {cm:LaunchProgram, MAPIC}; Flags: nowait postinstall skipifsilent; WorkingDir: {app}
[UninstallDelete]
Type: files; Name: {app}\MAPIC 1.url
[Code ]
function GetAppFolder(Param: String): String;
begin
if InstallOnThisVersion('0,6', '0,0') = irInstall then
Result := 'C:\Users\Public\' + ExpandConstant('{username}')
else
Result := ExpandConstant('{pf}');
end;
[Comments]
; In the folder where your installation was created is a folder named Support. In this folder you will place the AutoOSUpdater, .Net Framework and the Scripting Runtime installations
; that you want to deploy with your installation. Both you installation exe and this folder need to be deployed for your installation to work properly
omoba123
Sep 11th, 2007, 06:16 AM
Hi,
Randem, I tried compiling what you sent but still didnt work. Just wondering since this project is overdue can you please send me the Installation Program you created so that I can submit it while I continue to work on this bug. I have no choice than to figure out how to make installation programs since I would be using more often.
Thanks
omoba123
Sep 11th, 2007, 11:50 AM
Though fixed, I would like to know how to solve this problem without manually running MDAC_TYP.
I download the latest MDAC_TYP ran it on the computer giving the 429 fault and everything works fine.
Now, how do I send the file MDAC_TYP with my installation packaged program and make sure it runs it on every computer I want to install the my program.
Please NOTE I the file has always been package along with the installation package but I guess in never ran/got installed during the installation of the main program.
Randem, Please I would not mind if you still send me the installation package I requested for since now I have another problem at hand --running MDAC_TYP at installation.
Thanks
randem
Sep 11th, 2007, 03:15 PM
That is exactly why you need to read all the information in the post. Just adding the AutoOSUpdater to the installation script I gave you would have solved that problem long ago.
randem
Sep 11th, 2007, 03:27 PM
The AutoOSUpdater is in the package and will run automatically unless it is unchecked then it will not run at all.
BTW: DEFINE DOESN'T WORK... Is that a unique term we don't know about?
omoba123
Sep 12th, 2007, 07:59 AM
I said I had fixed the problem of 429 error by manually installing MDAC_TYP .exe but I forgot to add that I had to manually register the DAO350.dll file too.
I am stating this because I went to a third computer and installed just the MDAC_TYP file but still didnt work until I registered the DA)350.dll file ont the computer.
randem
Sep 12th, 2007, 04:50 PM
Then just add regserver to the flags for dao350.dll in the script I posted...
omoba123
Sep 13th, 2007, 05:27 PM
I am getting frustrated with this installation. One user is having a hard time in getting the program to work. He did the registering of the DAO350.dll, but no luck.
Just wondering could it be that this person needs Microsoft Updates? Probably the person is still running XP with no service pack --at I am for sure he doesnt have the latest updates?
Is it possible that I can copy all my dll and ocx on my PC and create an installation program then send it to the person for installation maybe by chance a required dll or ocx would be registered?
randem
Sep 13th, 2007, 05:48 PM
Are you still using PDW?
randem
Sep 13th, 2007, 05:52 PM
Here try this installation http://www.***********/cgi-bin/randem/countdown.cgi?MAPIC1020Release.zip
omoba123
Sep 27th, 2007, 12:30 PM
Thanks all for the help. Problem fixed. What solved it?
Well I never thought that VB had Service Packs. So I was writing my program just on the initial VB 6 installation. Once I had the SP 6 installed P&D Wizard worked wonders. Thanks once again
As a note
Can all you pros out there answering we newbies please at if we have the SP 6 loaded.
http://msdn2.microsoft.com/en-us/vstudio/Aa718364.aspx
vbforums.com
Copyright Internet.com Inc., All Rights Reserved.