Results 1 to 6 of 6

Thread: VB6 & CR11 application deployment

  1. #1

    Thread Starter
    New Member
    Join Date
    Feb 2006
    Posts
    14

    VB6 & CR11 application deployment

    Hie guys;
    How is everyone doing out there. Could anyone of you guys help me ship my vb6 application? I designed some reports using CR11.

    I created a setup for this application using inno script and inno setup.

    The application works fine when installed on my computer which has got CR11 installed. Now when I install the application on another computer which does not have CR11, I get this error message which is shown below.

    Run-time error '339'
    Component 'crviewer.dll' or one of its dependencies not correctly registered:a file is missing or invalid


    That should be requesting me to install CR11 on each user’s machine but I do not want to do this but will just need to have users run the reports without CR11 on their computers. Is this possible, if it is could any one of you guys help me.

    Thanks

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

    Re: VB6 & CR11 application deployment

    Let's see your script to start

  3. #3

    Thread Starter
    New Member
    Join Date
    Feb 2006
    Posts
    14

    Re: VB6 & CR11 application deployment

    Thanks for the response Randem.Shown below is my script and the path [B]"V:\*"; [/B] references my database and CR11 reports on the server whilst the path "C:\Documents and Settings\moyo\Desktop\Copy of Projmellow\*"; references my vb forms and the project's executable file.

    Hope evrything you need is provided here.

    Thanks


    [Types]
    Name: "full"; Description: "Full installation"
    Name: "compact"; Description: "Compact installation"
    Name: "custom"; Description: "Custom installation"; Flags: iscustom

    [Components]
    Name: "Server"; Description: "Install Server Components"; Types: full compact; Flags: exclusive restart
    Name: "Client"; Description: "Install On Client"; Types: full compact; Flags: exclusive restart

    [Setup]
    AppName=IT System
    AppVerName=IT System ver 1.0
    AppPublisher=Merlin Limited
    AppPublisherURL=http://www.merlin.co.zw
    AppSupportURL=http://www.merlin.co.zw
    AppUpdatesURL=http://www.merlin.co.zw
    DefaultDirName={pf}\IT System
    DefaultGroupName=IT System
    LicenseFile=C:\Documents and Settings\moyo\Desktop\Copy of Projmellow\license.txt
    OutputDir=C:\Documents and Settings\moyo\Desktop\Copy of Projmellow\setup
    OutputBaseFilename=ITSystem
    Compression=lzma
    SolidCompression=yes

    [Languages]
    Name: "english"; MessagesFile: "compilerefault.isl"

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

    [Files]
    Source: "C:\Documents and Settings\moyo\Desktop\Copy of Projmellow\YeboIT.exe"; DestDir: "{app}"; Flags: ignoreversion; Components: "Client"
    Source: "C:\Documents and Settings\moyo\Desktop\Copy of Projmellow\*"; DestDir: "{app}"; Flags: ignoreversion recursesubdirs createallsubdirs; Components: "Client"
    Source: "V:\*"; DestDir: "{app}"; Flags: ignoreversion recursesubdirs createallsubdirs; Components: "Server"
    ; NOTE: Don't use "Flags: ignoreversion" on any shared system files

    [Icons]
    Name: "{group}\IT System"; Filename: "{app}\YeboIT.exe"
    Name: "{group}\{cm:UninstallProgram,IT System}"; Filename: "{uninstallexe}"
    Name: "{userdesktop}\IT System"; Filename: "{app}\YeboIT.exe"; Tasks: desktopicon

    [Run]
    Filename: "{app}\YeboIT.exe"; Description: "{cm:LaunchProgram,IT System}"; Flags: nowait postinstall skipifsilent

    Quote Originally Posted by randem
    Let's see your script to start

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

    Re: VB6 & CR11 application deployment

    You state that you used ********** to make this script. I see no evidence of that. It would have picked up the CR files in question that you needed. What did you use to make this script? Where is the start of the script?

  5. #5

    Thread Starter
    New Member
    Join Date
    Feb 2006
    Posts
    14

    Re: VB6 & CR11 application deployment

    Maybe I should have said I used inno setup compiler 5.1.6 to create the setup for the application.What I do not want to do is to install CR11 on each of my users' computers.I want them to run the reports which are kept on the server without CR11 on their computers.

    Thanks

    Quote Originally Posted by randem
    You state that you used ********** to make this script. I see no evidence of that. It would have picked up the CR files in question that you needed. What did you use to make this script? Where is the start of the script?

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

    Re: VB6 & CR11 application deployment

    The Inno Setup Wizard is like most wizards, not totally effective. You answer questions it attempts to tell your future (something like that). Did you try ********** to find all your dependencies? It does a very good job I might add...
    Last edited by randem; Mar 20th, 2006 at 09:11 AM.

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