Results 1 to 17 of 17

Thread: Run Time ERROR?

  1. #1

    Thread Starter
    PowerPoster
    Join Date
    May 2006
    Posts
    2,295

    Run Time ERROR?

    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/nitrogenoci...MHXDSSetup.zip

  2. #2
    Banned randem's Avatar
    Join Date
    Oct 2002
    Location
    Maui, Hawaii
    Posts
    11,385

    Re: Run Time ERROR?

    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.
    Last edited by randem; Mar 21st, 2008 at 01:21 AM.

  3. #3

    Thread Starter
    PowerPoster
    Join Date
    May 2006
    Posts
    2,295

    Re: Run Time ERROR?

    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: "compilerefault.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

  4. #4
    Banned randem's Avatar
    Join Date
    Oct 2002
    Location
    Maui, Hawaii
    Posts
    11,385

    Re: Run Time ERROR?

    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.

  5. #5

    Thread Starter
    PowerPoster
    Join Date
    May 2006
    Posts
    2,295

    Re: Run Time ERROR?

    So would it be a good idea to get the Inno Script?

  6. #6
    Banned randem's Avatar
    Join Date
    Oct 2002
    Location
    Maui, Hawaii
    Posts
    11,385

    Re: Run Time ERROR?

    I believe so but that opinion is biased...

  7. #7

    Thread Starter
    PowerPoster
    Join Date
    May 2006
    Posts
    2,295

    Re: Run Time ERROR?

    lol what would be the difference?

  8. #8
    Banned randem's Avatar
    Join Date
    Oct 2002
    Location
    Maui, Hawaii
    Posts
    11,385

    Re: Run Time ERROR?

    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.

  9. #9

    Thread Starter
    PowerPoster
    Join Date
    May 2006
    Posts
    2,295

    Re: Run Time ERROR?

    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.

  10. #10
    PowerPoster techgnome's Avatar
    Join Date
    May 2002
    Posts
    34,687

    Re: Run Time ERROR?

    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
    * I don't respond to private (PM) requests for help. It's not conducive to the general learning of others.*
    * I also don't respond to friend requests. Save a few bits and don't bother. I'll just end up rejecting anyways.*
    * How to get EFFECTIVE help: The Hitchhiker's Guide to Getting Help at VBF - Removing eels from your hovercraft *
    * How to Use Parameters * Create Disconnected ADO Recordset Clones * Set your VB6 ActiveX Compatibility * Get rid of those pesky VB Line Numbers * I swear I saved my data, where'd it run off to??? *

  11. #11

    Thread Starter
    PowerPoster
    Join Date
    May 2006
    Posts
    2,295

    Re: Run Time ERROR?

    Can you link me to where you got yours please?

  12. #12
    PowerPoster techgnome's Avatar
    Join Date
    May 2002
    Posts
    34,687

    Re: Run Time ERROR?

    * I don't respond to private (PM) requests for help. It's not conducive to the general learning of others.*
    * I also don't respond to friend requests. Save a few bits and don't bother. I'll just end up rejecting anyways.*
    * How to get EFFECTIVE help: The Hitchhiker's Guide to Getting Help at VBF - Removing eels from your hovercraft *
    * How to Use Parameters * Create Disconnected ADO Recordset Clones * Set your VB6 ActiveX Compatibility * Get rid of those pesky VB Line Numbers * I swear I saved my data, where'd it run off to??? *

  13. #13

    Thread Starter
    PowerPoster
    Join Date
    May 2006
    Posts
    2,295

    Re: Run Time ERROR?

    thanks, this is wha I use, and its great. But is there a way for it to find the dependency files?

  14. #14
    Super Moderator si_the_geek's Avatar
    Join Date
    Jul 2002
    Location
    Bristol, UK
    Posts
    41,974

    Re: Run Time ERROR?

    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.

  15. #15
    Banned randem's Avatar
    Join Date
    Oct 2002
    Location
    Maui, Hawaii
    Posts
    11,385

    Re: Run Time ERROR?

    techgnome,

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

  16. #16
    Banned randem's Avatar
    Join Date
    Oct 2002
    Location
    Maui, Hawaii
    Posts
    11,385

    Re: Run Time ERROR?

    Justin M,

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

  17. #17
    PowerPoster techgnome's Avatar
    Join Date
    May 2002
    Posts
    34,687

    Re: Run Time ERROR?

    yeah, my bad, I realized that as I was posting, then got side tracked and never got around to amending the post...

    -tg
    * I don't respond to private (PM) requests for help. It's not conducive to the general learning of others.*
    * I also don't respond to friend requests. Save a few bits and don't bother. I'll just end up rejecting anyways.*
    * How to get EFFECTIVE help: The Hitchhiker's Guide to Getting Help at VBF - Removing eels from your hovercraft *
    * How to Use Parameters * Create Disconnected ADO Recordset Clones * Set your VB6 ActiveX Compatibility * Get rid of those pesky VB Line Numbers * I swear I saved my data, where'd it run off to??? *

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width