Results 1 to 9 of 9

Thread: Vista registration problem - ****SORTED!

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    May 2007
    Posts
    165

    Vista registration problem - ****SORTED!

    Typical. Spend an hour fiddling about and find solution 5s after posting! Did not notice OnlyBelowVersion in latest instructions.
    *********************************************


    An exe prepared using Inno Setup on XP installs fine on Vista. If I actually create the exe by compiling the unchanged script on Vista is does not. Error is:

    c:\windows\system32\stdole2.tlb
    Unable to access the type library:registerTypeLib failed. Error accessing the OLE registry.

    The line is as per the Inno Setup instructions for VB DLLs which I note somebody is using ok in a previous post.

    Source: "VBFiles\stdole2.tlb"; DestDir: "{sys}"; Flags: restartreplace uninsneveruninstall sharedfile regtypelib

    The program also needs to install on win98 so I can't remove the line. However, since the same or later version already exists on Vista the line should not actually be doing anything anyway.

    Thanks for any ideas
    Last edited by xoggoth; May 14th, 2007 at 07:54 AM. Reason: Sorted problem

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

    Re: Vista registration problem - ****SORTED!

    OnlyBelowVersion has been in Inno Setup for years...

  3. #3

    Thread Starter
    Addicted Member
    Join Date
    May 2007
    Posts
    165

    Re: Vista registration problem - ****SORTED!

    Maybe but was only added in VB file install instructions for Vista a few months back.

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

    Re: Vista registration problem - ****SORTED!

    And it would not work before you read the instructions?

  5. #5
    Member
    Join Date
    May 2007
    Posts
    32

    Re: Vista registration problem - ****SORTED!

    I get same error and another

    useing for my .exe VB 6 pro as front end Access 2000 as backend database

    Inno setup compiler Ver 5.1.9

    When customer is installing my setup on Win XP Pro or Home all is fine.

    When customer is installing my setup on Vista errors came up.

    C:\Windows\system32\oleaut32.dll
    unable to register the DLL/OCX: dllRegisterServer failed; code 0x80070005

    C:\Windows\system32\stdole2.tlb
    unable to register the type library:RegisterTypeLib failed; code 0x8002801C
    error accessing the OLE registry

    Click retry to try again, ignore to proceed anyway (not reccomended), or
    abort to cancel installation.

    Any help appreciated
    Thanks

    John Guarnieri
    [email protected]

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

    Re: Vista registration problem - ****SORTED!

    Don't post your email...

    Post your iss script.

  7. #7

    Thread Starter
    Addicted Member
    Join Date
    May 2007
    Posts
    165

    Re: Vista registration problem - ****SORTED!

    Spinger2003

    Did you not find that changing script as per latest instructions for VB files on Inno website sorted your problem? Mistake I made was just glancing at it and not noticing the changes since I first created the script a couple of years ago, pre-Vista. See the change notes at bottom of that page. With addition of the OnlyBelowVersion 0,6 flag (Vista is version 6) the offending lines should be completely ignored in Vista. Vista has those files already.

  8. #8
    Member
    Join Date
    May 2007
    Posts
    32

    Re: Vista registration problem - ****SORTED!

    Quote Originally Posted by randem
    Don't post your email...

    Post your iss script.
    Here you go

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

    [Setup]
    AppName=FSR_Tech
    AppVerName=FSR_Tech 1.0
    DefaultDirName={pf}\FSR_Tech
    DefaultGroupName=FSR_Tech
    PrivilegesRequired=admin
    [Tasks]
    ; NOTE: The following entry contains English phrases ("Create a desktop icon" and "Additional icons"). You are free to translate them into another language if required.
    Name: "desktopicon"; Description: "Create a &desktop icon"; GroupDescription: "Additional icons:"; Flags: unchecked

    [Files]
    ; begin VB system files
    ; (Note: Scroll to the right to see the full lines!)
    Source: "vbfiles\stdole2.tlb"; DestDir: "{sys}"; Flags: restartreplace uninsneveruninstall sharedfile regtypelib
    Source: "vbfiles\msvbvm60.dll"; DestDir: "{sys}"; Flags: restartreplace uninsneveruninstall sharedfile regserver
    Source: "vbfiles\oleaut32.dll"; DestDir: "{sys}"; Flags: restartreplace uninsneveruninstall sharedfile regserver
    Source: "vbfiles\olepro32.dll"; DestDir: "{sys}"; Flags: restartreplace uninsneveruninstall sharedfile regserver
    Source: "vbfiles\asycfilt.dll"; DestDir: "{sys}"; Flags: restartreplace uninsneveruninstall sharedfile
    Source: "vbfiles\comcat.dll"; DestDir: "{sys}"; Flags: restartreplace uninsneveruninstall sharedfile regserver
    ; end VB system files

    ; begin Active Report files
    Source: "actbar.ocx"; DestDir: "{sys}"; CopyMode: alwaysskipifsameorolder; Flags: restartreplace sharedfile regserver
    Source: "actrpt.dll"; DestDir: "{sys}"; CopyMode: alwaysskipifsameorolder; Flags: restartreplace sharedfile regserver
    Source: "ardesign.dll"; DestDir: "{sys}"; CopyMode: alwaysskipifsameorolder; Flags: restartreplace sharedfile regserver
    ; end Active Report files
    Source: "C:\2007 FSR Sell Programs\Trial Program\FSR_Tech_Ver_1.0.exe"; DestDir: "{app}"; Flags: ignoreversion
    Source: "C:\2007 FSR Sell Programs\Trial Program\ScreenSaver.exe"; DestDir: "{app}"; Flags: ignoreversion
    ; 03/05/2007
    Source: "C:\2007 FSR Sell Programs\Trial Program\Tech_DB.mdb"; DestDir: "{app}"; Flags: ignoreversion
    ;Source: "C:\2007 FSR Sell Programs\2007_QualxServ.mdb"; DestDir: "{app}"; Flags: ignoreversion
    Source: "C:\2007 FSR Sell Programs\Trial Program\comdlg32.ocx"; DestDir: "{app}"; Flags: ignoreversion
    Source: "C:\2007 FSR Sell Programs\Trial Program\mscomct2.ocx"; DestDir: "{app}"; Flags: ignoreversion
    Source: "C:\2007 FSR Sell Programs\Trial Program\msinet.ocx"; DestDir: "{app}"; Flags: ignoreversion
    Source: "C:\2007 FSR Sell Programs\Trial Program\richtx32.ocx"; DestDir: "{app}"; Flags: ignoreversion
    Source: "C:\2007 FSR Sell Programs\Trial Program\ActRpt.dll"; DestDir: "{app}"; Flags: ignoreversion
    Source: "C:\2007 FSR Sell Programs\Trial Program\MSDE.DLL"; DestDir: "{app}"; Flags: ignoreversion
    Source: "C:\2007 FSR Sell Programs\Trial Program\MSADDNDR.DLL"; DestDir: "{app}"; Flags: ignoreversion
    Source: "C:\2007 FSR Sell Programs\Trial Program\MSDERUN.DLL"; DestDir: "{app}"; Flags: ignoreversion
    Source: "C:\2007 FSR Sell Programs\Trial Program\MSHTMPGD.DLL"; DestDir: "{app}"; Flags: ignoreversion
    Source: "C:\2007 FSR Sell Programs\Trial Program\MSHTMPGR.DLL"; DestDir: "{app}"; Flags: ignoreversion
    Source: "C:\2007 FSR Sell Programs\Trial Program\MSWCRUN.DLL"; DestDir: "{app}"; Flags: ignoreversion
    Source: "C:\2007 FSR Sell Programs\Trial Program\ARVIEWER.ocx"; DestDir: "{app}"; Flags: ignoreversion
    Source: "C:\2007 FSR Sell Programs\Trial Program\PDFExpt.DLL"; DestDir: "{app}"; Flags: ignoreversion
    Source: "C:\2007 FSR Sell Programs\Trial Program\RTFExpt.DLL"; DestDir: "{app}"; Flags: ignoreversion
    Source: "C:\2007 FSR Sell Programs\Trial Program\TEXTExpt.DLL"; DestDir: "{app}"; Flags: ignoreversion
    Source: "C:\2007 FSR Sell Programs\Trial Program\ErrLog.mdb"; DestDir: "{app}"; Flags: ignoreversion
    Source: "C:\2007 FSR Sell Programs\Trial Program\VB6_18.ico"; DestDir: "{app}"; Flags: ignoreversion
    Source: "C:\2007 FSR Sell Programs\Trial Program\Wolf.txt"; DestDir: "{app}"; Flags: ignoreversion
    Source: "C:\2007 FSR Sell Programs\Trial Program\WrestleComputer.wmf"; DestDir: "{app}"; Flags: ignoreversion
    ; 02/16/2007
    Source: "C:\2007 FSR Sell Programs\Trial Program\PathToStreetsAndTrips.ini"; DestDir: "{app}"; Flags: ignoreversion
    Source: "C:\2007 FSR Sell Programs\Trial Program\OriginalScreenColor.ini"; DestDir: "{app}"; Flags: ignoreversion
    Source: "C:\2007 FSR Sell Programs\Trial Program\OriginalScreenWidth.ini"; DestDir: "{app}"; Flags: ignoreversion
    Source: "C:\2007 FSR Sell Programs\Trial Program\OriginalScreenHeight.ini"; DestDir: "{app}"; Flags: ignoreversion
    Source: "C:\2007 FSR Sell Programs\Trial Program\QualxSrv.bak"; DestDir: "{app}"; Flags: ignoreversion
    Source: "C:\2007 FSR Sell Programs\Trial Program\QualxSrv.ini"; DestDir: "{app}"; Flags: ignoreversion
    Source: "C:\2007 FSR Sell Programs\Trial Program\AllRecordsWebPageURL.ini"; DestDir: "{app}"; Flags: ignoreversion
    Source: "C:\2007 FSR Sell Programs\Trial Program\AllRecordsWebPageURL.bak"; DestDir: "{app}"; Flags: ignoreversion
    Source: "C:\2007 FSR Sell Programs\Trial Program\DefaultLogin.ini"; DestDir: "{app}"; Flags: ignoreversion
    Source: "C:\2007 FSR Sell Programs\Trial Program\DefaultLogin.bak"; DestDir: "{app}"; Flags: ignoreversion
    Source: "C:\2007 FSR Sell Programs\Trial Program\ReadMe.txt"; DestDir: "{app}"; Flags: ignoreversion
    Source: "C:\2007 FSR Sell Programs\Trial Program\Holdates.dat"; DestDir: "{app}"; Flags: ignoreversion
    Source: "C:\2007 FSR Sell Programs\Trial Program\Holdates.bak"; DestDir: "{app}"; Flags: ignoreversion
    Source: "C:\2007 FSR Sell Programs\Trial Program\arrowl.gif"; DestDir: "{app}"; Flags: ignoreversion
    Source: "C:\2007 FSR Sell Programs\Trial Program\arrowr.gif"; DestDir: "{app}"; Flags: ignoreversion
    Source: "C:\2007 FSR Sell Programs\Trial Program\stop.ICO"; DestDir: "{app}"; Flags: ignoreversion

    ; NOTE: Don't use "Flags: ignoreversion" on any shared system files

    [Icons]
    Name: "{group}\Field Techs Travel Route Optimizer"; Filename: "{app}\FSR_Tech_Ver_1.0.exe"
    ; NOTE: The following entry contains an English phrase ("Uninstall"). You are free to translate it into another language if required.
    Name: "{group}\Uninstall Field Techs Travel Route Optimizer"; Filename: "{uninstallexe}"
    Name: "{userdesktop}\Field Techs Travel Route Optimizer"; Filename: "{app}\FSR_Tech_Ver_1.0.exe"; WorkingDir: "{app}"; Tasks: desktopicon

    [Run]
    ; NOTE: The following entry contains an English phrase ("Launch"). You are free to translate it into another language if required.
    Filename: "{app}\FSR_Tech_Ver_1.0.exe"; Description: "Launch Field Techs Travel Route Optimizer"; Flags: nowait postinstall skipifsilent

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

    Re: Vista registration problem - ****SORTED!

    This question is double posted... See answer in your other thread http://www.vbforums.com/showthread.p...40#post2883540

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