Problem Installing Database

Started by randem, October 03, 2009, 12:04:11 PM

Previous topic - Next topic

jase

What do I need to get my script working? I assume I am missing some files?

Randem

Actually you are not missing any files, it was a combination of the things I told you prior. You have installation procedural issues

Installing files to the wrong locations
forcefully installing the wrong version of files

Here is what my installation looks like

; InnoScript Version 10.1  Build 0
; Randem Systems, Inc.
; Copyright (c) 2002 - 2009, Randem Systems, Inc.
; Website:  https://randemsystems.com
; Support:  https://randemsystems.support
; OS: Windows XP 5.1 build 2600 (Service Pack 3)

; Derived from VB VBP Project File

; Designed for Inno Setup Version: 5.3.4 (u)
; Installed Inno Setup Version: 5.3.4 (u)

; Local Machine Settings. Use these settings as a template for your installation folders

; {app}           : C:\Program Files\Randem Systems\InnoScript
; {appdata}       : C:\Documents and Settings\Ralph James_2\Application Data\Randem Systems\InnoScript\Release\
; {localappdata}  : C:\Documents and Settings\Ralph James_2\Local Settings\Application Data\Randem Systems\InnoScript\Release\
; {cf}            : C:\Program Files\Common Files\Randem Systems
; {tmp}           : C:\Documents and Settings\Ralph James_2\Local Settings\Temp\
; {commonappdata} : C:\Documents and Settings\All Users\Application Data\Randem Systems\InnoScript\Release\
; {pf}            : C:\Program Files\

; Date: October 03, 2009

;              VB Runtime Files Folder:   C:\Program Files\Randem Systems\InnoScript 10\VB 6 Redist Files\
;     Visual Basic Project File (.vbp):   E:\Temp\Jase\Myexe-9644\MyApp.vbp
; Inno Setup Script Output File (.iss):   E:\Temp\Jase\Myexe-9644\MyApp Release.iss
;         Script Template Files (.tpl):   C:\Documents and Settings\Ralph James_2\Local Settings\Application Data\Randem Systems\InnoScript\Release\Templates\Release.tpl

; ------------------------
;        References
; ------------------------

; Microsoft DAO 3.51 Object Library - (Dao350.dll)


; --------------------------
;        Components
; --------------------------

; Microsoft Common Dialog Control 6.0 (SP6) - (COMDLG32.OCX)
; Microsoft Data Bound Grid Control 5.0 (SP3) - (DBGRID32.OCX)
; Microsoft Windows Common Controls 5.0 (SP2) - (comctl32.ocx)


[Setup]
SetupLogging=Yes
AppId=MyApp 

;------------------------------------------------------------------------------------------------------------------------
; Taken from VBP/VBG Project File Parameters AppName, AppName AppVersion and Company
;------------------------------------------------------------------------------------------------------------------------

AppName=MyApp 1.3.9
AppVerName=MyApp 
AppPublisher=My Company

;------------------------------------------------------------------------------------------------------------------------

AppVersion=1.3.9
VersionInfoVersion=1.3.9
AllowNoIcons=no
DefaultGroupName=MyApp 
DefaultDirName={pf}\My Company\MyApp 1 
AppCopyright=(C), 2003-2008,
PrivilegesRequired=Admin
MinVersion=0,5.0
Compression=lzma
OutputBaseFilename=MyApp139Release

[Tasks]
Name: AutoOSUpdater; Description: Install Support for Database Operations; GroupDescription: Install Database Support:

[Files]
Source: E:\Server Data\Randem\Develop\Support\Scripts\Output\VB_DCOM_MDAC_JET_AutoSetup.exe; DestDir: {tmp}; Flags:  deleteafterinstall ignoreversion nocompression; Tasks: AutoOSUpdater
Source: E:\Temp\Jase\Myexe-9644\x-ray.mdb; DestDir: {app}; Flags:  ignoreversion; 
Source: E:\Temp\Jase\Myexe-9644\ECONMIN.MDW; DestDir: {app}; Flags:  ignoreversion; 
Source: C:\Program Files\Common Files\Microsoft Shared\DAO\Dao350.dll; DestDir: {cf}\Microsoft Shared\DAO\; Flags:  regserver restartreplace sharedfile; 
Source: E:\Server Data\Randem\Develop\Deployable System Files\COMDLG32.OCX; DestDir: {sys}; Flags:  regserver restartreplace sharedfile; 
Source: E:\Server Data\Randem\Develop\Deployable System Files\DBGRID32.OCX; DestDir: {sys}; Flags:  regserver restartreplace sharedfile; 
Source: E:\Server Data\Randem\Develop\Deployable System Files\comctl32.ocx; DestDir: {sys}; Flags:  regserver restartreplace sharedfile; 
Source: E:\Temp\Jase\Myexe-9644\MyApp.exe; DestDir: {app}; Flags:  ignoreversion restartreplace; 

[INI]
Filename: {app}\MyApp.url; Section: InternetShortcut; Key: URL; String: 

[Icons]
Name: {group}\MyApp ; Filename : {app}\MyApp.exe; WorkingDir: {app}
Name: {group}{cm:ProgramOnTheWeb, MyApp }; Filename: {app}\MyApp.url; IconFilename: {app}\MyApp.ico
Name: {group}{cm:UninstallProgram, MyApp }; Filename: {uninstallexe}

[Run]
Filename: {tmp}\VB_DCOM_MDAC_JET_AutoSetup.exe; Parameters: /NORESTART /VERYSILENT; WorkingDir: {tmp}; Flags: skipifdoesntexist runascurrentuser; Tasks: AutoOSUpdater
Filename: {app}\MyApp.exe; Description: {cm:LaunchProgram, MyApp }; Flags: nowait postinstall skipifsilent; WorkingDir: {app}

[UninstallDelete]
Type: files; Name: {app}\MyApp.url
Type: dirifempty; Name: {app}

[Registry]

[Comments]

Template Processing first character indicators usage.

         No Indicator      Attempt replacement if cannot replace then add the line
          Plus Sign      Force addition of template line into script (no attempted replacement).
  ;      Semi-colon      Add line as a comment only. (No attempted replacement).
  -      Minus Sign      Delete the line. (No attempted replacement).
  &      Ampersand      Comment the line. (No attempted replacement).




jase


Randem

Clean System... This is what we do here...

jase

Yes, the auto updater was run. Do you have a clean system? The error will only show on a system without VS6 already installed.

Randem

They are if the Auto OS Updater was run. Was it?
 
Could you zip the exe. I will recreate your installation to see what I see here.

jase

OK, tried deploying this one with no luck. I'm back to believing there is a missing file. Is there some way to check if the runtime files are registered correctly?

Randem

Ok, use the updated version and make sure that it's from the same company. MS has one and I believe one other company has one by the same name also.
 
The one you are deploying may not be the one registered on your machine...

jase

Yes, to both questions. The dbgrid32.ocx in the system32 folder is a different version again...
 
5.1.98.12 11/13/2008
 
I seem to remember installing another vs6 2009 service pack from microsoft support this year.

jase

dbgrid32.ocx 5.0.37.14
14/1/1997
 
(Message edited by jase on October 02, 2009)

Randem

What version is your dbgrid32.ocx file (5.1.81.4 - 6/24/1998)?

jase