First, thanks for your system, it sure beats Microsoft's installer and works great with the far more professional Inno Setup. So thanks, it was worth the price.
I run Innoscript on my VB Project and it ostensibly finds all the DLL dependencies. (Without which my VB6 program can't possibly run... right?)
Everything installs fine on XP except the bloody DBGRID32.OCX (version 1.0.093- which should be SAFE -I got it from your site) I DIDN'T pull it from my OWN system folder. It fails to register properly.
However, if I chose ignore and allow the installation to continue then my software SEEMS to run fine! (I haven't tested it thoroughly but it's a database control.)
So is it OKAY to REMARK it out with a ; in the Inno compiler?
Question 2: I know I don't need the JET database controls so I remarked them out. This should be fine. I don't see why they're required for my fairly simple program.
Question 3: Is there a place on the web or in MS documentation to find which controls rely on which OCXs/DLLs? It would be really nice to know what needed what before I chose to use it.
(i.e. If I HAD to USE the DBGRID32.OCX I'd be screwed now.)
I'd like to remove any files I don't ABSOLUTELY need.
Final bit of a rant: Nobody on VB software support sites wants to talk about this install stuff.
I see people asking questions similar to mine and a usually *very helpful* programming community is SILENT to their (and now my) pleas for help. Is running setup software that much of a pain?
Writing install files os far more confusing than writing software ever was. (Probably because I don't completely understand it yet.)
Thanks for your time in replying. I swear I LOOKED and searched for similar questions but I found nothing as specific as mine.
Finally... I know it's not Randem's fault, it's Microsoft's... of that I'm certain. They just LOVE bloatware.
}
Aloha scottguy,
Thank you for your kind remarks.
If InnoScript detects that you need the JET engines then you do. You might find that your system will work without them but that is because the system you installed it on ALREADY has the database files. If by chance you run into a system that does not have them your application WILL NOT work properly. You can remove the JET installs if you want but remember if you have trouble them that would be the reason.
No one talks about these thing for they do not know for sure... It is lucky for you that they did not talk about it for guesses are not helpful.
It take a long time to know the intricacies of MS software and it would be prudent not to guess... and you will not find any real documentation on the Microsoft files. If they told you everything how can they make even more money with training and such...
As far as it not registering, without more information I cannot answer that. I can get it to register here. I have no idea of what OS you are attempting to register it on or what your script looks like. Different OS's may require different techniques...
Could you post your script.
Dear Randem,
I think I found the crux of the problem.
Microsoft WROTE THIS in their help files:
==========================================
The wizard determines if dependency information is out of date by comparing the version information in the .dep file to the version information in the component.
The version information in the dependent file must be an exact match. Either older or newer versions are considered out of date.
===========================================
(i.e. -If the file version requested is *even one digit different* than the one you have then you are scr*wed.)
Note: The below is copied meticulously from the Dependencies section of the Randem InnoScript program from the DEPENDENT FILES subsection of the script information of the project in question.
===============================================
Dependencies:
WP2-00.VBP
DBGRID32.OCX - 1.0.0.93 -Win32 - x86
'======================================
NOTE: In dependent (requested?) version there are THREE dots as you can see: 1.0.0.93
However, in EVERY version found by searching my entire computer is only a TWO dot version:
DBGRID32.OCX -1.0.093
This is clearly an identical file but with a different number of dots. (typos by someone perhaps?)
MY guess (considering I have no idea what I'm even talking about) is the difference is DOTS is causing the installation package to think they are radically different files when, in fact, they are the same.
Is there no way to edit this information?
2nd it is fun to play around the the VPB file and see how Microsoft throws in the everything including the kitchen sink after you get more than a few controls on a basic file. (Thus keeping their proud reputation of king of bloatware intact.)
I will take it on faith that if you say files are that they are needed. I wish we could just install the VB6Run.EXE files and be done with it. But, of course, NOTHING is every easy. (My pet cynicism)
It is scary to see that Microsoft clearly point SOME object in my project like this:
Object= {00028C01-0000-0000-0000-000000000046}#1.0#0; DBGRID32.OCX
I just wish the heck I knew what the HECK it was referring to! Too bad I know nothing about low level programming (of course then I wouldn't be using BASIC would I?)
I started playing around with the VBP file once I realized it can be opened with Notepad and found that once I add more than a few SIMPLE controls to my project (say a command button, a label, and perhaps a text box) that suddenly the VBP instantly adds a dozen more file dependencies. Really, for three control?
I'm just wondering how my software could misfire without that control installed? It seems to run fine. But I've never taken it through all its paces without the file installed because it's a big program with 20 learning games to play.
I really want a professional installation perfect but not even Microsoft's own wizard can manage that! Thank God for you Randem.
Final gripe: I also love the way Microsoft makes you pay a fortune for their nifty development system and then builds in obsolescence. Way back when they'd come out with QBPro.. they offered me the whole package for just $400. Why? Because Visual Basic was just around the corner! (I felt like sucker that would make P.T Barnum Proud!) Heck VB6 won't be supported after Win7 which really p**ses me off. I'm just finally getting good at Visual Basic and I should have been moving to .NET (oh and spending another $1000 which apparently is a lot for an IDE just for pleasure of being limited to the Windows platform. You'd think they'd WANT people writing great software to make their O.S. more relevant. Excuse my whining. I'll stop now. Thanks again for any light you can shed on the topic I outlined way back at the start of this rant.
Oh I should have said, it's going onto an XP system at school. I should know if it's XP pro or (whatever school districts get for their labs that comes from Dell, likely whatever is cheapest with network support.)
If you need more of the script I'd be happy to post it.
Aloha scottguy,
More of the script? You haven't posted any of the script yet... I need to see the whole script...
If you want to find out if your file needs that control at all, Make a copy of the VBP file then Remove the control from the forms and recompile and run the program. If it compiles without complaining then that maybe good in most cases.
Dear Randem,
First thanks for being cool enough to work weekends. When I make it rich off my program (meaning anything over $5.00 ) I will be sure to donate something more to your site. It's the least I can do.
Yeah, sorry I should have just posted the script. The problem with incompetence (of myself of course) is that one is often in denial or unaware that I am. So I will try to keep that in mind.
I listen to your advice in any future posts. Here's the script.
==========================================
; InnoScript Version 11.1 Build 7
; Randem Systems, Inc.
; Copyright (c) 2002 - 2011, Randem Systems, Inc.
; Website: https://randemsystems.com (https://randemsystems.com)
; Support: https://randemsystems.support (https://randemsystems.support)
; OS: Windows XP 5.1 build 2600 (Service Pack 2)
; Derived from VB VBP Project File
; Designed for Inno Setup Version: 5.4.2 (a)
; Installed Inno Setup Version: 5.4.2 (a)
; Date: February 04, 2012
; 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\Cam_ron\Application Data\Randem Systems\InnoScript\
; {localappdata} : C:\Documents and Settings\Cam_ron\Local Settings\Application Data\Randem Systems\InnoScript\
; {cf} : C:\Program Files\Common Files\Randem Systems
; {tmp} : C:\Documents and Settings\Cam_ron\Local Settings\Temp\
; {commonappdata} : C:\Documents and Settings\All Users\Application Data\Randem Systems\InnoScript\Release\
; {pf} : C:\Program Files\
; VB Runtime Files Folder: C:\Program Files\Programming\InnoScript\InnoScript 11\VB 6 Redist Files\
; Visual Basic Project File (.vbp): E:\_Programs\__ WordPlay\WordPlay2-0\WP2-00.VBP
; Inno Setup Script Output File (.iss): E:\_Programs\__ WordPlay\WordPlay2-0\Scripts\WP2-00 1.8.9 Release.iss
;: C:\Documents and Settings\Cam_ron\Local Settings\Application Data\Randem Systems\InnoScript\Release\Projects\Templates\WP2-0.tpl
;: C:\Program Files\Programming\InnoScript\InnoScript 11\Templates\JetWXP.tpl
;: C:\Program Files\Programming\InnoScript\InnoScript 11\Templates\JetWVista.tpl
;: C:\Program Files\Programming\InnoScript\InnoScript 11\Templates\JetWin7.tpl
; ------------------------
; References
; ------------------------
; OLE Automation - (stdole2.tlb)
; --------------------------
; Components
; --------------------------
; Apex Data Bound Grid - (DBGRID32.OCX)
; Microsoft Comm Control 6.0 - (MSCOMM32.OCX)
; Microsoft ADO Data Control 6.0 (SP3) (OLEDB) - (msadodc.ocx)
; Microsoft Windows Common Controls 5.0 (SP2) - (comctl32.ocx)
[Setup]
SetupLogging=Yes
AppId=WordPlay
;------------------------------------------------------------------------------------------------------------------------
; Taken from VBP/VBG Project File Parameters AppName, AppName AppVersion and Company
;------------------------------------------------------------------------------------------------------------------------
AppName=WordPlay 1.8.9
AppVerName=WordPlay
AppPublisher=Blitzen Software
;------------------------------------------------------------------------------------------------------------------------
AppVersion=1.8.9
VersionInfoVersion=1.8.9
AllowNoIcons=yes
LicenseFile=C:\Documents and Settings\Cam_ron\Desktop\Programing\WordPlayLic.txt
DefaultGroupName=Blitzen Software\WordPlay
DefaultDirName={pf}\Blitzen Software\Project1 1
AppCopyright=Copyright Scott A. Beatty 2005
PrivilegesRequired=Admin
MinVersion=0,5.01
OnlyBelowVersion=0,7.0
Compression=lzma
OutputBaseFilename=R-WPSetup
[Tasks]
Name: Desktopicon; Description: {cm:CreateDesktopIcon}; GroupDescription: {cm:AdditionalIcons}
Name: DatabaseSupport; Description: Install Database Support; GroupDescription: Install Database Support:
[Files]
Source: C:\Program Files\Programming\InnoScript\InnoScript 11\VB 6 Redist Files\DBGRID32.OCX; DestDir: {sys}; Flags: regserver restartreplace sharedfile;
Source: C:\Program Files\Programming\InnoScript\InnoScript 11\VB 6 Redist Files\stdole2.tlb; DestDir: {sys}; Flags: regtypelib restartreplace uninsneveruninstall;
Source: C:\Program Files\Programming\InnoScript\InnoScript 11\VB 6 Redist Files\MSCOMM32.OCX; DestDir: {sys}; Flags: regserver restartreplace sharedfile;
Source: C:\Program Files\Programming\InnoScript\InnoScript 11\VB 6 Redist Files\msadodc.ocx; DestDir: {sys}; Flags: regserver restartreplace sharedfile;
Source: C:\Program Files\Programming\InnoScript\InnoScript 11\VB 6 Redist Files\comctl32.ocx; DestDir: {sys}; Flags: regserver restartreplace sharedfile;
Source: E:\_Programs\__ WordPlay\WordPlay2-0\WP1-98F.exe; DestDir: {app}; Flags: ignoreversion restartreplace;
Source: C:\Program Files\Programming\InnoScript\InnoScript 11\VB 6 Redist Files\OLEAUT32.dll; DestDir: {sys}; Flags: restartreplace sharedfile;
Source: C:\Program Files\Programming\InnoScript\InnoScript 11\VB 6 Redist Files\OLEPRO32.DLL; DestDir: {sys}; Flags: regserver restartreplace sharedfile;
Source: C:\Program Files\Programming\InnoScript\InnoScript 11\VB 6 Redist Files\MSVBVM60.DLL; DestDir: {sys}; Flags: regserver restartreplace sharedfile;
;
; Download MDAC and JET files from the Download menu of InnoScript or https://randemsystems.com/os-updater-support (https://randemsystems.com/os-updater-support)
;
Source: .\Scripts\Output\Support\mdac_typ_281.exe; DestDir: {tmp}; Flags: ignoreversion; MinVersion: 4.0,4.0; OnlyBelowVersion: 0,6.0; Tasks: DatabaseSupport
Source: .\Scripts\Output\Support\mdac_typ_20.exe; DestDir: {tmp}; Flags: ignoreversion; MinVersion: 4.0,4.0; Tasks: DatabaseSupport
Source: .\Scripts\Output\Support\Jet35sp3.exe; DestDir: {tmp}; Flags: ignoreversion; MinVersion: 4.0,4.0; Tasks: DatabaseSupport
Source: .\Scripts\Output\Support\Jet40SP8_WXP.exe; DestDir: {tmp}; Flags: ignoreversion; MinVersion: 0,5.01; OnlyBelowVersion: 0,5.01sp1; Tasks: DatabaseSupport
Source: .\Scripts\Output\Support\JetComp.exe; DestDir: {sys}; Flags: sharedfile; MinVersion: 4.0,4.0; Tasks: DatabaseSupport
;
; Download MDAC and JET files from the Download menu of InnoScript or https://randemsystems.com/os-updater-support (https://randemsystems.com/os-updater-support)
;
;
[Files]
[Run]
Filename: {tmp}\VB_VC_DCOM_MDAC_JET_AutoSetup.exe; Parameters: /NORESTART /VERYSILENT WorkingDir: {tmp}; Flags: skipifdoesntexist
;
[Icons]
Name: {group}\Project1 ; Filename : {app}\WP1-98F.exe; WorkingDir: {app};
Name: {group}{cm:ProgramOnTheWeb, Project1 }; Filename: {app}\WP1-98F.url;
Name: {group}{cm:UninstallProgram, Project1 }; Filename: {uninstallexe};
Name: {commondesktop}\Project1 ; Filename: {app}\WP1-98F.exe; Tasks: Desktopicon ; WorkingDir: {app};
[Run]
Filename: {tmp}\mdac_typ_20.exe; Parameters: /Q /C:setup /QNT; WorkingDir: {tmp}; Flags: skipifdoesntexist; MinVersion: 4.0,4.0; Tasks: DatabaseSupport
Filename: {tmp}\mdac_typ_281.exe; Parameters: /Q /C:setup /QNT; WorkingDir: {tmp}; Flags: skipifdoesntexist; MinVersion: 4.0,4.0; OnlyBelowVersion: 0,6.0; Tasks: DatabaseSupport
Filename: {tmp}\Jet35sp3.exe; Parameters: /Q; WorkingDir: {tmp}; Flags: skipifdoesntexist; MinVersion: 4.0,4.0; Tasks: DatabaseSupport;
Filename: {tmp}\Jet40SP8_WXP.exe; Parameters: /Q; WorkingDir: {tmp}; Flags: skipifdoesntexist; MinVersion: 0,5.01; OnlyBelowVersion: 0,5.01sp1; Tasks: DatabaseSupport
Filename: {app}\WP1-98F.exe; Description: {cm:LaunchProgram, Project1 }; Flags: nowait postinstall skipifsilent runascurrentuser; WorkingDir: {app}
[UninstallDelete]
Type: files; Name: {app}\WP1-98F.url
Type: dirifempty; Name: {app}
=========================================
Thanks for any and all the time and effort you've spent assisting me.
One question final question:
I would like to install the MDAC and Jet automatic updater. It SOUNDS like it does everything to bring a computer up to date for my program but that's probably just the incompetence speaking again.
Hang Loose in the big 5-0!
-Scottguy(the)
Aloha,
You don't need the Automatic OS Updater; you already have the JET engine file in your script. Now you do not have to install these files if your application uses JET 4.0
[Files]
Source: .ScriptsOutputSupportmdac_typ_281.exe; DestDir: {tmp}; Flags: ignoreversion; MinVersion: 4.0,4.0; OnlyBelowVersion: 0,6.0; Tasks: DatabaseSupport
Source: .ScriptsOutputSupportmdac_typ_20.exe; DestDir: {tmp}; Flags: ignoreversion; MinVersion: 4.0,4.0; Tasks: DatabaseSupport
Source: .ScriptsOutputSupportJet35sp3.exe; DestDir: {tmp}; Flags: ignoreversion; MinVersion: 4.0,4.0; Tasks: DatabaseSupport
Source: .ScriptsOutputSupportJetComp.exe; DestDir: {sys}; Flags: sharedfile; MinVersion: 4.0,4.0; Tasks: DatabaseSupport
[Run]
Filename: {tmp}mdac_typ_20.exe; Parameters: /Q /C:setup /QNT; WorkingDir: {tmp}; Flags: skipifdoesntexist; MinVersion: 4.0,4.0; Tasks: DatabaseSupport
Filename: {tmp}mdac_typ_281.exe; Parameters: /Q /C:setup /QNT; WorkingDir: {tmp}; Flags: skipifdoesntexist; MinVersion: 4.0,4.0; OnlyBelowVersion: 0,6.0; Tasks: DatabaseSupport
Filename: {tmp}Jet35sp3.exe; Parameters: /Q; WorkingDir: {tmp}; Flags: skipifdoesntexist; MinVersion: 4.0,4.0; Tasks: DatabaseSupport;
BTW: you cannot just add the AutoOSUpdater file to the [Run] section if it is not in the files section unless you are running it as an external install.
Filename: {tmp}VB_VC_DCOM_MDAC_JET_AutoSetup.exe; Parameters: /NORESTART /VERYSILENT WorkingDir: {tmp}; Flags: skipifdoesntexist
Is this all that you edited in the script for if the script is edited after InnoScript creates it, it could alter how it works and I cannot tell.
Wow, you work fast.
Actually I was doing a long re-edit of that last post and then lost it by going over 30 minutes. Oops. Dang it and I lost a of few of my (at the time) funnier lines. Oh well.
First thanks for being cool enough to work on weekends. I'm going to be sure to donate to your site once I make a profit (anything over $5.00) on my little learning game.
I'm doing something I'm sure you're going to think is foolish, which is pasting the crucial files section (for the dependencies) into a script generated by the Inno Setup Wizard.
I haven't learned which lines to change to get the exact perfect setup procedures. I just need to take some time to compare the key lines in the from wizard to your script generator but I have limited time since this isn't my day job (thank god)
Thanks for the info on the JET engine. The auto updater just sounds like such a great idea and yes.. I haven't put the file location in yet.
Gotta post this before my 30 minutes are up.
(I tend to talk/write far too more that absolutely necessary. Did you notice?)
============================================
; Script generated by the Inno Setup Script Wizard.
; SEE THE DOCUMENTATION FOR DETAILS ON CREATING INNO SETUP SCRIPT FILES!
#define MyAppName WordPlay
#define MyAppVersion 1.8.9
#define MyAppPublisher Blitzen Software
#define MyAppExeName WP1-98G.exe
[Setup]
; NOTE: The value of AppId uniquely identifies this application.
; Do not use the same AppId value in installers for other applications.
; (To generate a new GUID, click Tools | Generate GUID inside the IDE.)
AppId={{DBB05A74-847D-4BCE-B71F-CB3A0A355CFA}
AppName={#MyAppName}
AppVersion={#MyAppVersion}
;AppVerName={#MyAppName} {#MyAppVersion}
AppPublisher={#MyAppPublisher}
DefaultDirName={pf}{#MyAppName}
DefaultGroupName={#MyAppName}
LicenseFile=C:Documents and SettingsCam_ronDesktopProgramingWordPlayLic.txt
OutputDir=C:Documents and SettingsCam_ronDesktopProgramingSetup1-9
OutputBaseFilename=WP-XP-98Setup
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 SettingsCam_ronDesktopProgramingWP1-98G.exe; DestDir: {app}; Flags: ignoreversion
; NOTE: Don't use Flags: ignoreversion on any shared system files
; Below are TEMP from Randem ====================================================
Source: C:Program FilesProgrammingInnoScriptInnoScript 11VB 6 Redist FilesDBLIST32.OCX; DestDir: {sys}; Flags: regserver restartreplace sharedfile;
;Source: C:Program FilesProgrammingInnoScriptInnoScript 11VB 6 Redist FilesDBGRID32.OCX; DestDir: {sys}; Flags: regserver restartreplace sharedfile;
; DB GRIDLIST is not registering correctly Lord only knows why. (Microsoft sure doesn't.)
Source: C:Program FilesProgrammingInnoScriptInnoScript 11VB 6 Redist Filesstdole2.tlb; DestDir: {sys}; Flags: regtypelib restartreplace uninsneveruninstall;
; Above is ALWAYS in use
Source: C:Program FilesProgrammingInnoScriptInnoScript 11VB 6 Redist FilesMSCOMM32.OCX; DestDir: {sys}; Flags: regserver restartreplace sharedfile;
;Above file is OPTIONAL
Source: C:Program FilesProgrammingInnoScriptInnoScript 11VB 6 Redist FilesMSADODC.OCX; DestDir: {sys}; Flags: regserver restartreplace sharedfile;
Source: C:Program FilesProgrammingInnoScriptInnoScript 11VB 6 Redist Filescomctl32.ocx; DestDir: {sys}; Flags: regserver restartreplace sharedfile;
; Above is required to run
Source: C:Program FilesProgrammingInnoScriptInnoScript 11VB 6 Redist FilesComdlg32.ocx; DestDir: {sys}; Flags: regserver restartreplace sharedfile;
; Above file is optional.
Source: C:Program FilesProgrammingInnoScriptInnoScript 11VB 6 Redist FilesOLEAUT32.dll; DestDir: {sys}; Flags: restartreplace sharedfile;
;Above is always in use
Source: C:Program FilesProgrammingInnoScriptInnoScript 11VB 6 Redist FilesOLEPRO32.DLL; DestDir: {sys}; Flags: regserver restartreplace sharedfile;
;above file is always in use
Source: C:Program FilesProgrammingInnoScriptInnoScript 11VB 6 Redist FilesMSVBVM60.DLL; DestDir: {sys}; Flags: regserver restartreplace sharedfile;
;==============================================================================
[Icons]
Name: {group}{#MyAppName}; Filename: {app}{#MyAppExeName}
Name: {group}{cm:UninstallProgram,{#MyAppName}}; Filename: {uninstallexe}
Name: {commondesktop}{#MyAppName}; Filename: {app}{#MyAppExeName}; Tasks: desktopicon
[Run]
Filename: {app}{#MyAppExeName}; Description: {cm:LaunchProgram,{#StringChange(MyAppName, &, &&)}}; Flags: nowait postinstall skipifsilent
===========================================
As you can see I did try deleting files in an effort to see which ones were absolutely crucial to running the program
Thanks again for all your time and effort.
-Scottguy(the)
Ok, Where did DBLIST32.OCX come from? If you are editing the script and removing/adding files you may remove something that is really needed and I cannot tell...
I would like to see an unedited script generated by InnoScript. If you keep adding/removing the=ings without knowing why, that could cause other issues...
Better Yet, zip and post the vbp file (text file) and exe file from the compiled vbp project and I will run it thru InnoScript myself to create and test the output...
Aloha Randem,
First if you're into football enjoy today. My problems can wait.
Included in the Zip file are:
1) Two RTF version of two .PJT files entirely unedited. One script found several more dependencies than another. I don't know why sometimes it does and other times not. Most consistently it produces the smaller list.
2) The .VBP file in text format
3) The EXE file.
What's odd is sometimes InnoScript generates says there are more file dependencies - But MOST of the time it generates a fairly simple list.
I note that the VBP file only lists about 3 OCX and DLL dependencies. The rest are all being derived from InnoScript. Now I'm just putting in the VBP file and not the EXE file because I was under the (perhaps wrong) impression that putting the path for that file was the key thing.
I can't answer the question about the DBLIST file. I didn't PUT it in there. I haven't touched this version. I've rerun the script and I can't recreate the error no matter which versions of Windows I select. Sometimes it finds a lot more files than others. I'm not sure why. I used the default settings for Windows versions -on one run I limited set the O.S. versions between .
You can ignore the post and just open the RTF file and EXE file (the WP1-89F.EXE is the latest version.) This is above and beyond the call of duty. (I clicked on the DONATE to Paypal button on your site but Paypal said the link wasn't working. (One motto of mine is: If You Like it Support It. )
Take it easy!
Ok, will look into your files. I will also check the Donate button. In the meantime you can select the link on the left that states Online Payments to make the donation if you wish...
It's night time here and not that much into football but will watch if it's on a TV and I am passing by...
I don't see anything wrong with the script and it installs without a problem. You are not installing this on your development system are you? That is a BIG NO-NO!!! You should NEVER do that. If you need to test use Microsofts Virtual PC 2007 to create a Virtual Hard disk with the OS you want to test on. You can always start over with a clean system if you zip the VHD after you create it.
BTW: I do not see where you use a database or ANY input files to run your program so the database files should be removed if they serve no purpose. Where do you use the DBGRID32.OCX in your form?
Randem,
Thanks for taking a look. I completely understand why one can't test installation on the development computer. I figured that one out the hard way a while back. Your running a red light analogy is a very persuasive argument in terms of luck being a factor testing an install on just one other random computer.
I appreciate you making the MS Virtual Machine software available. (It beats having to look around on the web) Now I just have to find clean computer with no Visual Basic files deployed on them.
I'm supposing the files that should be deleted on the test computer deployment computer include the safe DLLs that come with InnoScript and any other OCX controls.
Finally, I have NO IDEA why the VBP file generated by VB6 asks for the DBGRID32.OCX control in my project. I don't use the control *anywhere* in my project.
In fact I loaded the control onto a new test form/project just to see what the dang thing looks like. (I thought that, perhaps, it contained some crucial bit of support for something besides a DataBase, (a grid sounds useful) but my hunch is that it's due to Microsoft's tendency is to think More is better than less and so MS's VB6 just adds things based on the number of forms regardless of their content or simplicity. That's pure speculation of course.
Thanks again so very much for your time in helping me to understand how installation systems run and for your time personally supporting my project.
Aloha for now and thanks again.
Scottguy
Aloha scottguy,
If you use the MS VM you don't need to find a clean machine. You just install from the Windows CD a clean environment and you will always have one (if you zip it after you create the VHD).
If you remove the DBGRID32 line from your VBP project file (text file) then load the project with VB6 if you use it it will complain...
1. Thanks for the info on properly using the virtual machine.
2. I found the SOURCE of the incorrect file associations in my Visual Basic projects.
I was using Visual Basic 4 (professional) for the longest time because it suited my needs as a hobbyist. (And because I'm cheap.)
When I looked into ANY (even VERY simple) .VBP files from Visual Basic 4 I found listed DBGRID, DBLIST and several OCX controls whether they were used or not. Mystery solved.
This was completely counter intuitive.
So.. F.Y.I. - If you imported a Visual Basic 4 project and it is has file dependencies listed in the VBP file that seem wrong simply start a NEW VB project using VB6 then ADD each module and form from the OLD version. (i.e. Don't just open VPB4 file using Visual Basic 6)
When the FRESH NEW VBP file is generated by VB6 all those false DLL and OCX references will be gone.
Importing Visual Basic 4 program forms and modules by simply opening their VBP file with Visual Basic 6 works (I was surprised they even opened without error messages) BUT you the project (VBP)file will contain incorrect file dependencies such as explained above. (At least it does on my machine.)
Thanks again.
ok, that sounds feasible...