Randem:
Using the same .vbp, I created 2 install rouitnes.
One using VB's Package and Deployment Wizard and the other using InnoScript(and then InnoSetup).
The vb application calls some reports that were written using Crystal Reports XI Developer Edition.
Here is what happened:
When I installed the InnoScript version and ran the application, everything worked fine until I accessed the Reports. The application error terminated on ActiveX error 429.
I then uninstalled the application and re-installed it using the Package & Deployment install. The application INCLUDING the reports worked fine.
The above test was done on a friends system. He does not have VB or Crystal Reports installed.
Two questions for you:
1. Would you help me resolve this problem?
2. Is there anything I can do to help resolve this problem?
I am sending 2 files: one is the .iss file created by InnoScript; the other Setup.lst is the setup file created by the Package and Deployment Wizard.
Thanks,
Sam
Setup.lst file
SETUP.LST (https://randemsystems.support/index.php?topic=1.0) (12.3 k)
It looks like you are doing the same exact thing again. You are using CR 11.5 and deploying CR 11. Download and use the CR 11.5 installation.
I used the CR 11.5 installation and everything worked just fine...
Randem:
I am confused on what you are telling me when you stated You are using CR 11.5 and deploying CR 11.
Are you saying in InnoScript, I am using CR 11 and not CR 11.5? Please give me more details.
Thanks,
Sam
In your development project you are using and referencing CR 11.5 but in your script you are deploying the installation for CR 11. They will not work that way. You will have to deploy the same exact version of CR you are using in your development.
If I remember correctly, when you updated InnoScript, you told me to use CR 11.5 files. I did and you so confirmed. The problem I hear you stating is I am using the wrong files in Innoscript. What are the correct files? Aren't they added via the Template? I am using CR XI 5 RDC Redistribution.tpl
Please be specific -- what file, what directory, what template.
Sam
In your script you used a template to change the file that InnoScript would regularly use. It changed the file to Filename: msiexec.exe; Parameters: /package {tmp}CRXI_RDC_Redistribution.msi /passive; WorkingDir: {tmp}; Flags: skipifdoesntexist
Instead the file should read as CRXI_5_RDC_Redistribution.msi. Remove the template from the script an let InnoScript Place the file in. In the files section you have both files included
Source: d:Data2008FootballCRXI_RDC_Redistribution.msi; DestDir: {tmp}; Flags: nocompression ignoreversion deleteafterinstall
Source: d:data2008footballcrxi_5_rdc_redistribution.msi; DestDir: {tmp}; Flags: deleteafterinstall ignoreversion nocompression; Tasks: CRInstallation
Then in the [Run] section, you proceed to remove the 11_5 file and replace it with the 11 file
Filename: msiexec.exe; Parameters: /package {tmp}CRXI_RDC_Redistribution.msi /passive; WorkingDir: {tmp}; Flags: skipifdoesntexist
Remove the CR_11 template you added. It is very old and has not been updated and isn't supported anymore...
Randem:
I removed the CR11 template. I also checked the listing to see if there where any CRXI_RDC files.
There were none. All the CRXI files started with CRXI_5.
Ran the application. When accessing the CR reports, getting an Error 339 on the CRviewer file,
Upload your app to the FTP server. I will take a look. In the mean time could you check the log at {app}crmsilog.txt to see if the msi ran at all or what errors existed. Post the log also.
Randem:
I am having a problem creating the LOG file. START-->RUN-->D:Data2008FootballOutputSports404Release.exe /log: C:tempUSP.log
It is not creating the log file and is causing the system to reboot.
Your request for me to UPLOAD the app--DO you just want the VBP file?
Sam
No I want the installation file - Sports404Release.exe
I will look at this. Please upload it.
The FTP was sent.
Can you tell me what's wrong with my LOG? It's not creating the LOG and causing the system to reboot.
I am having a problem creating the LOG file. START-->RUN-->D:Data2008FootballOutputSports404Release.exe /log: C:tempUSP.log
Since you are using InnoScript, there is also a default log created in your profile temp folder. I have downloaded your installation and will take a look.
The CR installation is not completing. Try this remove
/l* {app}crmsilog.txt
from the CR installation line in the run section then try it. The line should then read:
Filename: msiexec.exe; Parameters: /package CRXI_5_RDC_Redistribution.msi /passive /promptrestart; WorkingDir: {tmp}; Flags: skipifdoesntexist; Tasks: CRInstallation
I have looked at your script and it is identical to the one I made that works in the [Run] section, but somehow yours does not work and mine does. Are you sure you are using the same script you posted to create the installation? That would seem to be the only way I see that this could happen...
Zip and Upload your whole project on the FTP site so that I can create the installation on this side. Only zip up the files that are included in the installation not the source. But I do need the vbp file also.
I have verified that the script you posted was not used to create that installation you sent. What I did was take your script that you had posted and used the files that were installed by your installation to create an installation and guess what??? it worked with no problems!!! With your script just the way it was...
I am uploading the installation I created...
I don't understand how that could be. These are the steps I am taking.
-In the VB app, I change the Project Version.
-Create a New exe and save the VBP.
-in InnoScript, Click on Create Script and then InnoSetup.
Using the Release.exe file created in the Directory called Output, I install the app.
Sam
Can please Upload it again and Change the name of the file. I think I may have accidentally deleted it.
Thanks,
Sam
Already done...
Looking at the FTP area, I have 2 Sports404Release.exe files. How do I tell the one you did?
You have to look carefully Yours is Sports404Release.exe mines is Sports404RSRelease.exe
Randem:
I started over the InnoScript process from scratch. This is what I did:
- Removed and ReInstalled Crystal Reports from my PC. After the reinstall, the CR About screen said Version 11.5.8.826. I did not install any other CR Updates.
- copied from C:\Program Files\Common Files\Merge Modules to a Directory I called DEP-FILES The files I copied were: CrystalReports11_5_maps.msm
CrystalReports11_5_Net.msm
CrystalReports11_5_Net_2005.msm
CrystalReports11_5_RDC_Designtime.msm
CrystalReports11_5_RDC_License.msm
CrystalReports11_5_RDC_Reportengine.msm
CrystalReports11_5_RDC_Runtime.msm
I also copied ALL the .dep files from c:/windows/system32 to DEP-FILES.
I then went into my VB6 application and verified my Project References. They are:
Crystal Reports ActiveX Report View Library (11.5)
Crystal Reports ActiveX Designer Runtime Library (11.5)
Crystal Reports ActiveX Designer Design and Runtime Library (11.5)
I also changed the Project Version to 4.0.8
Compiled and saved the exe and vbp
Next: I created a NEW project in InnoScript. Used all your defaults except:
-Visual Basic Project File: D:\Data\2009Football\Sports.vbp
-InnoScript Output File: D:\Data\2009Football\Sports408Release.iss
-Crystal Reports XI_5
-Windows Version: Windows XP ( I have XP Professional SP3)
Under ADD FILES: I added the Crystal Report rpt's, my help file (.chm), The program ico (.ico), the database(Sports.mdb) and the vbp file (Sports.vbp).
Under: Search Files: I added the full path of the directory DEP-FILES.
Clicked on: Create Script
Clicked on: InnoSetup-->Build--->Compile--Run.
On my system (I have VB and Crystal Reports installed, program ran fine. On a friend PC, we installed the application. He does not have CR or VB installed. When we went to print the reports,Error Code 339. CLviewer or one of it's dependents..
I am attaching the Project and Iss file. I am going to ftp the DEP-FILES directory.
Please advise.
Thanks,
Sam
Project
NewUSPasof020109.pjt (https://randemsystems.support/index.php?topic=1.0) (3.2 k)
What happened when you ran my installation???
After I accidentally deleted it, I did not see it on the ftp site. Can you upload it again.
Thanks,
Sam
Ok, I re-uploaded it.
Randem:
on MY system not MY friends, I tried to install your upload. I got the following error.
c:DOCUME~1SamLocals~1tempis-I1DBO.tempcrxi_5_rdc_redistribution.msi
An error occurred while trying to copy a file:
The source is corrupted.
Abort/Retry/Ignore
}}
Ok, we are having upload issues with the ISP over here because of the inclement weather approaching... That's a really sucky answer from the ISP... I will keep trying...
Ok, it has been re-uploaded.
Randem:
Thanks for the upload. I wanted to let you know I ran it here on my PC and it worked fine. I sent it to my friend and I am waiting to here from him. Probably be another 2 or 3 hours. I will let you know the results.
Playing Devil's Advocate, my BIG question for you is: What do I do on my system to get it working?
Sam
I really don't know. I used your script with your files. The only file I used differently was the msi file. The way your installation was working was like it was the one that did not like long file names...
Re download the msi file. It's worth a shot.
Randem:
On the East Coast of the Mainland it's 6:30 AM. This morning I had an e-mail from my friend. When he tried to install, he got that corrupt file message I posted below on the Redistribution.msi file.
I'm starting to wonder if he has a problem with his system. Within the next couple days, I'm going to try and test the install (the one I created) on other friends PC's. I will let you know the result.
Again, I appreciate ALL your help on this matter.
Sam
Did you install Virtual PC 2007? You can try it on that, it will be a clean system every time if you reset the vhd. You said you tried it on your system and it worked correct?
If your friend is getting corrupt file messages and you aren't then his download connection is suspect or his system is compromised or something to that effect.
I had a thought, upload the same installation you sent to your friend. If it does not run on my system and it runs on yours... It may be your upload process in which the problem lies...
Randem:
Good news for you and me. -I installed the app on another friends system (Windows XP Professional SP?). I used my script in Innoscript and created a new Install. It worked.
I found out from this other guy (the system I have been trying) that he tried to install VB2008. I'm wondering if that caused a conflict? Do you have any thoughts on that?
As far as I am concerned, I think my immediate problem is solved. If you would like to continue with it possibly to resolve an unknown problem, I will be glad to work with you.
Sam
VB2008 would have no effect on making a corrupt file...