Compile errors, future plans

Started by Randem, January 31, 2013, 04:43:22 PM

Previous topic - Next topic

Randem

Here is an pre release of InnoScript with the new change for .NET 4.5. You will need to replace the InnoScript.exe and the template file with the ones in the zip file. The template file is in \Users\YOURUSERNAME\AppData\Local\Randem Systems\InnoScript\Release\Templates
 

Randem

If you want to install .NET 4.5 instead of the default .NET 4.0 you will need to do one of the following:
 
1 - Change all references of dotnet40 (or anything similar) to 45 and rename your file to dotnetfx45.exe (This requires retesting of all code and procedures etc...)
 
OR
 
2 - Just change the file name to dotnetfx40.exe and leave everything in the script the same. This is not the best but the simplest, however the install will only check for .NET 4.0 to be installed not 4.5
 
The next version will implement .NET 4.5 installation but it is not ready for release yet.

ralph


Randem

Aloha Ralph,
 
If you want Inno Setup to compile a different version of ANY other than the one that is included in the script; you have to change the name of the file in the script to use it. If you are using CR 13_0_1 and you want 13_0_5 installed you have to change the script from 13_0_1 to 13_0_5.
 
The same would go for any .NET files.
 
Cannot read your script file. Please zip it then re-upload it.

ralph

I now have my project in VB 2012, using the latest version of Crystal Reports Version for Visual Studio and also Net 4.5.  I am beginning to work on the installer and have a couple of questions before I get too far.  
 
I have attached the iss file. This is script from immediately after pointing to the project file with no further changes or additions. If you want any additional files, just let me know.
 
Regarding Crystal Reports, I have downloaded CRRuntime_32bit_13_0_5.msi and placed it in the same directory as the ...13_0_1.msi file. This directory is in the search path for your program. I see that the the script still references 13_0_1.msi file, so I am wondering if the script file needs to be changed to reference the 13_0_5.msi file, or if any other changes need to be made.
 
Regarding net 4.5, I have downloaded dotnetfx45_full_x86_x64.exe and also included it in the same directory in the search path.  The script for course reflects my selection of Net 4 when setting the parameters in your program.  Can you suggest some script code mods to accomodate
net 4.5, or what else can be done?
Thanks Ralph
 

Randem

I did some research and it seems that CR VS 2012 (CR 13 SP5) is just a service pack to CR VS 2010 (CR 13 SP1). You can find all the Service Packs for version 13 here at: http://scn.sap.com/docs/DOC-7824

Randem

Glad all has worked out. Yes, commenting out the second section was the correct thing to do. The code should not be in there twice unless there is another template in your project with the same code in it.
 
You always have a clean OS to test on. Either use Microsoft's Virtual PC 2007 SP1 or Oracle's VM VirtualBox (which supports Windows 8) to create clean OS's to test upon.
 
InnoScript supports up to CR 13 SP1 (2010) but we will check into CR 2012 for the next version release.

ralph

My  Visual Studio 2010 application is in  written in VB - WPF.  It uses Crystal Reports 13. The new Inno installer for it has been tested on Windows 7, Vista and XP virtual nachines.  It appears to work well in each, for install and uninstall.  I have also tested the install on my Windows 8 computer, and that works too, though I do not have a clean install to test it on.  Thank you for your good product.  
 
During the compile in Inno Setup, I received two error messages:
 
Duplicate identifier 'LOGFILENAME'
 
And
 
Duplicate identifier 'GETCLSIDFLDR'
 
The Code Section included these functions twice.  I commented lines so that one copy of each function remained. Then the compile completed. Hopefully this was the correct thing to do.
 
Over the next several months, I intend to develop a version of my program in Visual Studio 2012 that uses the new release of Crystal Reports for Visual Studio 2012,  I hope you will be updating your package to accomodate this.  
 
Ralph