PDA

Click to See Complete Forum and Search --> : Run Time ERROR?


Justin M
Mar 21st, 2008, 12:05 AM
Hey guys , this may be a weird question to ask, but I am done wriitng a prog and posted it on my website. But someone told me they get a run time error when they try to run the prog.

I don't get this on either comp I installed it on and I use xp on both.

Would it be possible to get someone to try this out and see if you get this to work?

the link is http://www.geocities.com/nitrogenocide2003/MHXDSSetup.zip

randem
Mar 21st, 2008, 01:13 AM
Yes, I do get a runtime error on XP Pro. How did you generate your script? Can you show your script?

There are a few ways to determine just where the error is.

Justin M
Mar 21st, 2008, 01:25 AM
I use Inno script.

Here is the script.

; Script generated by the Inno Setup Script Wizard.
; SEE THE DOCUMENTATION FOR DETAILS ON CREATING INNO SETUP SCRIPT FILES!

[Setup]
AppName=MHX Driver Searcher
AppVerName=MHX Driver Searcher 1.0
AppPublisher=Microhardxce
AppPublisherURL=http://www.geocities.com/nitrogenocide2003/MHXBuy2.html
AppSupportURL=http://www.geocities.com/nitrogenocide2003/MHXBuy2.html
AppUpdatesURL=http://www.geocities.com/nitrogenocide2003/MHXBuy2.html
DefaultDirName={pf}\MHX Driver Searcher
DefaultGroupName=MHX Driver Searcher
OutputDir=C:\Documents and Settings\Owner\Desktop
OutputBaseFilename=MHXDSSetup
Compression=lzma
SolidCompression=yes

[Languages]
Name: "english"; MessagesFile: "compiler:Default.isl"
Name: "french"; MessagesFile: "compiler:Languages\French.isl"
Name: "german"; MessagesFile: "compiler:Languages\German.isl"
Name: "italian"; MessagesFile: "compiler:Languages\Italian.isl"
Name: "polish"; MessagesFile: "compiler:Languages\Polish.isl"

[Tasks]
Name: "desktopicon"; Description: "{cm:CreateDesktopIcon}"; GroupDescription: "{cm:AdditionalIcons}"; Flags: unchecked
Name: "quicklaunchicon"; Description: "{cm:CreateQuickLaunchIcon}"; GroupDescription: "{cm:AdditionalIcons}"; Flags: unchecked

[Files]
Source: "C:\Documents and Settings\Owner\Desktop\Get_hardwa158533582003\MHXDriverUpdateFREE.exe"; DestDir: "{app}"; Flags: ignoreversion
Source: "C:\Documents and Settings\Owner\Desktop\Get_hardwa158533582003\COMCT232.OCX"; DestDir: "{app}"; Flags: ignoreversion
Source: "C:\Documents and Settings\Owner\Desktop\Get_hardwa158533582003\COMCTL32.OCX"; DestDir: "{app}"; Flags: ignoreversion
Source: "C:\Documents and Settings\Owner\Desktop\Get_hardwa158533582003\MSCOMCT2.OCX"; DestDir: "{app}"; Flags: ignoreversion
Source: "C:\Documents and Settings\Owner\Desktop\Get_hardwa158533582003\MSCOMCTL.OCX"; DestDir: "{app}"; Flags: ignoreversion
Source: "C:\Documents and Settings\Owner\Desktop\Get_hardwa158533582003\MSWINSCK.OCX"; DestDir: "{app}"; Flags: ignoreversion
Source: "C:\Documents and Settings\Owner\Desktop\Get_hardwa158533582003\RICHTX32.OCX"; DestDir: "{app}"; Flags: ignoreversion
Source: "C:\Documents and Settings\Owner\Desktop\Get_hardwa158533582003\SYSINFO.OCX"; DestDir: "{app}"; Flags: ignoreversion
Source: "C:\Documents and Settings\Owner\Desktop\Get_hardwa158533582003\DriverData.mdb"; DestDir: "{app}"; Flags: ignoreversion
Source: "C:\Documents and Settings\Owner\Desktop\Get_hardwa158533582003\ServerIP.txt"; DestDir: "{app}"; Flags: ignoreversion
Source: "C:\Documents and Settings\Owner\Desktop\Get_hardwa158533582003\SysMessage.wav"; DestDir: "{app}"; Flags: ignoreversion
; NOTE: Don't use "Flags: ignoreversion" on any shared system files

[Icons]
Name: "{group}\MHX Driver Searcher"; Filename: "{app}\MHXDriverUpdateFREE.exe"
Name: "{group}\{cm:ProgramOnTheWeb,MHX Driver Searcher}"; Filename: "http://www.geocities.com/nitrogenocide2003/MHXBuy2.html"
Name: "{group}\{cm:UninstallProgram,MHX Driver Searcher}"; Filename: "{uninstallexe}"
Name: "{commondesktop}\MHX Driver Searcher"; Filename: "{app}\MHXDriverUpdateFREE.exe"; Tasks: desktopicon
Name: "{userappdata}\Microsoft\Internet Explorer\Quick Launch\MHX Driver Searcher"; Filename: "{app}\MHXDriverUpdateFREE.exe"; Tasks: quicklaunchicon

[Run]
Filename: "{app}\MHXDriverUpdateFREE.exe"; Description: "{cm:LaunchProgram,MHX Driver Searcher}"; Flags: nowait postinstall skipifsilent

randem
Mar 21st, 2008, 03:36 PM
No you don't use Inno Script. You use the Inno Setup Wizard, two completely different applications by two completely different companies. You won't get what you need by using the wizard.

Justin M
Mar 21st, 2008, 04:03 PM
So would it be a good idea to get the Inno Script?

randem
Mar 21st, 2008, 04:05 PM
I believe so but that opinion is biased... ;)

Justin M
Mar 21st, 2008, 06:59 PM
lol what would be the difference?

randem
Mar 21st, 2008, 07:04 PM
Inno Script would find all the dependencies you need for your project AND create a complete script for you also along with some documentation of what you have in your project.

Justin M
Mar 24th, 2008, 12:18 PM
lol No offence, I appreciate your help, but is there a free alternative?

It would be odd for me to pay for software so I can give away free software.

techgnome
Mar 24th, 2008, 12:41 PM
Inno Script IS free.... mine was.... now, there's another one by a similar name (with no space between Inno and Script) that's a pay product... but Inno Script itself is free.

-tg

Justin M
Mar 24th, 2008, 12:48 PM
Can you link me to where you got yours please?

techgnome
Mar 24th, 2008, 12:56 PM
from here: http://www.jrsoftware.org/isinfo.php

-tg

Justin M
Mar 24th, 2008, 01:08 PM
thanks, this is wha I use, and its great. But is there a way for it to find the dependency files?

si_the_geek
Mar 24th, 2008, 01:26 PM
In the FAQ thread at the top of this forum, there are links to a couple of articles on using Inno Setup - including one specifically for packaging VB6 projects.

Using those you should be able to make some progress.

randem
Mar 24th, 2008, 08:27 PM
techgnome,

That is Inno Setup, there is no Script in that name whatsoever...

randem
Mar 24th, 2008, 08:45 PM
Justin M,

No, Inno Setup will not find any dependency files...

techgnome
Mar 24th, 2008, 11:26 PM
yeah, my bad, I realized that as I was posting, then got side tracked and never got around to amending the post...

-tg