Hi there..
The script generation is excellent.. i am using VB6 CR11
Here was the script generated
; InnoScript Version 6.0 Build 3
; Randem Systems, Inc.
; Copyright 2003-2007
; website: https://randemsystems.com (https://randemsystems.com)
; support: https://randemsystems.support (https://randemsystems.support)
; Date: March 08, 2007
; VB Runtime Files Folder: C:\Program Files\Randem Systems\InnoScript\InnoScript 6.0\VB 6 Redist Files\
; Visual Basic Project File (.vbp): D:\Project\eAIMS\eAIMS.vbp
; Inno Setup Script Output File (.iss): C:\innopack\proj.iss
; ------------------------
; References
; ------------------------
; Osen Kusnadi
CR is a strange animal to say the least. Check on the CR help to see what files it recommends. The Merge Modules are only for one type of installer. Check the files that are supposed to be in the Merge Modules to see if they appear in the script.
If you notice some files that are not in the script you can create a template file for CR11 to be used just like the merge modules for each time you generate a project with CR11.
I will look on their site also. Let me know what you find.
I looked at the BO site and BO about sums it up... They are tieing themselves to the MS installer and made it oh so complicated.
I looked at their forums and have seen all the problems they have and will not address reguarding CR XI. They don't even answer threads of users who have problems... How is that for support? We will stick to CR 8.5 for our reports...
It seems that they are moving to server based report generation so deployment will be even more costly. I believe they will take are taking a good product and will kill it with the direction they are going.
While compiling the script in innoscript.. i do get this error :
(https://randemsystems.support/discus/messages/12/983.gif)
Anything related to it perhaps??
Hey.. i get 1 more error during compile in innosetup
Warning: Unsafe flag usage on file crdeploy.reg: The ignoreversion flag should not be used on files installed to the Windows System directory ({sys}).
*** Finished. [8:21:00 PM, 00:48.766 elapsed]
Anything to be done about it???
Just remove the ignoreversion flag from the line. You can do it automatically by creating a template (in InnoScript) with the correction or just remove it manually. You can also change the destination location of where it is deployed or leave it as is. It is just a warning.
About the error on your prior post I would need to see the debug and run logs to see what file it is complaining about. You would need to zip them and post them at the time of there run.
Attached
It seems to be complaining about a file named RPCRT4.dll. Please zip and upload this file and I will run some tests.
done
Just a suggestion.. u can get a better forum with more features.. IBP.. vbulliten etc..
Thanks, but we actually don't need more features. We want to keep it very simple here... I will look at the file.
rpcrt4.dll is an unsafe file that should be removed by InnoScript, so I don't think that is the case.
Can you duplicate the error? Since this error message is given by the OS InnoScript doesn't know about it. What happens when you get this error? DO you just press OK and InnoScript continues?
yes.. it continues..
every time i run innoscript on my project.. error comes.. i click ok and it continues
The msvcr80.dll has rpcrt4.dll associated with it. Are you using CR XI or CR X?
Can you zip and send me msvcr80.dll
CR 11 developer edition
You can eliminate all the CR files and include the merge modules from the site at https://randemsystems.com/innoscript// (https://randemsystems.com/innoscript//) It's the way CR want's it deployed. It's a whopping 67mb.
There is a template file that you can just add to InnoScript and change the locations of the MSI file supplied.
OK, It's the msvcr80.dll file that is causing the error. Since the OS subsystem handles that error it does not return an error to InnoScript and InnoScript continues normally. There is no problem with the script it generates for that file cannot be registered.
We will see if we can eliminate the error, but all else is well.
I have downloaded the zip CR file..
But how do i use it?? can u give step-to-step instruction.. new to it.. it has a MSI and a TPL file.. Please guide here how to add it in the script and remove CR DLL as u suggested in the previous post..
Also i dont know what a template is and how to use it..
TOTAL N00B.. sorry
Also What are these options and what do they do exactly in ur innoscript
1) Auto OS updater
2) ISTool
3) Minimum Windows Ver
4) Minimum NT Version
5) NT Service pack..
WHat all do i need to choose??
the C runtime Error is gone in the new version
To us it just put the template file in the template folder of InnoScript then change the source location in the template file to the location of where you stored the msi file.
Select view->templates from the menu and select the template file. The msi file will be included in your script at next generation. All the CR files that are in your script now can be added to the UNSAFE file list so that they will be removed from the script at next generation. That should be it.
Yes, we took care of the error in the new version. Did you read the Version History from the support site?
For the other parameters it is better explained in the manual.
this is the script generated when i choose tempelate script
; InnoScript Version 6.0 Build 4
; Randem Systems, Inc.
; Copyright 2003-2007
; website: https://randemsystems.com (https://randemsystems.com)
; support: https://randemsystems.support (https://randemsystems.support)
; Date: March 10, 2007
; VB Runtime Files Folder: C:\Program Files\Randem Systems\InnoScript\InnoScript 6.0\VB 6 Redist Files\
; Visual Basic Project File (.vbp): D:\Project\eAIMS\eAIMS.vbp
; Inno Setup Script Output File (.iss): C:\pack2\New2.iss
; Script Template Files (.tpl): C:\CRXI_RDC_Redistribution\CR XI RDC Redistribution.tpl
; ------------------------
; References
; ------------------------
; Visual Basic runtime objects and procedures - (MSVBVM60.DLL)
; OLE Automation - (STDOLE2.TLB)
; Osen Kusnadi
Just for ur info
I was also testing compilation with Microsoft Visual Studio Installer 1.1
I added MSM files of CR11 in them and did some code changing in my Vb Prog
The error is gone and package is working 100%...
So awaiting your answer for the above question so that i can compile from ISS and test and tell u the result..
BTW MVS Installer has made the package 100 MB with the MSM files
I have added the CR redisturb file and OS updater in the ISS and i think this package will also goto 100 MB approx..
This line is unneeded if you use the template
Source: C:\CRXI_RDC_Redistribution\*.*; DestDir: (app)\CRXI_RDC_Redistribution; Flags: ignoreversion
You also need to either change the template to match where you have stored the msi file or place the msi file where the template expects it.
It looks like you pull all your CR files from e:\pack\support, c:\program files\common files\business objects\3.0\bin\ and c:\program files\common files\business objects\3.0\crystalreportviewers11\activexcontrols\
I would place all those filenames in the unsafe file list so that you do not need to remove them on future runs.
You may also want to deploy the AutoOSUpdater for MDAC support. If you do you can remove the DAO350.dll from your script.
Post your debug and run scripts. I want to take a look at them.
BTW: You can distingus=ish which files are for CR by looking at the Components and Reference section for entries such as this:
; Crystal Reports ActiveX Designer Run Time Library 11.0 - (CRAXDRT.DLL)
Then looking in the debug log for the dll mentioned CRAXDRT.DLL and finding the dependent files for it. If you exclude the repetitive VB and OS files you will have the CR files.
Ok I have attached the debuglog,errorlog,ISS script...
But I am having some problems.. I have the CR MSI and the autosetup XP in a folder called c:\tmp ..
So in script
1) [Files]
Source: ..\CR XI Merge Module Installation\out\CRXI_RDC_ReDistribution.MM\MSI\CRXI_RDC_Redistribution.msi; DestDir: {tmp}; Flags: nocompression ignoreversion deleteafterinstall
Why is it takeing like this ??
2) Source: e:\server data\randem\develop\vb 6 redist files\
Why is it taking this source?? does not exist at all..
i have done uninstall and reinstall of innoscript.. still taking the same source..
I have mentioned the c:\tmp in the sourcepath.. its taking the CR MSI easily from it
It is taking it from there because you did not change the template as suggested. If you use c:tmp then your source line in the template file should look like this:
Source: c:tmpCRXI_RDC_ReDistribution.MMMSICRXI_RDC_Redistribution.msi; DestDir: {tmp}; Flags: nocompression ignoreversion deleteafterinstall
If you did not edit the templates to reflect where the files are located on your system they cannot be found. The template is just an example that you need to modify to your computer's files locations.
It is a mistake to use the Add Folder selection to add files if you are using the template to add the same files.
anyways i have fixed all these and created a installer..
lets see.. it will take me a few days to get a pure XP system without CR and VB and i will try to install there and tell u the result..
You should think about using VMWare to test installations. You can create a Virtual Machine on your machine for any OS that you want. All you have to do each time you want a clean machine is unzip the installation that you saved of the clean machine.
http://www.vmware.com (http://www.vmware.com)
You could maintain several different OS's in that fashion for testing.
Post your final script
here..
checking vmware.. had heard about it sometime ago.. lemme see
The script looks good and compact. You can even take out the VBRuntime files only if you include the AutoOSUpdater. It installs the VBRuntime files also.
dont know
something wrong with the Virtual Machine.. gives error activex could not create object runtime 429..
should have meed MDAC error.. i installed the OS update pack manually also still same error.. looks like i will have to recheck on a proper machine
on the same script above when i compile and run the script i get the following error.. done this couple of times on actual and virtual XP.. still same error... but if i run the MSI manually it works fine..
(https://randemsystems.support/discus/messages/12/1005.gif)
Change your [Run] Section to look like this for the msi file. Do this in your template also.
Filename: msiexec.exe; Parameters: /package {tmp}CRXI_RDC_Redistribution.msi /passive; WorkingDir: {tmp}; Flags: skipifdoesntexist
ok
that error is fixed.. but still the 429 error exists.. there HAS to be some issue with DLL registering.. of VB ..
u have messenger for faster solution ??
How is a faster solution going to be gotten with messenger. That is what this support board is for.
On what file do you get the error 429?
ok figured it out
I had to manually register dao350.dll to fix it from system32 folder
so whats the solution?? should i add it to the script??
If that fixed it then yes. You need to include the register flags also. That file should have been included with the AutoOSUpdater installation unless that is DAO360.dll.
i bought version 2 days ago receive licence info : Enter all info an keep briing the registration screen again and again and again
solution please !!!!!!!!!
Did you enter all four items exactly as given. Case sensitive? What was the name your registered under I will double check it.
BTW: You should start your own thread not hi-jack anothers
Lucas,
New codes sent. Sorry for the inconvenience...