Possible Problem With Version Number

Started by pepsisc, November 30, 2008, 04:30:11 PM

Previous topic - Next topic

pepsisc

Yes, I saw it Installing the CRCI_5_redistribution.msi file and then the registering of files. I am going to take the package over a friends house and try it on his PC. I should report back to you in about 4 or 5 hours.

Randem

Did you see the CR installation running? I installed it and all was fine. Upload your current installation.

pepsisc

Same problem: Error code 339
 
project file
UltimateSportsPool.pjt (3.0 k)

Randem

Change this line from
 
Filename: msiexec.exe; Parameters: /package {tmp}CRXI_5_RDC_Redistribution.msi /passive /promptrestart /l* {app}ismsilog.log; WorkingDir: {tmp}; Flags: skipifdoesntexist; Tasks: CRInstallation
 
to
 
Filename: msiexec.exe; Parameters: /package {tmp}CRXI_5_RDC_Redistribution.msi /passive /promptrestart; WorkingDir: {tmp}; Flags: skipifdoesntexist; Tasks: CRInstallation
 
The file is not installing... then recreate the script. This should do the trick.
 
I have made the change in the latest update of InnoScript to handle this.

pepsisc

Didn't realize you want it.  Here it is:
project
UltimateSportsPool.pjt (3.0 k)


pepsisc

Randem:
 
I got the Virtual PC working. Installed and executed Sports307Release.exe
 
I still have the 339 Error Posted on Wednesday, December 24, 2008 - 04:23 am:

pepsisc

Randem:
 
Sports307Release.exe has been uploaded via FTP.My Virtual PC is giving me a problem so I need to go over a friends to run this. If I don't here from you on Sunday, I will go over my friends , run it and let you know the result.
 
Thanks,
Sam

Randem

You probably added the file using a template that you did not need to use - D:Data2008FootballCR XI 5 RDC Redistribution.tpl
 
You don't need this template. InnoScript handles this automatically. Remove the template then reselect the CR file from the drop down list. Your script is missing a whole section because of this. Re-run InnoScript and recompile, you should be ok then.  
 
Run this installation in your Virtual PC and upload the installation to the FTP site.

pepsisc

Randem:
 
I wanted to get back to you and let you know what is happening.
 
First, I changed the References in my VB6 application. I am now using:
-Crystal ActiveX Report Viewer Library 11.5
-Crystal ActiveX Designer Design and RunTime Library 11.5
-Crystal Report ActiveX Designer Runtime Library 11.5
 
I then had to redo my form that contained the CRViewer. VB would not allow me to remove CRviewer 11.0 because it was already in use.
 
After recompiling the application:
In my application file, I renamed:CRXI_RDC_REDISTRIBUTION.MSI to CRXI_5_RDC_REDISTRIBUTION.MSI
and then ran InnoScript (no errors) and then InnoSetup - there was a fatal error. It was looking for: CRXI_RDC_REDISTRIBUTION.MSI
I don't know where that reference came from so what I did was to keep a copy of CRXI_RDC_REDISTRIBUTION.MSI ( and CRXI_5_RDC_REDISTRIBUTION.MSI) in the same directory. The contents of the files are the same, just different file names.
 
I reran InnoScript and InnoSetup, no errors. AT this point I went to my other PC to run Virtual PC. I am having a problem with that system. All of a sudden it is not recognizing the CD drive. That's my problem but I wanted to get the above info to you. Here are the iss and project files.
project file
UltimateSportsPool.pjt (3.1 k)

Randem

Just rename crxi_rdc_redistribution.msi to crxi_5_rdc_redistribution.msi or you can re-download it from the website.
 
BTW: Post your new script.

pepsisc

Randem:
ALMOST THERE.
 
I used the 11.5 references in my VB application.
Reran InnoScript (Build 19), FOUND NO ERRORS
I saw you had BUILD 20 available. downloaded that and reran InnoScript (Build 20) FOUND 1 ERROR on the following line.
Source: crxi_5_rdc_redistribution.msi; DestDir: {tmp}; Flags:  deleteafterinstall ignoreversion nocompression; Tasks: CRInstallation
 
Where do I find crxi_5_rdc_redistribution.msi? I did a search on my system and came up with no files found.
 
Sam

Randem

Yes, Install the CR msi (the one you are deploying) file on your development system then open the vb project and re-reference the CR objects to the 11.5 version then recreate the script.

pepsisc

Yes, I got your FTP. I see you are deploying a different version than you are developing with. You cannot do that. The CLSID's are different. You are developing with version 11.0 and are deploying 11.5. You need to develop with the same version you are deploying. Either you install the msi for 11.5 on your development machine or deploy 11.0 with your installation.  
 
Randem: I understand what you are saying but I don't know how to fix the problem. Can you help me with this?
 
Sam

Randem

I did some snooping and your script looks like this
 
Filename: regsvr32.exe; Parameters: /s {code:LogFileName|crviewer.dll}; WorkingDir: {code:GetCLSIDFldr|!FB992564-9055-42B5-B433-FEA84CEA93C4@\b.0}; StatusMsg: Registering crviewer.dll; Tasks: CRInstallation
 
Filename: regsvr32.exe; Parameters: /s {code:LogFileName|craxddrt.dll}; WorkingDir: {code:GetCLSIDFldr|!7E13E2D0-CB87-45BB-B173-32A20A8B7CCF@\b.0}; StatusMsg: Registering craxddrt.dll; Tasks: CRInstallation
 
Filename: regsvr32.exe; Parameters: /s {code:LogFileName|craxdui.dll}; WorkingDir: {code:GetCLSIDFldr|!BD4B4E53-F7B8-11D0-964D-00A0C9273C2A@\b.0}; StatusMsg: Registering craxdui.dll; Tasks: CRInstallation
 
Filename: regsvr32.exe; Parameters: /s {code:LogFileName|craxdrt.dll}; WorkingDir: {code:GetCLSIDFldr|!EFA3761F-4265-4464-A2DE-519B8E7E34ED@\b.0}; StatusMsg: Registering craxdrt.dll; Tasks: CRInstallation
 
The CLSID's should be as follows:
 
crviewer.dll - {F62B9FA4-455F-4FE3-8A2D-205E4F0BCAFB}\b.5
craxddrt.dll - {4FB2D832-C996-4EB1-BE0D-4DE953CF25F0}\b.5
craxdui.dll -  
craxdrt.dll - {91FDA5AF-C945-4DDC-8C32-29A790CF16F0}\b.5