PDA

Click to See Complete Forum and Search --> : Windows 98 Nightmare... HELP!!!


jmc1712
Jan 11th, 2005, 09:37 AM
Hi,

I have created a program using VB 6 Pro on Win XP Pro environment and for some unknown reason installing on Win 98 does not install or if installs will not run.

I am using InnoSetup latest version and **********. Before I was having problem with the OLEAUT32.DLL not being right version for Win 98 which I have since fixed but am still having problems.

If I don't get this resolved I will lose alot of money in refunds if software does not install in Win 98 or worse none XP systems.

Any ideas what I am doing wrong?

Here is my InnoSetup file.

[Setup]
AppName=Bartender
AppVerName=Bartender 1.0.0
AppPublisher=Online pC Connections, Inc.
AppPublisherURL=http://megabiznes.com/drinks
AppVersion=1.0.0
AllowNoIcons=yes
DefaultGroupName=Drinks Master
DefaultDirName=Drinks Master
AppCopyright=(c) John Cabral 2004
PrivilegesRequired=Admin
MinVersion=4.0,4.0sp06
OutputBaseFilename=drinks100

[Tasks]
Name: desktopicon; Description: Create a &desktop icon; GroupDescription: Additional Icons:
Name: quicklaunchicon; Description: Create a &Quick Launch Icon; GroupDescription: Additional Icons:; Flags: unchecked

[Files]
Source: c:\program files\randem systems\**********\********** 4.0\vb 6 redist files\msvbvm60.dll; DestDir: {sys}; Flags: restartreplace uninsneveruninstall sharedfile regserver
Source: c:\program files\randem systems\**********\********** 4.0\vb 6 redist files\oleaut32.dll; DestDir: {sys}; Flags: restartreplace uninsneveruninstall sharedfile regserver
Source: c:\program files\randem systems\**********\********** 4.0\vb 6 redist files\olepro32.dll; DestDir: {sys}; Flags: restartreplace uninsneveruninstall sharedfile regserver
Source: c:\program files\randem systems\**********\********** 4.0\vb 6 redist files\asycfilt.dll; DestDir: {sys}; Flags: uninsneveruninstall sharedfile
Source: c:\program files\randem systems\**********\********** 4.0\vb 6 redist files\stdole2.tlb; DestDir: {sys}; Flags: restartreplace uninsneveruninstall sharedfile regtypelib
Source: c:\program files\randem systems\**********\********** 4.0\vb 6 redist files\comcat.dll; DestDir: {sys}; Flags: sharedfileuninsneveruninstall sharedfile regserver
Source: e:\my documents\myvbcode\bartender\drinksmarc.exe; DestName: "drinks.exe";DestDir: {app}; Flags: ignoreversion
Source: e:\my documents\myvbcode\bartender\drinks.txt; DestDir: {app}; Flags: ignoreversion
Source: comdlg32.ocx; DestDir: {sys}; Flags: regserver restartreplace sharedfile
Source: resizer.ocx; DestDir: {sys}; Flags: regserver restartreplace sharedfile

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

[Icons]
Name: {group}\Bartender; Filename: {app}\drinks.exe; WorkingDir: {app}
Name: {group}\Bartender on the Web; Filename: {app}\drinks.url
Name: {group}\Uninstall Bartender; Filename: {uninstallexe}
Name: {userdesktop}\Bartender; Filename: {app}\drinks.exe; Tasks: desktopicon; WorkingDir: {app}
Name: {userappdata}\Microsoft\Internet Explorer\Quick Launch\Bartender; Filename: {app}\drinks.exe; Tasks: quicklaunchicon; WorkingDir: {app};

[Run]
Filename: {app}\drinks.exe; Description: Launch Bartender; Flags: nowait postinstall skipifsilent; WorkingDir: {app}

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

Getting DeleteFile Failded: Code 5 Access is Denied when trying to replace msvbvm60.dll

Even redid the setup file without the VB runtimes as I think hes already had them and program still does not work. When program does install and they try to run he gets an unexpected error without any description.

This is frustrating the heck out of me. Last time I did any programs for sale there was only Win 95 and 98 and I never had any problems. Getting ready to shoot myself here as I need this to work on Win 98 an dotehr systems.

Thanks

John

jmc1712
Jan 11th, 2005, 11:45 AM
Ok had a friend of mine run the instal on his system which he is running Win 98SE with no service pack and install worked fine except when he ran the exe file it just said unexpected error with no error number.

Any ideas why this is happening? These are the OS'es I have installed program on with no problems

Win 2000 with SP2 & SP4
XP Home SP2
XP Pro

So why is Win 98 giving me such a hard time?

John

jmc1712
Jan 11th, 2005, 02:19 PM
Ok had a friend of mine run the instal on his system which he is running Win 98SE with no service pack and install worked fine except when he ran the exe file it just said unexpected error with no error number.

Any ideas why this is happening? These are the OS'es I have installed program on with no problems

Win 2000 with SP2 & SP4
XP Home SP2
XP Pro

So why is Win 98 giving me such a hard time?

John

Ok I had my friend install a different program that uses same files as program giving unexpected error and it installed and worked fine. No I am really confused. Wondering if its an API issue?

Thanks

JOhn

randem
Jan 20th, 2005, 06:04 AM
jmc1712,

You may have several things going on here.

1) Install the Automatic OS Updater (http://www.***********/support.html) to get your OS up to date for your program to install correctly. This will solve most problems.

2) Using files from your system folder may also cause problems. Expecially if you are taking a XP specific file and atempting to get 98 to run with it. You may need to have several version of specific files and only install them as per OS.

3) Read Helpful Information (http://www.***********/installerproblems.html) about installers.

Also Upgrade to ********** 4.0.2

si_the_geek
Jan 20th, 2005, 08:39 AM
Wondering if its an API issue?
It's possible, usually API's are added for each new version of windows (lots were added to Win2000 compared with Win98). It all depends which ones you've used.

Check out the API link in my sig for a site that says which Windows version is required for each API.