Randem Systems Support Board

InnoScript => InnoScript - General Questions, Report Bugs, Problems etc... => Topic started by: pepsisc on January 29, 2009, 06:32:37 AM

Title: InnoScript vs VB Package and Deployment Wizardfine until
Post by: pepsisc on January 29, 2009, 06:32:37 AM
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)
Title: InnoScript vs VB Package and Deployment Wizardfine until
Post by: Randem on January 29, 2009, 12:39:59 PM
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...
Title: InnoScript vs VB Package and Deployment Wizardfine until
Post by: pepsisc on January 29, 2009, 01:28:12 PM
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
Title: InnoScript vs VB Package and Deployment Wizardfine until
Post by: Randem on January 29, 2009, 01:31:23 PM
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.
Title: InnoScript vs VB Package and Deployment Wizardfine until
Post by: pepsisc on January 30, 2009, 12:21:15 AM
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
Title: InnoScript vs VB Package and Deployment Wizardfine until
Post by: Randem on January 30, 2009, 06:20:49 AM
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...
Title: InnoScript vs VB Package and Deployment Wizardfine until
Post by: pepsisc on January 30, 2009, 04:10:55 PM
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,
Title: InnoScript vs VB Package and Deployment Wizardfine until
Post by: Randem on January 30, 2009, 04:15:22 PM
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.
Title: InnoScript vs VB Package and Deployment Wizardfine until
Post by: pepsisc on January 31, 2009, 12:47:08 AM
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
Title: InnoScript vs VB Package and Deployment Wizardfine until
Post by: Randem on January 31, 2009, 12:55:20 AM
No I want the installation file - Sports404Release.exe
 
I will look at this. Please upload it.
Title: InnoScript vs VB Package and Deployment Wizardfine until
Post by: pepsisc on January 31, 2009, 02:11:46 AM
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
Title: InnoScript vs VB Package and Deployment Wizardfine until
Post by: Randem on January 31, 2009, 12:06:45 PM
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.
Title: InnoScript vs VB Package and Deployment Wizardfine until
Post by: Randem on January 31, 2009, 12:17:47 PM
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
Title: InnoScript vs VB Package and Deployment Wizardfine until
Post by: Randem on January 31, 2009, 12:37:39 PM
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.
Title: InnoScript vs VB Package and Deployment Wizardfine until
Post by: Randem on January 31, 2009, 01:14:06 PM
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...
Title: InnoScript vs VB Package and Deployment Wizardfine until
Post by: pepsisc on January 31, 2009, 01:29:57 PM
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
Title: InnoScript vs VB Package and Deployment Wizardfine until
Post by: pepsisc on January 31, 2009, 01:34:52 PM
Can please Upload it again and Change the name of the file. I think I may have accidentally deleted it.
 
Thanks,
Sam
Title: InnoScript vs VB Package and Deployment Wizardfine until
Post by: Randem on January 31, 2009, 01:57:24 PM
Already done...
Title: InnoScript vs VB Package and Deployment Wizardfine until
Post by: pepsisc on January 31, 2009, 03:09:55 PM
Looking at the FTP area, I have 2 Sports404Release.exe files. How do I tell the one you did?
Title: InnoScript vs VB Package and Deployment Wizardfine until
Post by: Randem on February 01, 2009, 03:05:23 PM
You have to look carefully Yours is Sports404Release.exe mines is Sports404RSRelease.exe
Title: InnoScript vs VB Package and Deployment Wizardfine until
Post by: pepsisc on February 01, 2009, 03:28:11 PM
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)
Title: InnoScript vs VB Package and Deployment Wizardfine until
Post by: Randem on February 01, 2009, 09:45:52 PM
What happened when you ran my installation???
Title: InnoScript vs VB Package and Deployment Wizardfine until
Post by: pepsisc on February 01, 2009, 11:46:56 PM
After I accidentally deleted it, I did not see it on the ftp site. Can you upload it again.
 
Thanks,
Sam
Title: InnoScript vs VB Package and Deployment Wizardfine until
Post by: Randem on February 02, 2009, 06:12:59 PM
Ok, I re-uploaded it.
Title: InnoScript vs VB Package and Deployment Wizardfine until
Post by: pepsisc on February 03, 2009, 08:08:22 AM
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
}}
Title: InnoScript vs VB Package and Deployment Wizardfine until
Post by: Randem on February 03, 2009, 09:01:04 AM
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...
Title: InnoScript vs VB Package and Deployment Wizardfine until
Post by: Randem on February 03, 2009, 10:06:46 AM
Ok, it has been re-uploaded.
Title: InnoScript vs VB Package and Deployment Wizardfine until
Post by: pepsisc on February 03, 2009, 01:55:33 PM
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
Title: InnoScript vs VB Package and Deployment Wizardfine until
Post by: Randem on February 03, 2009, 08:42:37 PM
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.
Title: InnoScript vs VB Package and Deployment Wizardfine until
Post by: pepsisc on February 04, 2009, 01:49:03 AM
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
Title: InnoScript vs VB Package and Deployment Wizardfine until
Post by: Randem on February 04, 2009, 07:08:21 AM
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.
Title: InnoScript vs VB Package and Deployment Wizardfine until
Post by: Randem on February 04, 2009, 07:25:12 AM
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...
Title: InnoScript vs VB Package and Deployment Wizardfine until
Post by: pepsisc on February 04, 2009, 07:59:23 AM
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
Title: InnoScript vs VB Package and Deployment Wizardfine until
Post by: Randem on February 04, 2009, 08:01:39 AM
VB2008 would have no effect on making a corrupt file...