Error that is causing InnoScript to crash

Started by randem, January 18, 2008, 11:12:55 AM

Previous topic - Next topic

spick56

OK, I think that's basically it for me on this thread.
Thanks a lot for all your assistance and at times patience.
 
Cheers,
    Michael

Randem

Ok, If Inno Setup is complaining that mscoree.dll is an unsafe file then moving it will not matter, it should not be deployed. Place that file into the unsafe file list for InnoScript and then it will not be included in the script. I was assuming that you were stating the message was about being deployed from the system area. Each of those message are important and will decide the upcoming action. That is why I ask for the exact message...
 
It's ok to ask question... Not a problem.

spick56

OK that worked, I was able to install the package.
 
Just a final question (I promise) regarding mscoree.dll. When I compile the script I still get the Unsafe file detected error.
You keep telling me to that The mscoree.dll error will still happen until you tell InnoScript where to find the file but as you can see in the script below that I do tell it to where to find that file, i.e. in c:usersmichaeldocumentsvisual studio 2005commonfiles folder but that is still not OK.
 
When you say ... where to find the file are you referring to the Search Folders or something else, what am I missing here?
 
/Michael
 
 
[Files]
Source: c:usersmichaeldocumentsvisual studio 2005projectsproject paltmp applicationsinvoicemaker - 2bindebuginvoicemaker.exe; DestDir: {app}; Flags:  restartreplace ignoreversion;  
Source: c:program filesmicrosoft visual studio 8reportviewermicrosoft.reportviewer.common.dll; DestDir: {sys}; Flags:  ignoreversion;  
Source: c:program filesmicrosoft visual studio 8reportviewermicrosoft.reportviewer.winforms.dll; DestDir: {sys}; Flags:  ignoreversion;  
Source: c:usersmichaeldocumentsvisual studio 2005commonfilesmscoree.dll; DestDir: {sys}; Flags:  ignoreversion;

Randem

You did not get a complete download. You should re-download the software. It is 5.2mb...

spick56

Sorry to be pain again but after I downloaded Build 6 and tried to open the file I got a message saying that Windows cannot open the folder. The Compressed (zipped) Folder ..... is invalid.
 
I also noticed file size to be 3.78 MB whereas previous versions were just over 5.2 MB.
 
/Michael

Randem

Thanks for the update. I will check out the installation on a clean Vista installation and let you know what I find.

spick56

Sorry to be a pain again but after installing IS and running it I got the following error:
 
Run-time error 429.
ActiveX component can't create object
 
/Michael

spick56

Thanks for the new package, I've just downloaded it and will give it a go. I'll let you know of any issues.  
 
/Michael
 
P.S. You have a typo in the Build 5 link, it points to https://randemsystems.com/scripts/downloadit.php?filename=InnoScript803Release.zip.  
I changed the value in my browser to InnoScript805Release.zip to download it.

Randem

The new version is on the site not posted here. All those issue have been corrected in the released version.
 
The mscoree.dll will still happen until you tell InnoScript where to find the file.

spick56

No problems, I see it as helping you help me.  
 
I've just downloaded the package from your 2nd last post and installed it (after uninstalling the previous one),  
leaving the 'Launch InnoScript' checked and got the following message:
Unable to execute file:
C:\Program Files\Randem Systems\InnoScript\InnoScript 8\InnoScript.exe
 
CreateProcess failed; code 740.
The requested operation requires elevation.
 
I clicked OK and was then able to launch IS without any problems through the Start menu.  
I also noticed the same thing happen earlier today but didn't want to distract you.
 
- The Run-time error '5' on clicking .Net Framework checkbox and compiling several times appears to be still there.
- The dotnetfx.exe Parameters syntax is now OK (no errors).
- The unrecognized parameter name // error in [Run] still happens if DotNET.tpl template is checked.
- If I uncheck DotNET.tpl template line then Unsafe file detected: MSCOREE.DLL error still happens.
 
/Michael
 
P.S. I got the impression from your last post that you may in fact have a more recent version than that in your 2nd last post!!!

Randem

I just release a new version. It also takes care of the index problem with the .Net Framework clicking.
 
Thanks for reporting the problems and working for the solution. InnoScript would not be as good as it is without users like you who help work thru the problems.

Randem

BTW: You will have to uninstall the other version for this one to work properly.

Randem

Here is a new installation that will take care of a few of those issues.
 

spick56

I've tried your suggestion and it works but then fails on line 59, please see attachment.
 
When I comment out line 59 it then complains about line 53, because I've unchecked DotNET.tpl template. If I leave DotNET.tpl checked then I get some // commented lines which (again) Inno Setup complains about. I assume DotNET.tpl is included because I have .net Framework option checked. Correct?
 
/Michael
 

spick56

Sorry I missed your question on Crystal Reports.
At this stage I don't plan to use Crystal Reports, those references must have been left behind as I tried something with Crystal Reports earlier on.
 
I'm actually using this 'InvoiceMaker' project for experimenting with new functions before deciding whether or not to incorporate them into my real project.
 
/Michael
 
(Message edited by spick56 on January 18, 2008)