Results 1 to 24 of 24

Thread: 429 error even after **********

  1. #1

    Thread Starter
    Member
    Join Date
    Aug 2007
    Posts
    41

    429 error even after **********

    hi guys.. im tryin to package an address book programe i made in vb6 using msaccess97 and dao(yes, dao) anyways i used ********** to write the script and it wrote it with no problems at all.i then used inno setup and it workd fine.. however after install when i try to run the program i get a 429 error activex compnents cnt create object..... what am i doing wrong? i checkd the min nt field as windows xp..

    any help would be greatly appreciated.
    thanx,
    brian

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

    Re: 429 error even after **********

    Post your script. I will take a look.

  3. #3

    Thread Starter
    Member
    Join Date
    Aug 2007
    Posts
    41

    Re: 429 error even after **********

    thanx for the reply randem....

    here is the code

    ; ********** Version 7.1 Build 6 Trial
    ; Randem Systems, Inc.
    ; Copyright 2003-2007
    ; Website: http://www.***********
    ; Support: http://www.**********.com/cgi-bin/discus/discus.cgi
    ; OS: Windows XP 5.1 build 2600 (Service Pack 2)

    ; Date: August 21, 2007

    ; VB Runtime Files Folder: C:\Program Files\Randem Systems\**********\********** 7.0\VB 6 Redist Files\
    ; Visual Basic Project File (.vbp): C:\Documents and Settings\brian\Desktop\updated4mlaptop\brian\osentest\Project1.vbp
    ; Inno Setup Script Output File (.iss): C:\Documents and Settings\brian\Desktop\issscript Release.iss

    ; ------------------------
    ; References
    ; ------------------------

    ; Visual Basic runtime objects and procedures - (MSVBVM60.DLL)
    ; Standard OLE Types - (OLEPRO32.DLL)
    ; OLE Automation - (STDOLE2.TLB)
    ; Microsoft DAO 3.51 Object Library - (DAO350.DLL)
    ; Microsoft ActiveX Data Objects 2.0 Library - (msado20.tlb)
    ; Microsoft Data Binding Collection - (MSBIND.DLL)
    ; Microsoft Data Report Designer v6.0 - (MSDBRPTR.DLL)
    ; Microsoft Data Formatting Object Library - (MSSTDFMT.DLL)


    ; --------------------------
    ; Components
    ; --------------------------

    ; Microsoft ADO Data Control 6.0 (OLEDB) - (MSADODC.OCX)
    ; Microsoft Windows Common Controls 6.0 (SP6) - (mscomctl.ocx)
    ; Microsoft Common Dialog Control 6.0 (SP6) - (comdlg32.ocx)
    ; Microsoft DataGrid Control 6.0 (OLEDB) - (MSDATGRD.OCX)
    ; Osen Kusnadi ® OsenXPSuite 2007 Enterprise Edition © 2003-2007 (Evaluation) - (osenxpsuite2007.ocx)
    ; Microsoft Hierarchical FlexGrid Control 6.0 (OLEDB) - (MSHFLXGD.OCX)


    [Setup]

    ;-----------------------------------------------------------------------------------------------------
    ; Taken from VBP Project File Parameters AppName, AppName AppVersion and Company
    ;-----------------------------------------------------------------------------------------------------

    AppName=khomanisan
    AppVerName=khomanisan 1.0.0
    AppPublisher=Creativity-software

    ;-----------------------------------------------------------------------------------------------------

    AppVersion=1.0.0
    VersionInfoVersion=1.0.0
    AllowNoIcons=no
    DefaultGroupName=Address database
    DefaultDirName=Khomanisan database
    AppCopyright=
    PrivilegesRequired=Admin
    MinVersion=4.0,5.01
    Compression=lzma
    OutputBaseFilename=KhomaniSan Database100Release

    [Tasks]

    [Files]
    Source: c:\program files\randem systems\**********\********** 7.0\vb 6 redist files\msvbvm60.dll; DestDir: {sys}; Flags: uninsneveruninstall regserver restartreplace sharedfile; OnlyBelowVersion: 0,6
    Source: c:\program files\randem systems\**********\********** 7.0\vb 6 redist files\oleaut32.dll; DestDir: {sys}; Flags: uninsneveruninstall regserver restartreplace sharedfile; OnlyBelowVersion: 0,6
    Source: c:\program files\randem systems\**********\********** 7.0\vb 6 redist files\olepro32.dll; DestDir: {sys}; Flags: uninsneveruninstall regserver restartreplace sharedfile; OnlyBelowVersion: 0,6
    Source: c:\program files\randem systems\**********\********** 7.0\vb 6 redist files\asycfilt.dll; DestDir: {sys}; Flags: uninsneveruninstall sharedfile; OnlyBelowVersion: 0,6
    Source: c:\program files\randem systems\**********\********** 7.0\vb 6 redist files\stdole2.tlb; DestDir: {sys}; Flags: uninsneveruninstall sharedfile regtypelib; OnlyBelowVersion: 0,6
    Source: c:\program files\randem systems\**********\********** 7.0\vb 6 redist files\comcat.dll; DestDir: {sys}; Flags: uninsneveruninstall regserver restartreplace sharedfile; OnlyBelowVersion: 0,6
    Source: c:\program files\common files\microsoft shared\dao\dao350.dll; DestDir: {cf}\microsoft shared\dao\; Flags: regserver restartreplace sharedfile;
    Source: c:\program files\msbind.dll; DestDir: {sys}; Flags: regserver restartreplace sharedfile;
    Source: c:\program files\msdbrptr.dll; DestDir: {sys}; Flags: regserver restartreplace sharedfile;
    Source: c:\program files\msstdfmt.dll; DestDir: {sys}; Flags: regserver restartreplace sharedfile;
    Source: c:\program files\msadodc.ocx; DestDir: {sys}; Flags: regserver restartreplace sharedfile;
    Source: c:\program files\mscomctl.ocx; DestDir: {sys}; Flags: regserver restartreplace sharedfile;
    Source: c:\program files\comdlg32.ocx; DestDir: {sys}; Flags: regserver restartreplace sharedfile;
    Source: c:\program files\msdatgrd.ocx; DestDir: {sys}; Flags: regserver restartreplace sharedfile;
    Source: c:\program files\osenxpsuite 2007\distribute\osenxpsuite2007.ocx; DestDir: {sys}; Flags: regserver restartreplace sharedfile;
    Source: c:\program files\mshflxgd.ocx; DestDir: {sys}; Flags: regserver restartreplace sharedfile;
    Source: c:\documents and settings\brian\desktop\updated4mlaptop\brian\osentest\khomanisan database.exe; DestDir: {app}; Flags: ignoreversion;
    Source: c:\program files\vb5db.dll; DestDir: {sys}; Flags: sharedfile;

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

    [Icons]
    Name: {group}\khomanisan; Filename: {app}\KhomaniSan Database.exe; WorkingDir: {app}
    Name: {group}\{cm:ProgramOnTheWeb, khomanisan}; Filename: {app}\KhomaniSan Database.url
    Name: {group}\{cm:UninstallProgram, khomanisan}; Filename: {uninstallexe}

    [Run]
    Filename: {app}\KhomaniSan Database.exe; Description: {cm:LaunchProgram, khomanisan}; Flags: nowait postinstall skipifsilent; WorkingDir: {app}

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




    thanx again
    cheers,
    brian

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

    Re: 429 error even after **********

    Is this an edited script with removed items? Are you running with template processing?
    Last edited by randem; Aug 21st, 2007 at 08:43 PM.

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

    Re: 429 error even after **********

    You also have not included your database and any MDAC's (AutoOSUpdater).

    On what OS did you attempt to install it on?
    Was it a clean OS?

    Please read Installation Problems for more assistance.

  6. #6

    Thread Starter
    Member
    Join Date
    Aug 2007
    Posts
    41

    Re: 429 error even after **********

    thanx for the feedback randem... which dlls listed there are the mdacs? its not an edited script... and i tried installin on 3 different pcs with XP (not clean)..

    i read ur signature.. about the internet and reading.. and i did quite a lot of reading b4 i decided to post... pls help.. i really need this to work..

    thanx
    brian

    EDIT: what does the autoOSupdater actualy do?

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

    Re: 429 error even after **********

    But did you read installation problems???? It should explain about MDAC's etc...

    And yes, you do need to include everything that your app will need to run, including the .mdb file.

  8. #8

    Thread Starter
    Member
    Join Date
    Aug 2007
    Posts
    41

    Re: 429 error even after **********

    will read the installation problems now.. again.. maybe i missd something.

    thanx again

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

    Re: 429 error even after **********

    The MDAC's are for Accessing Databases. You should always deploy them (can be selective) if you are deploying a database. The MDAC are a collection of dll/exe's that need to be in place for your app to run properly.

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

    Re: 429 error even after **********

    Go to the Add Files tab and include your database.

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

    Re: 429 error even after **********

    Also add in the AutoOSUpdater and you will be good to go!!!

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

    Re: 429 error even after **********

    What happened to the [Tasks] section?

  13. #13

    Thread Starter
    Member
    Join Date
    Aug 2007
    Posts
    41

    Re: 429 error even after **********

    oops.. forgot about the tasks... anyways i also wanted to ask you.. i realised i wasnt referencing the mdacs in my vb project either.. but the exe workd on my pc.. pls excuse my ignorance here but if u dnt reference it in ur project but its installd on the pc it will work rite? is it because i wasnt referencing it in the first place that it didnt work? btw... iv never seen such quick responses in a forum... awesome stuff. thanx a million.. will let u knw bout my progress.

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

    Re: 429 error even after **********

    You referenced the DAO object. That is included in the MDAC. It worked on your computer because everything is already in place. On the target computer it wasn't and you need to put it in place.

  15. #15

    Thread Starter
    Member
    Join Date
    Aug 2007
    Posts
    41

    Re: 429 error even after **********

    Ah... makes a lot of sense now.. about the DAO and MDAC... think i need to get some sleep.. its 4:40 in the morning here in cape town.. will package it now and test it later durin the day... cheers!

  16. #16

    Thread Starter
    Member
    Join Date
    Aug 2007
    Posts
    41

    Re: 429 error even after **********

    hi randem,

    i did what u said... still get 429 error..
    here is my script

    ; ********** Version 7.1 Build 6 Trial
    ; Randem Systems, Inc.
    ; Copyright 2003-2007
    ; Website: http://www.***********
    ; Support: http://www.**********.com/cgi-bin/discus/discus.cgi
    ; OS: Windows XP 5.1 build 2600 (Service Pack 2)

    ; Date: August 22, 2007

    ; VB Runtime Files Folder: C:\Program Files\Randem Systems\**********\********** 7.0\VB 6 Redist Files\
    ; Visual Basic Project File (.vbp): C:\Documents and Settings\brian\Desktop\updated4mlaptop\brian\osentest\Project1.vbp
    ; Inno Setup Script Output File (.iss): C:\Documents and Settings\brian\Desktop\latest Release.iss
    ; Script Template Files (.tpl): C:\Program Files\Randem Systems\**********\********** 7.0\Templates\Release.tpl
    ; : C:\Program Files\Randem Systems\**********\********** 7.0\Templates\VBRuntime.tpl
    ; : C:\Program Files\Randem Systems\**********\********** 7.0\Templates\Vista.tpl

    ; ------------------------
    ; References
    ; ------------------------

    ; Visual Basic runtime objects and procedures - (MSVBVM60.DLL)
    ; Standard OLE Types - (OLEPRO32.DLL)
    ; OLE Automation - (STDOLE2.TLB)
    ; Microsoft Data Access Components Installed Version - (odbcconf.dll)
    ; Microsoft DAO 3.51 Object Library - (DAO350.DLL)
    ; Microsoft ActiveX Data Objects 2.0 Library - (msado20.tlb)
    ; Microsoft Data Binding Collection - (MSBIND.DLL)
    ; Microsoft Data Report Designer v6.0 - (MSDBRPTR.DLL)
    ; Microsoft Data Formatting Object Library - (MSSTDFMT.DLL)


    ; --------------------------
    ; Components
    ; --------------------------

    ; Microsoft ADO Data Control 6.0 (OLEDB) - (MSADODC.OCX)
    ; Microsoft Windows Common Controls 6.0 (SP6) - (mscomctl.ocx)
    ; Microsoft Common Dialog Control 6.0 (SP6) - (comdlg32.ocx)
    ; Microsoft DataGrid Control 6.0 (OLEDB) - (MSDATGRD.OCX)
    ; Osen Kusnadi ® OsenXPSuite 2007 Enterprise Edition © 2003-2007 (Evaluation) - (osenxpsuite2007.ocx)
    ; Microsoft Hierarchical FlexGrid Control 6.0 (OLEDB) - (MSHFLXGD.OCX)


    [Setup]

    ;-----------------------------------------------------------------------------------------------------
    ; Taken from VBP Project File Parameters AppName, AppName AppVersion and Company
    ;-----------------------------------------------------------------------------------------------------

    AppName=khomanisan
    AppVerName=khomanisan 1.0.0
    AppPublisher=Creativity-software

    ;-----------------------------------------------------------------------------------------------------

    AppVersion=1.0.0
    VersionInfoVersion=1.0.0
    AllowNoIcons=no
    DefaultGroupName=Address database
    DefaultDirName={code:GetAppFolder}\Khomanisan database
    AppCopyright=
    PrivilegesRequired=Admin
    MinVersion=4.0,4.0
    Compression=lzma
    OutputBaseFilename=KhomaniSan Database100Release

    [Tasks]
    Name: AutoOSUpdater; Description: Install MDAC's for Database Operations; GroupDescription: Install MDAC's:

    [Files]
    Source: c:\program files\vb_dcom_mdac_jet_autosetup_xp.exe; DestDir: {tmp}; Flags: deleteafterinstall ignoreversion nocompression;
    Source: c:\documents and settings\brian\desktop\updated4mlaptop\brian\osentest\address.mdb; DestDir: {app}; Flags: ignoreversion;
    Source: c:\documents and settings\brian\desktop\updated4mlaptop\brian\osentest\khomanisan database.exe; DestDir: {app}; Flags: ignoreversion;
    Source: c:\program files\common files\microsoft shared\dao\dao350.dll; DestDir: {cf}\microsoft shared\dao\; Flags: regserver restartreplace sharedfile;
    Source: c:\program files\msbind.dll; DestDir: {sys}; Flags: regserver restartreplace sharedfile;
    Source: c:\program files\msdbrptr.dll; DestDir: {sys}; Flags: regserver restartreplace sharedfile;
    Source: c:\program files\msstdfmt.dll; DestDir: {sys}; Flags: regserver restartreplace sharedfile;
    Source: c:\program files\msadodc.ocx; DestDir: {sys}; Flags: regserver restartreplace sharedfile;
    Source: c:\program files\mscomctl.ocx; DestDir: {sys}; Flags: regserver restartreplace sharedfile;
    Source: c:\program files\comdlg32.ocx; DestDir: {sys}; Flags: regserver restartreplace sharedfile;
    Source: c:\program files\msdatgrd.ocx; DestDir: {sys}; Flags: regserver restartreplace sharedfile;
    Source: c:\program files\osenxpsuite 2007\distribute\osenxpsuite2007.ocx; DestDir: {sys}; Flags: regserver restartreplace sharedfile;
    Source: c:\program files\mshflxgd.ocx; DestDir: {sys}; Flags: regserver restartreplace sharedfile;
    Source: c:\program files\vb5db.dll; DestDir: {sys}; Flags: sharedfile;

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

    [Icons]
    Name: {group}\khomanisan; Filename: {app}\KhomaniSan Database.exe; WorkingDir: {app}
    Name: {group}\{cm:ProgramOnTheWeb, khomanisan}; Filename: {app}\KhomaniSan Database.url
    Name: {group}\{cm:UninstallProgram, khomanisan}; Filename: {uninstallexe}

    [Run]
    Filename: {tmp}\VB_DCOM_MDAC_JET_AutoSetup_XP.exe; Parameters: /NORESTART /VERYSILENT; WorkingDir: {tmp}; Flags: skipifdoesntexist; Tasks: AutoOSUpdater
    Filename: {app}\KhomaniSan Database.exe; Description: {cm:LaunchProgram, khomanisan}; Flags: nowait postinstall skipifsilent; WorkingDir: {app}

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

    [Code]

    function GetAppFolder(Param: String): String;
    begin
    if InstallOnThisVersion('0,6', '0,0') = irInstall then
    Result := 'C:\Users\Public\' + ExpandConstant('{username}')
    else
    Result := ExpandConstant('{pf}');
    end;

    wat am i missing or doin wrong?

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

    Re: 429 error even after **********

    Everything is fine. Are you sure you ran the OS Updater? It was checked wasn't it? Are you dynamically creating objects?

  18. #18

    Thread Starter
    Member
    Join Date
    Aug 2007
    Posts
    41

    Re: 429 error even after **********

    thanx for the reply randem.. wat do u mean by dynamicallly creating objects? im still a noob...

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

    Re: 429 error even after **********

    Do you use in your program...

    Set something = New somethingelse

    Does that third party control do that? One way to find out is to make a copy of your program and remove that control and any uses of it. Recompile and place that where your script can pick it up and retry an install. If it does not fail then that control is doing something like that. Or you can create a new project and only use that control then create an installation for that to see if it works.

  20. #20

    Thread Starter
    Member
    Join Date
    Aug 2007
    Posts
    41

    Re: 429 error even after **********

    hey randem, the only thing i can think of is a activex control im using for skinning my vb program.. it creates an xp look.. the projct is filled with these controls. like textboxes, command buttons etc... its called osenxpsuite2007... ill try remove it and c if it works. thanx. brian

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

    Re: 429 error even after **********

    Yes, that is the control I was referring too...

  22. #22

    Thread Starter
    Member
    Join Date
    Aug 2007
    Posts
    41

    Re: 429 error even after **********

    thanx ill try that... let u knw if it works or not

  23. #23

    Thread Starter
    Member
    Join Date
    Aug 2007
    Posts
    41

    Resolved Re: 429 error even after **********

    !!!!!!!!!! IT WORKS PERFECTLY !!!!!!!!!!!!

    you were right again Randem.. it was that darn osenxpsuite that was causin all the trouble.. removed those controls and it works fine... doesnt look that great but at least it works

    cudntve done it without ur help. thanx randem.

    cheers

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

    Re: 429 error even after **********

    Great, Check to see if that control has a .dep file. It would list all the dependencies that it would need (hopefully).

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