Totally Lost (New User)

Started by Randem, October 16, 2008, 12:48:25 PM

Previous topic - Next topic

Randem


Randem

Are you using Bound Data Controls? If so you need to change how they access the database. They best method is thru ADO Code, but you should be using ADO.

pepsisc

SUCCESS(Except for one thing) - I removed the quotes on the statement.
 
After the install, running the application, I am getting a Login Failed message when I try to access the reports. THERE IS NO PASSWORDS ON THE DATABASE. This app is run on a stand-alone PC - no server involved.

pepsisc


 
Still having a problem with locating the MSI file.

Randem

You need to change the source in that line to point to the location where you have placed the MSI file. Change it in the template file (Crystal Reports.tpl file).
 
BTW: You can open Inno Setup from within InnoScript by Pressing the Inno Setup button.
 
Also your app will only run in an Administrator Account. It will not run properly in a Limited User account if installed in the Program Files folder.
 
Yes, almost there...
 
 
(Message edited by randem on October 18, 2008)

pepsisc

I think we are getting there
In the iss file, I have an error on this  
Source: E:\Server Data\Randem\Develop\Support\CR XI Merge Module Installation\RDC\out\CRXI_RDC_ReDistribution.MM\MSI\CRXI_RDC_Redistribution.msi; DestDir: {tmp}; Flags: nocompression ignoreversion deleteafterinstall
line
iss file
Sports Release.iss (10.2 k)
The above path E:\Server Data.... is not on my PC.
I commented it out and re-ran Compile. The iss file compiled ok but when I installed it on onother PC, I am getting Login-Failed error message when I try to access my reports.
 
(Message edited by pepsisc on October 18, 2008)

Randem

Here is the modification that will move the project exe to the last entry in the [Run] section. Just replace the InnoScript.exe file with this one.
 

Randem

Ok, we are making progress. You need to download the msi file from our website https://randemsystems.support/crystal-reports/ you can also get there by selecting from the InnoScript main menu Downloads->Crystal Reports Installations.
 
You will need to move the line in the script located in the [Run] Section
 
Filename: {app}\Sports.exe; Description: {cm:LaunchProgram, Project1 }; Flags: nowait postinstall skipifsilent; WorkingDir: {app}
 
after the lines that register the CR components in the [Run] section. I will make a note for InnoScript to do this automatically.

pepsisc

 
 
Here is a DETAIL list of my actions:
- copied all .dep files to a Directory called Dep-Files
- Started InnoScript.
-File / New Project  = Sports
-Parameter screen:
AppName = Sam's Sport Arena
AppVersion = 1.5
(Rest of Parameter screen blank)
-clicked Exit button
-VISUAL BASIC FILE - I entered the path of where my vbp file is located.
-INNO SETUP SCRIPT OUTPUT FILE - I used the same path as my vbp file and gave the output file name = Sports.iss
-OS UPDATES = NONE
-CRYSTAL REPORT = Crystal Repor XI
- Did not create a template file. (There are 2 existing files-Release.tpl and Crystal Reports.tpl
-ADD FILES -this is where I added my .rpt's,mdb and exe files.
- SEARCH FOLDERS - I entered the PATH of my DEP-FILES folder.
- Pressed CREATE SCRIPT
-Closed InnoScript
-Open Inno Setup
-Used exiting Script (Sports Release.iss)-SEE ATTACHED)
ERROR- CXRI_RDC_REDISTRIBUTION.MSI file can not be found.
 
Thanks for all your help.
Sam

admin

I see the problem. That is not how to use InnoScript. Here are the instructions directly from the manual. You cannot shortcut the procedure.
 
The basic procedure to run InnoScript:
 
1.   Install InnoScript in the Administrative Account. InnoScript must be run once from this account after installation for proper operation in a limited users account. Any License information update must also be done from the administrative account.
 
2.   Install Inno Setup (InnoScript uses Inno Setup to compile your scripts).
 
3.   Create a new InnoScript Project for your Visual Basic Project. File->New
 
4.   Fill in parameter screen for Inno Setup directives (can also be done at a later time. InnoScript will automatically fill in many of the slots after the first run if the slot is empty).
 
5.   Select your vbp/vbg/.net project file (Best results are generated when you use a vbg (group project)  file that contains all the projects when your app uses ocx/dll/exe from other projects)
 
6.   Select a name and location for the output .iss file.
 
7.   Create or select a template file (.tpl) for info to be added to the script (optional).
 
8.   Add any additional files or folders that your app needs. (Add Files and Add Folders Tabs).
 
9.   Add any additional folders where files in your project can be found (Search Folders Tab).
 
10.   Add any folder that you do not want InnoScript to search (Exclude Folders Tab)
 
11.   Press Create Script to convert your project file.
 
12.   Edit your script (.iss) with Inno Setup or ISTool. (if needed).
 
13.   Compile your script with Inno Setup.
}

pepsisc

QuotePlease describe what you have done in detail. You may know what you have done but I cannot ascertain what you have done besides press the Create Script Button.
1. Using the instructions from InnoScript 9.2, I copied all the .dep files to a directory. I also copied into that directory the application .exe, the .mdb file needed by the application and the .rpt files. I then clicked on Create Script.  
2. Pressed Create Script
3.Started Inno Setup
4. clicked Open an Existing Script File.
5. Found the .iss file created by InnoScript
6. Compile File--That's when the error occurred.
 
Thanks,
Sam

Randem

No sure of what? Post your script. Did you point InnoScript to the folder you created? Please describe what you have done in detail. You may know what you have done but I cannot ascertain what you have done besides press the Create Script Button. The instruction are quite clear in steps to take and I cannot see exactly which ones you have taken besides copying the files.

pepsisc

My application is written in VB6 and uses the crviewer to produce reports written in Crystal Report XI.
 
Using the instructions from InnoScript 9.2, I copied all the .dep files to a directory. I also copied into that directory the application .exe, the .mdb file needed by the application and the .rpt files. I then clicked on Create Script.
 
At this point I am lost, Not sure what to do.
 
(Message edited by pepsisc on October 16, 2008)

Randem

Please explain exactly what the issue is then possible I can help.

pepsisc

Hi: I was just introduced to InnoScript and Inno Setup. I downloaded the InnoScript 9.2 instructions and can not follow them.
I have a VB6 app that uses Crystal Report XI.
 
I'm afraid I need some hand-holding. Does anyone have the patience to help me?
 
Thanks,
Sam
 
(Message edited by pepsisc on October 16, 2008)